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

Unified Diff: base/android/jni_generator/jni_generator.gyp

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: base/android/jni_generator/jni_generator.gyp
diff --git a/base/android/jni_generator/jni_generator.gyp b/base/android/jni_generator/jni_generator.gyp
index 2ea36b0b389b0a16f2e65f6f8f685ddae343e40d..cde8cb1e53bd1ba4df5d88621bcb5f6258a119df 100644
--- a/base/android/jni_generator/jni_generator.gyp
+++ b/base/android/jni_generator/jni_generator.gyp
@@ -3,6 +3,18 @@
# found in the LICENSE file.
{
+ 'target_defaults': {
+ 'configurations': {
+ 'Release': {
+ 'conditions': [
+ ['OS=="android"', {
+ 'cflags!': ['-Os'],
+ 'cflags': ['-O2'],
+ }],
+ ],
+ },
+ },
+ },
'targets': [
{
'target_name': 'jni_generator_py_tests',
« no previous file with comments | « base/allocator/allocator.gyp ('k') | base/base.gypi » ('j') | cc/blink/cc_blink.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698