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