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

Unified Diff: build/common.gypi

Issue 1103393002: Pass -Oz flag to Clang when targeting Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix diff Created 5 years, 8 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 | « no previous file | 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 2452de4e01d2efdebabb121123982acd6b03daeb..19716f7edac50dd3df6dcc1e2b3953f6f01f152f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3741,9 +3741,17 @@
],
}],
['OS=="android"', {
- 'variables': {
- 'release_optimize%': 's',
- },
+ 'conditions': [
+ ['clang==1', {
+ 'variables': {
+ 'release_optimize%': 'z',
pasko 2015/04/30 15:48:48 counter-intuitively there is another file to be tw
+ },
+ }, {
+ 'variables': {
+ 'release_optimize%': 's',
+ },
+ }],
+ ],
}],
['profiling==1', {
'cflags': [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698