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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 1624593002: Adds targets for simarmv6 and armv6 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add xcode settings for simarmv6 and v5te Created 4 years, 11 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/gyp/configurations.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | 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 ebaf9359f01ff56dc60bbcfb881ae414218a1c25..307b1c2b68cd6f3682cb876cae73b3ae99074930 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -76,6 +76,12 @@
'ldflags': [ '-m32', ],
},
+ 'Dart_Linux_simarmv6_Base': {
+ 'abstract': 1,
+ 'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
+ 'ldflags': [ '-m32', ],
+ },
+
'Dart_Linux_simarmv5te_Base': {
'abstract': 1,
'cflags': [ '-O3', '-m32', '-msse2', '-mfpmath=sse' ],
@@ -117,6 +123,35 @@
],
},
+ # ARMv6 cross-build
+ 'Dart_Linux_xarmv6_Base': {
+ 'abstract': 1,
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'cflags': [
+ '-march=armv6',
+ '-mfpu=vfp',
+ '-Wno-psabi', # suppresses va_list warning
+ '-fno-strict-overflow',
+ ],
+ }],
+ ['_toolset=="host"', {
+ 'cflags': ['-m32', '-msse2', '-mfpmath=sse' ],
+ 'ldflags': ['-m32'],
+ }]]
+ },
+
+ # ARMv6 native build
+ 'Dart_Linux_armv6_Base': {
+ 'abstract': 1,
+ 'cflags': [
+ '-march=armv6',
+ '-mfpu=vfp',
+ '-Wno-psabi', # suppresses va_list warning
+ '-fno-strict-overflow',
+ ],
+ },
+
# ARMv5 cross-build
'Dart_Linux_xarmv5te_Base': {
'abstract': 1,
« no previous file with comments | « tools/gyp/configurations.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698