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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 data_deps = [] | 620 data_deps = [] |
619 | 621 |
620 if (is_android) { | 622 if (is_android) { |
621 sources -= [ | 623 sources -= [ |
622 "filters/decrypting_audio_decoder_unittest.cc", | 624 "filters/decrypting_audio_decoder_unittest.cc", |
623 "filters/decrypting_video_decoder_unittest.cc", | 625 "filters/decrypting_video_decoder_unittest.cc", |
624 ] | 626 ] |
625 deps += [ | 627 deps += [ |
626 "//media/base/android:media_java", | 628 "//media/base/android:media_java", |
627 "//media/base/android:unittests", | 629 "//media/base/android:unittests", |
| 630 "//media/capture/content/android:screen_capture_java", |
628 "//media/capture/video/android:capture_java", | 631 "//media/capture/video/android:capture_java", |
629 "//ui/android:ui_java", | 632 "//ui/android:ui_java", |
630 ] | 633 ] |
631 } | 634 } |
632 | 635 |
633 # If ExternalClearKey is built, we can test CdmAdapter. | 636 # If ExternalClearKey is built, we can test CdmAdapter. |
634 if (enable_pepper_cdms) { | 637 if (enable_pepper_cdms) { |
635 sources += [ "cdm/cdm_adapter_unittest.cc" ] | 638 sources += [ "cdm/cdm_adapter_unittest.cc" ] |
636 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] | 639 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] |
637 } | 640 } |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 sources = [ | 887 sources = [ |
885 "filters/vpx_video_decoder_fuzzertest.cc", | 888 "filters/vpx_video_decoder_fuzzertest.cc", |
886 ] | 889 ] |
887 deps = [ | 890 deps = [ |
888 ":media", | 891 ":media", |
889 "//base", | 892 "//base", |
890 ] | 893 ] |
891 libfuzzer_options = [ "max_len = 400000" ] | 894 libfuzzer_options = [ "max_len = 400000" ] |
892 seed_corpus = "//media/test/data" | 895 seed_corpus = "//media/test/data" |
893 } | 896 } |
OLD | NEW |