| 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,
|
|
|