| 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/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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 ] | 331 ] |
| 332 sources -= [ | 332 sources -= [ |
| 333 "filters/decrypting_audio_decoder.cc", | 333 "filters/decrypting_audio_decoder.cc", |
| 334 "filters/decrypting_audio_decoder.h", | 334 "filters/decrypting_audio_decoder.h", |
| 335 "filters/decrypting_video_decoder.cc", | 335 "filters/decrypting_video_decoder.cc", |
| 336 "filters/decrypting_video_decoder.h", | 336 "filters/decrypting_video_decoder.h", |
| 337 ] | 337 ] |
| 338 deps += [ | 338 deps += [ |
| 339 "//media/base/android", | 339 "//media/base/android", |
| 340 "//media/base/android:media_jni_headers", | 340 "//media/base/android:media_jni_headers", |
| 341 "//media/capture/video/android:capture_java", |
| 342 "//media/capture/video/android:capture_jni_headers", |
| 341 ] | 343 ] |
| 342 | 344 |
| 343 # Only 64 bit builds are using android-21 NDK library, check common.gypi | 345 # Only 64 bit builds are using android-21 NDK library, check common.gypi |
| 344 if (current_cpu == "arm64" || current_cpu == "x64" || | 346 if (current_cpu == "arm64" || current_cpu == "x64" || |
| 345 current_cpu == "mips64el") { | 347 current_cpu == "mips64el") { |
| 346 sources += [ | 348 sources += [ |
| 347 "base/android/ndk_media_codec_bridge.cc", | 349 "base/android/ndk_media_codec_bridge.cc", |
| 348 "base/android/ndk_media_codec_bridge.h", | 350 "base/android/ndk_media_codec_bridge.h", |
| 349 "base/android/ndk_media_codec_wrapper.cc", | 351 "base/android/ndk_media_codec_wrapper.cc", |
| 350 ] | 352 ] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 362 if (is_mac) { | 364 if (is_mac) { |
| 363 public_deps += [ "//media/base/mac" ] | 365 public_deps += [ "//media/base/mac" ] |
| 364 } | 366 } |
| 365 | 367 |
| 366 if (is_ios) { | 368 if (is_ios) { |
| 367 deps += [ "//media/base/mac" ] | 369 deps += [ "//media/base/mac" ] |
| 368 } | 370 } |
| 369 | 371 |
| 370 if (is_win) { | 372 if (is_win) { |
| 371 deps += [ "//media/base/win" ] | 373 deps += [ "//media/base/win" ] |
| 374 libs += [ |
| 375 "mf.lib", |
| 376 "mfplat.lib", |
| 377 "mfreadwrite.lib", |
| 378 "mfuuid.lib", |
| 379 ] |
| 372 } | 380 } |
| 373 | 381 |
| 374 if (proprietary_codecs) { | 382 if (proprietary_codecs) { |
| 375 sources += [ | 383 sources += [ |
| 376 "cdm/cenc_utils.cc", | 384 "cdm/cenc_utils.cc", |
| 377 "cdm/cenc_utils.h", | 385 "cdm/cenc_utils.h", |
| 378 "filters/h264_to_annex_b_bitstream_converter.cc", | 386 "filters/h264_to_annex_b_bitstream_converter.cc", |
| 379 "filters/h264_to_annex_b_bitstream_converter.h", | 387 "filters/h264_to_annex_b_bitstream_converter.h", |
| 380 "formats/mp4/aac.cc", | 388 "formats/mp4/aac.cc", |
| 381 "formats/mp4/aac.h", | 389 "formats/mp4/aac.h", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 "filters/source_buffer_platform.cc", | 456 "filters/source_buffer_platform.cc", |
| 449 "filters/source_buffer_platform.h", | 457 "filters/source_buffer_platform.h", |
| 450 ] | 458 ] |
| 451 } | 459 } |
| 452 | 460 |
| 453 public_deps += [ | 461 public_deps += [ |
| 454 ":media_features", | 462 ":media_features", |
| 455 ":shared_memory_support", | 463 ":shared_memory_support", |
| 456 "//media/audio", | 464 "//media/audio", |
| 457 "//media/base", | 465 "//media/base", |
| 466 "//media/capture", |
| 458 "//third_party/opus", | 467 "//third_party/opus", |
| 459 ] | 468 ] |
| 460 | 469 |
| 461 deps += [ | 470 deps += [ |
| 462 "//base", | 471 "//base", |
| 463 "//base:i18n", | 472 "//base:i18n", |
| 464 "//base/third_party/dynamic_annotations", | 473 "//base/third_party/dynamic_annotations", |
| 465 "//crypto", | 474 "//crypto", |
| 466 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings | 475 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings |
| 467 "//gpu/command_buffer/client:gles2_interface", | 476 "//gpu/command_buffer/client:gles2_interface", |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 ":cdm_paths", | 592 ":cdm_paths", |
| 584 ":media", | 593 ":media", |
| 585 ":test_support", | 594 ":test_support", |
| 586 "//base/test:test_support", | 595 "//base/test:test_support", |
| 587 "//gpu:test_support", | 596 "//gpu:test_support", |
| 588 "//gpu/command_buffer/common", | 597 "//gpu/command_buffer/common", |
| 589 "//media/audio:test_support", | 598 "//media/audio:test_support", |
| 590 "//media/audio:unittests", | 599 "//media/audio:unittests", |
| 591 "//media/base:test_support", | 600 "//media/base:test_support", |
| 592 "//media/base:unittests", | 601 "//media/base:unittests", |
| 593 | |
| 594 # TODO(mcasas): Remove the capture sources after https://crbug.com/618718. | |
| 595 "//media/capture:unittests", | 602 "//media/capture:unittests", |
| 596 "//media/test:pipeline_integration_tests", | 603 "//media/test:pipeline_integration_tests", |
| 597 "//skia", # Direct dependency required to inherit config. | 604 "//skia", # Direct dependency required to inherit config. |
| 598 "//testing/gmock", | 605 "//testing/gmock", |
| 599 "//testing/gtest", | 606 "//testing/gtest", |
| 600 "//third_party/libwebm", | 607 "//third_party/libwebm", |
| 601 "//third_party/libyuv", | 608 "//third_party/libyuv", |
| 602 "//third_party/widevine/cdm:version_h", | 609 "//third_party/widevine/cdm:version_h", |
| 603 "//ui/gfx:test_support", | 610 "//ui/gfx:test_support", |
| 604 "//url", | 611 "//url", |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 sources = [ | 883 sources = [ |
| 877 "filters/vpx_video_decoder_fuzzertest.cc", | 884 "filters/vpx_video_decoder_fuzzertest.cc", |
| 878 ] | 885 ] |
| 879 deps = [ | 886 deps = [ |
| 880 ":media", | 887 ":media", |
| 881 "//base", | 888 "//base", |
| 882 ] | 889 ] |
| 883 libfuzzer_options = [ "max_len = 400000" ] | 890 libfuzzer_options = [ "max_len = 400000" ] |
| 884 seed_corpus = "//media/test/data" | 891 seed_corpus = "//media/test/data" |
| 885 } | 892 } |
| OLD | NEW |