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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 sources -= [ | 377 sources -= [ |
378 "filters/decrypting_audio_decoder.cc", | 378 "filters/decrypting_audio_decoder.cc", |
379 "filters/decrypting_audio_decoder.h", | 379 "filters/decrypting_audio_decoder.h", |
380 "filters/decrypting_video_decoder.cc", | 380 "filters/decrypting_video_decoder.cc", |
381 "filters/decrypting_video_decoder.h", | 381 "filters/decrypting_video_decoder.h", |
382 ] | 382 ] |
383 deps += [ | 383 deps += [ |
384 "//media/base/android", | 384 "//media/base/android", |
385 "//media/base/android:media_jni_headers", | 385 "//media/base/android:media_jni_headers", |
386 ] | 386 ] |
387 | |
388 # Only 64 bit builds are using the android-21 NDK library. | |
389 if (current_cpu == "arm64" || current_cpu == "x64" || | |
390 current_cpu == "mips64el") { | |
391 sources += [ | |
392 "base/android/ndk_media_codec_bridge.cc", | |
393 "base/android/ndk_media_codec_bridge.h", | |
394 "base/android/ndk_media_codec_wrapper.cc", | |
395 ] | |
396 } | |
397 allow_circular_includes_from = [ "//media/base/android" ] | 387 allow_circular_includes_from = [ "//media/base/android" ] |
398 } | 388 } |
399 | 389 |
400 if (current_cpu != "arm" && is_chromeos) { | 390 if (current_cpu != "arm" && is_chromeos) { |
401 sources += [ | 391 sources += [ |
402 "filters/h264_bitstream_buffer.cc", | 392 "filters/h264_bitstream_buffer.cc", |
403 "filters/h264_bitstream_buffer.h", | 393 "filters/h264_bitstream_buffer.h", |
404 ] | 394 ] |
405 } | 395 } |
406 | 396 |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 958 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
969 sources = [ | 959 sources = [ |
970 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 960 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
971 ] | 961 ] |
972 deps = [ | 962 deps = [ |
973 ":media", | 963 ":media", |
974 "//base", | 964 "//base", |
975 ] | 965 ] |
976 } | 966 } |
977 } | 967 } |
OLD | NEW |