naiveproxy/chrome/services/media_gallery_util/public/cpp/BUILD.gn

58 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//media/media_options.gni")
source_set("cpp") {
sources = [
"media_parser_provider.cc",
"media_parser_provider.h",
"safe_audio_video_checker.cc",
"safe_audio_video_checker.h",
"safe_media_metadata_parser.cc",
"safe_media_metadata_parser.h",
]
deps = [
"//media:media_buildflags",
"//net:buildflags",
"//services/service_manager/public/cpp",
"//third_party/boringssl",
"//third_party/libyuv",
]
public_deps = [
"//chrome/services/media_gallery_util/public/mojom",
]
if (media_use_ffmpeg) {
deps += [
"//third_party/ffmpeg",
"//third_party/ffmpeg:ffmpeg_features",
]
}
}
source_set("browser_tests") {
testonly = true
sources = [
"media_gallery_util_browsertest.cc",
]
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
deps = [
"//base",
"//chrome/test:test_support",
"//testing/gtest",
]
if (media_use_ffmpeg) {
deps += [
"//third_party/ffmpeg",
"//third_party/ffmpeg:ffmpeg_features",
]
}
}