Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: media/BUILD.gn

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relocate java files, support YUV format and improve JNI operation Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 ] 316 ]
317 sources -= [ 317 sources -= [
318 "filters/decrypting_audio_decoder.cc", 318 "filters/decrypting_audio_decoder.cc",
319 "filters/decrypting_audio_decoder.h", 319 "filters/decrypting_audio_decoder.h",
320 "filters/decrypting_video_decoder.cc", 320 "filters/decrypting_video_decoder.cc",
321 "filters/decrypting_video_decoder.h", 321 "filters/decrypting_video_decoder.h",
322 ] 322 ]
323 deps += [ 323 deps += [
324 "//media/base/android", 324 "//media/base/android",
325 "//media/base/android:media_jni_headers", 325 "//media/base/android:media_jni_headers",
326 "//media/capture/content/android:screen_capture_java",
327 "//media/capture/content/android:screen_capture_jni_headers",
326 "//media/capture/video/android:capture_java", 328 "//media/capture/video/android:capture_java",
327 "//media/capture/video/android:capture_jni_headers", 329 "//media/capture/video/android:capture_jni_headers",
328 ] 330 ]
329 331
330 # Only 64 bit builds are using android-21 NDK library, check common.gypi 332 # Only 64 bit builds are using android-21 NDK library, check common.gypi
331 if (current_cpu == "arm64" || current_cpu == "x64" || 333 if (current_cpu == "arm64" || current_cpu == "x64" ||
332 current_cpu == "mips64el") { 334 current_cpu == "mips64el") {
333 sources += [ 335 sources += [
334 "base/android/ndk_media_codec_bridge.cc", 336 "base/android/ndk_media_codec_bridge.cc",
335 "base/android/ndk_media_codec_bridge.h", 337 "base/android/ndk_media_codec_bridge.h",
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 fuzzer_test("media_vp9_parser_fuzzer") { 839 fuzzer_test("media_vp9_parser_fuzzer") {
837 sources = [ 840 sources = [
838 "filters/vp9_parser_fuzzertest.cc", 841 "filters/vp9_parser_fuzzertest.cc",
839 ] 842 ]
840 deps = [ 843 deps = [
841 ":media", 844 ":media",
842 "//base", 845 "//base",
843 ] 846 ]
844 libfuzzer_options = [ "max_len = 400000" ] 847 libfuzzer_options = [ "max_len = 400000" ]
845 } 848 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698