Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Side by Side Diff: media/BUILD.gn

Issue 1862543002: media: Fix gn deps on media/ targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: source_set Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | media/cdm/cdm_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "/DELAYLOAD:mf.dll", 63 "/DELAYLOAD:mf.dll",
64 "/DELAYLOAD:mfplat.dll", 64 "/DELAYLOAD:mfplat.dll",
65 "/DELAYLOAD:mfreadwrite.dll", 65 "/DELAYLOAD:mfreadwrite.dll",
66 ] 66 ]
67 } 67 }
68 if (media_use_ffmpeg && is_android) { 68 if (media_use_ffmpeg && is_android) {
69 defines += [ "DISABLE_FFMPEG_VIDEO_DECODERS" ] 69 defines += [ "DISABLE_FFMPEG_VIDEO_DECODERS" ]
70 } 70 }
71 } 71 }
72 72
73 source_set("cdm_api") {
74 sources = [
75 "cdm/api/content_decryption_module.h",
76 ]
77 }
78
73 component("media") { 79 component("media") {
74 sources = [ 80 sources = [
75 "cdm/aes_decryptor.cc", 81 "cdm/aes_decryptor.cc",
76 "cdm/aes_decryptor.h", 82 "cdm/aes_decryptor.h",
77 "cdm/cdm_adapter.cc", 83 "cdm/cdm_adapter.cc",
78 "cdm/cdm_adapter.h", 84 "cdm/cdm_adapter.h",
79 "cdm/cdm_allocator.cc", 85 "cdm/cdm_allocator.cc",
80 "cdm/cdm_allocator.h", 86 "cdm/cdm_allocator.h",
81 "cdm/cdm_helpers.cc", 87 "cdm/cdm_helpers.cc",
82 "cdm/cdm_helpers.h", 88 "cdm/cdm_helpers.h",
89 "cdm/cdm_wrapper.h",
xhwang 2016/04/13 23:05:41 We should conditionally include these in "media",
jrummell 2016/04/13 23:16:32 Acknowledged.
83 "cdm/default_cdm_factory.cc", 90 "cdm/default_cdm_factory.cc",
84 "cdm/default_cdm_factory.h", 91 "cdm/default_cdm_factory.h",
85 "cdm/json_web_key.cc", 92 "cdm/json_web_key.cc",
86 "cdm/json_web_key.h", 93 "cdm/json_web_key.h",
87 "cdm/key_system_names.cc", 94 "cdm/key_system_names.cc",
88 "cdm/key_system_names.h", 95 "cdm/key_system_names.h",
89 "cdm/player_tracker_impl.cc", 96 "cdm/player_tracker_impl.cc",
90 "cdm/player_tracker_impl.h", 97 "cdm/player_tracker_impl.h",
91 "cdm/supported_cdm_versions.cc", 98 "cdm/supported_cdm_versions.cc",
92 "cdm/supported_cdm_versions.h", 99 "cdm/supported_cdm_versions.h",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 # TODO(wolenetz): Fix size_t to int trunctaion in win64. 227 # TODO(wolenetz): Fix size_t to int trunctaion in win64.
221 # See http://crbug.com/171009 228 # See http://crbug.com/171009
222 "//build/config/compiler:no_size_t_to_int_warning", 229 "//build/config/compiler:no_size_t_to_int_warning",
223 ] 230 ]
224 all_dependent_configs = [ ":media_dependent_config" ] 231 all_dependent_configs = [ ":media_dependent_config" ]
225 232
226 allow_circular_includes_from = [] 233 allow_circular_includes_from = []
227 cflags = [] 234 cflags = []
228 libs = [] 235 libs = []
229 defines = [] 236 defines = []
230 deps = [] 237 deps = [
238 ":cdm_api",
239 ]
231 240
232 include_dirs = [ "." ] 241 include_dirs = [ "." ]
233 if (media_use_ffmpeg) { 242 if (media_use_ffmpeg) {
234 deps += [ "//third_party/ffmpeg" ] 243 deps += [ "//third_party/ffmpeg" ]
235 sources += [ 244 sources += [
236 "ffmpeg/ffmpeg_common.cc", 245 "ffmpeg/ffmpeg_common.cc",
237 "ffmpeg/ffmpeg_common.h", 246 "ffmpeg/ffmpeg_common.h",
238 "filters/audio_file_reader.cc", 247 "filters/audio_file_reader.cc",
239 "filters/audio_file_reader.h", 248 "filters/audio_file_reader.h",
240 "filters/blocking_url_protocol.cc", 249 "filters/blocking_url_protocol.cc",
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 fuzzer_test("media_vp9_parser_fuzzer") { 834 fuzzer_test("media_vp9_parser_fuzzer") {
826 sources = [ 835 sources = [
827 "filters/vp9_parser_fuzzertest.cc", 836 "filters/vp9_parser_fuzzertest.cc",
828 ] 837 ]
829 deps = [ 838 deps = [
830 ":media", 839 ":media",
831 "//base", 840 "//base",
832 ] 841 ]
833 libfuzzer_options = "filters/vp9_parser_fuzzertest.options" 842 libfuzzer_options = "filters/vp9_parser_fuzzertest.options"
834 } 843 }
OLDNEW
« no previous file with comments | « no previous file | media/cdm/cdm_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698