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

Unified Diff: build/common.gypi

Issue 502743002: Always enable optimize_jni_generation on non-WebView builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 4 months 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
« no previous file with comments | « build/android/developer_recommended_flags.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index ea388ac7d32cddc309dab352aa908d8cab23e5f3..c7a15cfb7d46b5826401a686ca98d3ab7269d03e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1000,6 +1000,13 @@
}, {
'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,
+ }, {
+ 'optimize_jni_generation%': 0,
+ }],
],
# Set this to 1 to enable use of concatenated impulse responses
@@ -1767,7 +1774,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,
« no previous file with comments | « build/android/developer_recommended_flags.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698