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