OLD | NEW |
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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 configs += [ | 213 configs += [ |
214 # This target uses the ALLOCATOR_SHIM define. | 214 # This target uses the ALLOCATOR_SHIM define. |
215 "//base/allocator:allocator_shim_define", | 215 "//base/allocator:allocator_shim_define", |
216 "//build/config:precompiled_headers", | 216 "//build/config:precompiled_headers", |
217 "//media:media_config", | 217 "//media:media_config", |
218 "//media:media_implementation", | 218 "//media:media_implementation", |
219 ] | 219 ] |
220 | 220 |
221 if (media_use_ffmpeg) { | 221 if (media_use_ffmpeg) { |
222 sources += [ | 222 sources += [ |
223 "audio_video_metadata_extractor.cc", | |
224 "audio_video_metadata_extractor.h", | |
225 "container_names.cc", | 223 "container_names.cc", |
226 "container_names.h", | 224 "container_names.h", |
227 "media_file_checker.cc", | |
228 "media_file_checker.h", | |
229 ] | 225 ] |
| 226 if (!is_android) { |
| 227 sources += [ |
| 228 "audio_video_metadata_extractor.cc", |
| 229 "audio_video_metadata_extractor.h", |
| 230 "media_file_checker.cc", |
| 231 "media_file_checker.h", |
| 232 ] |
| 233 } |
230 | 234 |
231 deps += [ "//third_party/ffmpeg" ] | 235 deps += [ "//third_party/ffmpeg" ] |
232 } | 236 } |
233 | 237 |
234 if (enable_browser_cdms) { | 238 if (enable_browser_cdms) { |
235 sources += [ | 239 sources += [ |
236 "browser_cdm.cc", | 240 "browser_cdm.cc", |
237 "browser_cdm.h", | 241 "browser_cdm.h", |
238 "browser_cdm_factory.cc", | 242 "browser_cdm_factory.cc", |
239 "browser_cdm_factory.h", | 243 "browser_cdm_factory.h", |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 if (is_posix) { | 535 if (is_posix) { |
532 yasm_flags += [ "-DELF" ] | 536 yasm_flags += [ "-DELF" ] |
533 if (current_cpu == "x64") { | 537 if (current_cpu == "x64") { |
534 # TODO(ajwong): Why isn't this true in mac? | 538 # TODO(ajwong): Why isn't this true in mac? |
535 yasm_flags += [ "-DPIC" ] | 539 yasm_flags += [ "-DPIC" ] |
536 } | 540 } |
537 } | 541 } |
538 } | 542 } |
539 } | 543 } |
540 } | 544 } |
OLD | NEW |