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

Unified Diff: gyp/common_conditions.gypi

Issue 1919873003: Make clang the default Android compiler. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | gyp/freetype.gyp » ('j') | gyp/freetype.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 1485606f1b68ffee12ee1d2a6f99eccaf43f3b53..aee65daf4293d30ac8a85af45f26f9972f18829b 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -620,11 +620,14 @@
'SK_GAMMA_SRGB',
],
'configurations': {
- 'Debug': {
- 'cflags': ['-g']
- },
'Release': {
'cflags': ['-O2'],
+ 'conditions': [
+ [ 'skia_clang_build', {
+ 'cflags!': ['-g'],
+ 'cflags': [ '-gline-tables-only' ],
+ }],
+ ],
},
},
'libraries': [
« no previous file with comments | « no previous file | gyp/freetype.gyp » ('j') | gyp/freetype.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698