| Index: media/BUILD.gn
|
| diff --git a/media/BUILD.gn b/media/BUILD.gn
|
| index 1c2a73f5e9e9ce376a2944e575f5dd500c149403..1df7b7da257f90d0c19491b9482e63b06eae9e30 100644
|
| --- a/media/BUILD.gn
|
| +++ b/media/BUILD.gn
|
| @@ -396,6 +396,15 @@ component("media") {
|
| "//media/base/android:video_capture_jni_headers",
|
| ]
|
|
|
| + # Only 64 bit builds are using android-21 NDK library, check common.gypi
|
| + if (current_cpu == "arm64" || current_cpu == "x64" ||
|
| + current_cpu == "mips64el") {
|
| + sources += [
|
| + "base/android/ndk_media_codec_bridge.cc",
|
| + "base/android/ndk_media_codec_bridge.h",
|
| + "base/android/ndk_media_codec_wrapper.cc",
|
| + ]
|
| + }
|
| allow_circular_includes_from = [ "//media/base/android" ]
|
| }
|
|
|
|
|