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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 12726011: Enables cross-compilation of the VM for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « tools/build.py ('k') | 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
===================================================================
--- tools/gyp/configurations_make.gypi (revision 21755)
+++ tools/gyp/configurations_make.gypi (working copy)
@@ -46,12 +46,21 @@
},
'Dart_arm_Base': {
- 'cflags': [
- '-march=armv7-a',
- '-mfpu=vfp',
- '-mfloat-abi=softfp',
- '-fno-strict-overflow',
- ],
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags': [
+ '-marm',
+ '-march=armv7-a',
+ '-mfpu=vfp',
+ '-mfloat-abi=softfp',
+ '-Wno-psabi', # suppresses va_list warning
+ '-fno-strict-overflow',
+ ],
+ }],
+ ['_toolset=="host"', {
+ 'cflags': ['-m32', '-msse2'],
+ 'ldflags': ['-m32'],
+ }]]
},
'Dart_simmips_Base': {
« no previous file with comments | « tools/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698