| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 "video_util.cc", | 253 "video_util.cc", |
| 254 "video_util.h", | 254 "video_util.h", |
| 255 "wall_clock_time_source.cc", | 255 "wall_clock_time_source.cc", |
| 256 "wall_clock_time_source.h", | 256 "wall_clock_time_source.h", |
| 257 "yuv_convert.cc", | 257 "yuv_convert.cc", |
| 258 "yuv_convert.h", | 258 "yuv_convert.h", |
| 259 ] | 259 ] |
| 260 | 260 |
| 261 allow_circular_includes_from = [] | 261 allow_circular_includes_from = [] |
| 262 defines = [] | 262 defines = [] |
| 263 public_deps = [] | 263 public_deps = [ |
| 264 "//ppapi/features", |
| 265 ] |
| 264 deps = [ | 266 deps = [ |
| 265 "//base/third_party/dynamic_annotations:dynamic_annotations", | 267 "//base/third_party/dynamic_annotations:dynamic_annotations", |
| 266 "//gpu", | 268 "//gpu", |
| 267 "//media:media_features", | 269 "//media:media_features", |
| 268 "//media:shared_memory_support", | 270 "//media:shared_memory_support", |
| 269 "//skia", | 271 "//skia", |
| 270 "//third_party/libyuv", | 272 "//third_party/libyuv", |
| 271 "//ui/events:events_base", | 273 "//ui/events:events_base", |
| 272 "//url:url", | 274 "//url:url", |
| 273 ] | 275 ] |
| 274 libs = [] | 276 libs = [] |
| 275 configs += [ ":base_config" ] | 277 configs += [ ":base_config" ] |
| 276 | 278 |
| 277 if (media_use_ffmpeg) { | 279 if (media_use_ffmpeg) { |
| 278 if (!is_android) { | 280 if (!is_android) { |
| 279 sources += [ | 281 sources += [ |
| 280 "audio_video_metadata_extractor.cc", | 282 "audio_video_metadata_extractor.cc", |
| 281 "audio_video_metadata_extractor.h", | 283 "audio_video_metadata_extractor.h", |
| 282 "media_file_checker.cc", | 284 "media_file_checker.cc", |
| 283 "media_file_checker.h", | 285 "media_file_checker.h", |
| 284 ] | 286 ] |
| 285 deps += [ "//media:filters_common" ] | 287 deps += [ "//media:filters_common" ] |
| 286 } | 288 } |
| 287 | 289 |
| 288 deps += [ "//third_party/ffmpeg" ] | 290 deps += [ "//third_party/ffmpeg" ] |
| 289 } | 291 } |
| 290 | 292 |
| 291 if (is_android) { | 293 if (is_android) { |
| 292 public_deps = [ | 294 public_deps += [ |
| 293 "//media/base/android", | 295 "//media/base/android", |
| 294 "//media/base/android:media_jni_headers", | 296 "//media/base/android:media_jni_headers", |
| 295 ] | 297 ] |
| 296 allow_circular_includes_from += [ "//media/base/android" ] | 298 allow_circular_includes_from += [ "//media/base/android" ] |
| 297 } | 299 } |
| 298 | 300 |
| 299 if (is_linux && use_x11) { | 301 if (is_linux && use_x11) { |
| 300 configs += [ | 302 configs += [ |
| 301 "//build/config/linux:x11", | 303 "//build/config/linux:x11", |
| 302 "//build/config/linux:xext", | 304 "//build/config/linux:xext", |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 configs += [ | 452 configs += [ |
| 451 "//build/config/compiler:no_size_t_to_int_warning", | 453 "//build/config/compiler:no_size_t_to_int_warning", |
| 452 "//media:media_config", | 454 "//media:media_config", |
| 453 ] | 455 ] |
| 454 deps = [ | 456 deps = [ |
| 455 ":test_support", | 457 ":test_support", |
| 456 "//base/test:test_support", | 458 "//base/test:test_support", |
| 457 "//gpu/command_buffer/common", | 459 "//gpu/command_buffer/common", |
| 458 "//media", | 460 "//media", |
| 459 "//media/base/android:anywhere_unittests", | 461 "//media/base/android:anywhere_unittests", |
| 462 "//ppapi/features", |
| 460 "//skia", | 463 "//skia", |
| 461 "//testing/gmock", | 464 "//testing/gmock", |
| 462 "//testing/gtest", | 465 "//testing/gtest", |
| 463 ] | 466 ] |
| 464 | 467 |
| 465 # Even if FFmpeg is enabled on Android we don't want these. | 468 # Even if FFmpeg is enabled on Android we don't want these. |
| 466 # TODO(watk): Refactor tests that could be made to run on Android. | 469 # TODO(watk): Refactor tests that could be made to run on Android. |
| 467 if (media_use_ffmpeg && !is_android) { | 470 if (media_use_ffmpeg && !is_android) { |
| 468 sources += [ | 471 sources += [ |
| 469 "audio_video_metadata_extractor_unittest.cc", | 472 "audio_video_metadata_extractor_unittest.cc", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 587 |
| 585 fuzzer_test("media_container_names_fuzzer") { | 588 fuzzer_test("media_container_names_fuzzer") { |
| 586 sources = [ | 589 sources = [ |
| 587 "container_names_fuzzertest.cc", | 590 "container_names_fuzzertest.cc", |
| 588 ] | 591 ] |
| 589 deps = [ | 592 deps = [ |
| 590 "//base", | 593 "//base", |
| 591 "//media", | 594 "//media", |
| 592 ] | 595 ] |
| 593 } | 596 } |
| OLD | NEW |