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

Unified Diff: media/BUILD.gn

Issue 1472943002: Refactor MediaCodecBridge to add support for NDK APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 4d7e198a9200f2ab6f26cb186f8c635b44482f6e..97b05798510f07001248dd10846604a63ea80f08 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -395,6 +395,14 @@ component("media") {
"//media/base/android:media_jni_headers",
"//media/base/android:video_capture_jni_headers",
]
+ 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.
+ current_cpu == "mips64el") {
+ sources += [
+ "base/android/ndk_media_codec_bridge.cc",
+ "base/android/ndk_media_codec_bridge.h",
+ ]
+ libs += [ "-lmediandk" ]
+ }
allow_circular_includes_from = [ "//media/base/android" ]
}

Powered by Google App Engine
This is Rietveld 408576698