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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 ] | 314 ] |
315 sources -= [ | 315 sources -= [ |
316 "filters/decrypting_audio_decoder.cc", | 316 "filters/decrypting_audio_decoder.cc", |
317 "filters/decrypting_audio_decoder.h", | 317 "filters/decrypting_audio_decoder.h", |
318 "filters/decrypting_video_decoder.cc", | 318 "filters/decrypting_video_decoder.cc", |
319 "filters/decrypting_video_decoder.h", | 319 "filters/decrypting_video_decoder.h", |
320 ] | 320 ] |
321 deps += [ | 321 deps += [ |
322 "//media/base/android", | 322 "//media/base/android", |
323 "//media/base/android:media_jni_headers", | 323 "//media/base/android:media_jni_headers", |
| 324 "//media/capture/content/android:screen_capture_java", |
| 325 "//media/capture/content/android:screen_capture_jni_headers", |
324 "//media/capture/video/android:capture_java", | 326 "//media/capture/video/android:capture_java", |
325 "//media/capture/video/android:capture_jni_headers", | 327 "//media/capture/video/android:capture_jni_headers", |
326 ] | 328 ] |
327 | 329 |
328 # Only 64 bit builds are using android-21 NDK library, check common.gypi | 330 # Only 64 bit builds are using android-21 NDK library, check common.gypi |
329 if (current_cpu == "arm64" || current_cpu == "x64" || | 331 if (current_cpu == "arm64" || current_cpu == "x64" || |
330 current_cpu == "mips64el") { | 332 current_cpu == "mips64el") { |
331 sources += [ | 333 sources += [ |
332 "base/android/ndk_media_codec_bridge.cc", | 334 "base/android/ndk_media_codec_bridge.cc", |
333 "base/android/ndk_media_codec_bridge.h", | 335 "base/android/ndk_media_codec_bridge.h", |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 data_deps = [] | 592 data_deps = [] |
591 | 593 |
592 if (is_android) { | 594 if (is_android) { |
593 sources -= [ | 595 sources -= [ |
594 "filters/decrypting_audio_decoder_unittest.cc", | 596 "filters/decrypting_audio_decoder_unittest.cc", |
595 "filters/decrypting_video_decoder_unittest.cc", | 597 "filters/decrypting_video_decoder_unittest.cc", |
596 ] | 598 ] |
597 deps += [ | 599 deps += [ |
598 "//media/base/android:media_java", | 600 "//media/base/android:media_java", |
599 "//media/base/android:unittests", | 601 "//media/base/android:unittests", |
| 602 "//media/capture/content/android:screen_capture_java", |
600 "//media/capture/video/android:capture_java", | 603 "//media/capture/video/android:capture_java", |
601 "//ui/android:ui_java", | 604 "//ui/android:ui_java", |
602 ] | 605 ] |
603 } | 606 } |
604 | 607 |
605 # If ExternalClearKey is built, we can test CdmAdapter. | 608 # If ExternalClearKey is built, we can test CdmAdapter. |
606 if (enable_pepper_cdms) { | 609 if (enable_pepper_cdms) { |
607 sources += [ "cdm/cdm_adapter_unittest.cc" ] | 610 sources += [ "cdm/cdm_adapter_unittest.cc" ] |
608 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] | 611 data_deps += [ "//media/cdm/ppapi:clearkeycdm" ] |
609 } | 612 } |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 sources = [ | 859 sources = [ |
857 "filters/vpx_video_decoder_fuzzertest.cc", | 860 "filters/vpx_video_decoder_fuzzertest.cc", |
858 ] | 861 ] |
859 deps = [ | 862 deps = [ |
860 ":media", | 863 ":media", |
861 "//base", | 864 "//base", |
862 ] | 865 ] |
863 libfuzzer_options = [ "max_len = 400000" ] | 866 libfuzzer_options = [ "max_len = 400000" ] |
864 seed_corpus = "//media/test/data" | 867 seed_corpus = "//media/test/data" |
865 } | 868 } |
OLD | NEW |