| 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/content/android:screen_capture_java", |
| 342 "//media/capture/content/android:screen_capture_jni_headers", |
| 341 "//media/capture/video/android:capture_java", | 343 "//media/capture/video/android:capture_java", |
| 342 "//media/capture/video/android:capture_jni_headers", | 344 "//media/capture/video/android:capture_jni_headers", |
| 343 ] | 345 ] |
| 344 | 346 |
| 345 # Only 64 bit builds are using android-21 NDK library, check common.gypi | 347 # Only 64 bit builds are using android-21 NDK library, check common.gypi |
| 346 if (current_cpu == "arm64" || current_cpu == "x64" || | 348 if (current_cpu == "arm64" || current_cpu == "x64" || |
| 347 current_cpu == "mips64el") { | 349 current_cpu == "mips64el") { |
| 348 sources += [ | 350 sources += [ |
| 349 "base/android/ndk_media_codec_bridge.cc", | 351 "base/android/ndk_media_codec_bridge.cc", |
| 350 "base/android/ndk_media_codec_bridge.h", | 352 "base/android/ndk_media_codec_bridge.h", |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 data_deps = [] | 616 data_deps = [] |
| 615 | 617 |
| 616 if (is_android) { | 618 if (is_android) { |
| 617 sources -= [ | 619 sources -= [ |
| 618 "filters/decrypting_audio_decoder_unittest.cc", | 620 "filters/decrypting_audio_decoder_unittest.cc", |
| 619 "filters/decrypting_video_decoder_unittest.cc", | 621 "filters/decrypting_video_decoder_unittest.cc", |
| 620 ] | 622 ] |
| 621 deps += [ | 623 deps += [ |
| 622 "//media/base/android:media_java", | 624 "//media/base/android:media_java", |
| 623 "//media/base/android:unittests", | 625 "//media/base/android:unittests", |
| 626 "//media/capture/content/android:screen_capture_java", |
| 624 "//media/capture/video/android:capture_java", | 627 "//media/capture/video/android:capture_java", |
| 625 "//ui/android:ui_java", | 628 "//ui/android:ui_java", |
| 626 ] | 629 ] |
| 627 } | 630 } |
| 628 if (is_mac || is_ios) { | 631 if (is_mac || is_ios) { |
| 629 deps += [ "//media/base/mac:unittests" ] | 632 deps += [ "//media/base/mac:unittests" ] |
| 630 } | 633 } |
| 631 | 634 |
| 632 # If ExternalClearKey is built, we can test CdmAdapter. | 635 # If ExternalClearKey is built, we can test CdmAdapter. |
| 633 if (enable_pepper_cdms) { | 636 if (enable_pepper_cdms) { |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 sources = [ | 886 sources = [ |
| 884 "filters/vpx_video_decoder_fuzzertest.cc", | 887 "filters/vpx_video_decoder_fuzzertest.cc", |
| 885 ] | 888 ] |
| 886 deps = [ | 889 deps = [ |
| 887 ":media", | 890 ":media", |
| 888 "//base", | 891 "//base", |
| 889 ] | 892 ] |
| 890 libfuzzer_options = [ "max_len = 400000" ] | 893 libfuzzer_options = [ "max_len = 400000" ] |
| 891 seed_corpus = "//media/test/data" | 894 seed_corpus = "//media/test/data" |
| 892 } | 895 } |
| OLD | NEW |