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