Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index a82d24dd2247e7608cd8c8c14697da9023f8e9c3..b76cc5c7d2d6d3f1d459ea77a2aebe3fef7f08d3 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -980,6 +980,11 @@ |
}, { |
'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', |
}], |
+ |
+ # Turn on JNI generation optimizations on non-WebView builds. |
+ ['OS=="android" and android_webview_build==0', { |
+ 'optimize_jni_generation%': 1, |
+ }], |
cjhopman
2014/08/27 19:08:51
You should set this to 0 in the else case.
mlamouri (slow - plz ping)
2014/08/28 15:12:03
Done.
|
], |
# Set this to 1 to enable use of concatenated impulse responses |
@@ -1741,7 +1746,7 @@ |
# breaking assumptions in the build system that when inputs have changed |
# the outputs should always change as well. This is meant purely for |
# developer builds, to avoid spurious re-linking of native files. |
- 'optimize_jni_generation%': 0, |
+ 'optimize_jni_generation%': '<(optimize_jni_generation)', |
# Always uses openssl. |
'use_openssl%': 1, |