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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 1109303002: Fix android cross compile (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index 29fab0bdac68301c92cb36f75496fe9d370bc01f..1556f16f7dd9bd70ba8d0e125661b94be02f4f9c 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -32,12 +32,32 @@
'abstract': 1,
'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ],
'ldflags': [ '-m32', ],
+ 'conditions': [
+ ['c_frame_pointers==1', {
+ 'cflags': [
+ # Clang on Linux will still omit frame pointers from leaf
+ # functions unless told otherwise:
+ # (note this flag only works on recent GCC versions.)
+ '-mno-omit-leaf-frame-pointer',
+ ],
+ }],
+ ],
},
'Dart_Linux_x64_Base': {
'abstract': 1,
'cflags': [ '-m64', '-msse2' ],
'ldflags': [ '-m64', ],
+ 'conditions': [
+ ['c_frame_pointers==1', {
+ 'cflags': [
+ # Clang on Linux will still omit frame pointers from leaf
+ # functions unless told otherwise:
+ # (note this flag only works on recent GCC versions.)
+ '-mno-omit-leaf-frame-pointer',
+ ],
+ }],
+ ],
},
'Dart_Linux_simarm_Base': {
@@ -178,9 +198,6 @@
['c_frame_pointers==1', {
'cflags': [
'-fno-omit-frame-pointer',
- # Clang on Linux will still omit frame pointers from leaf
- # functions unless told otherwise:
- '-mno-omit-leaf-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
@@ -198,9 +215,6 @@
['c_frame_pointers==1', {
'cflags': [
'-fno-omit-frame-pointer',
- # Clang on Linux will still omit frame pointers from leaf
- # functions unless told otherwise:
- '-mno-omit-leaf-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
« 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