Chromium Code Reviews| 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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 388 "filters/decrypting_audio_decoder.cc", | 388 "filters/decrypting_audio_decoder.cc", |
| 389 "filters/decrypting_audio_decoder.h", | 389 "filters/decrypting_audio_decoder.h", |
| 390 "filters/decrypting_video_decoder.cc", | 390 "filters/decrypting_video_decoder.cc", |
| 391 "filters/decrypting_video_decoder.h", | 391 "filters/decrypting_video_decoder.h", |
| 392 ] | 392 ] |
| 393 deps += [ | 393 deps += [ |
| 394 "//media/base/android", | 394 "//media/base/android", |
| 395 "//media/base/android:media_jni_headers", | 395 "//media/base/android:media_jni_headers", |
| 396 "//media/base/android:video_capture_jni_headers", | 396 "//media/base/android:video_capture_jni_headers", |
| 397 ] | 397 ] |
| 398 if (current_cpu == "arm64" || current_cpu == "x64" || | |
|
Tima Vaisburd
2015/12/04 02:04:48
Please explain why we only use NDK for 64 bits her
qinmin
2015/12/04 20:26:04
Done.
| |
| 399 current_cpu == "mips64el") { | |
| 400 sources += [ | |
| 401 "base/android/ndk_media_codec_bridge.cc", | |
| 402 "base/android/ndk_media_codec_bridge.h", | |
| 403 ] | |
| 404 libs += [ "-lmediandk" ] | |
| 405 } | |
| 398 allow_circular_includes_from = [ "//media/base/android" ] | 406 allow_circular_includes_from = [ "//media/base/android" ] |
| 399 } | 407 } |
| 400 | 408 |
| 401 if (!is_android || media_use_ffmpeg) { | 409 if (!is_android || media_use_ffmpeg) { |
| 402 sources += [ | 410 sources += [ |
| 403 "filters/opus_audio_decoder.cc", | 411 "filters/opus_audio_decoder.cc", |
| 404 "filters/opus_audio_decoder.h", | 412 "filters/opus_audio_decoder.h", |
| 405 ] | 413 ] |
| 406 } | 414 } |
| 407 | 415 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 882 "//media/base:test_support", | 890 "//media/base:test_support", |
| 883 "//media/test:pipeline_integration_tests", | 891 "//media/test:pipeline_integration_tests", |
| 884 "//testing/gmock", | 892 "//testing/gmock", |
| 885 "//testing/gtest", | 893 "//testing/gtest", |
| 886 "//third_party/ffmpeg", | 894 "//third_party/ffmpeg", |
| 887 "//ui/gfx:test_support", | 895 "//ui/gfx:test_support", |
| 888 "//ui/gfx/geometry", | 896 "//ui/gfx/geometry", |
| 889 ] | 897 ] |
| 890 } | 898 } |
| 891 } | 899 } |
| OLD | NEW |