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

Unified Diff: tools/gyp/configurations.gypi

Issue 11859034: Add mips and simmips build targets. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/build.py ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations.gypi
===================================================================
--- tools/gyp/configurations.gypi (revision 17318)
+++ tools/gyp/configurations.gypi (working copy)
@@ -23,6 +23,8 @@
['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }],
['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }],
['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }],
+ ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }],
+ ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }],
],
},
'conditions': [
@@ -60,6 +62,20 @@
],
},
+ 'Dart_simmips_Base': {
+ 'abstract': 1,
+ 'defines': [
+ 'TARGET_ARCH_MIPS',
+ ]
+ },
+
+ 'Dart_mips_Base': {
+ 'abstract': 1,
+ 'defines': [
+ 'TARGET_ARCH_MIPS',
+ ],
+ },
+
'Dart_Debug': {
'abstract': 1,
},
@@ -113,6 +129,32 @@
'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'],
},
+ 'DebugSIMMIPS': {
+ # Should not inherit from Dart_Debug because Dart_simmips_Base defines
+ # the optimization level to be -O3, as the simulator runs too slow
+ # otherwise.
+ 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'],
+ 'defines': [
+ 'DEBUG',
+ ],
+ },
+
+ 'ReleaseSIMMIPS': {
+ # Should not inherit from Dart_Release (see DebugSIMMIPS).
+ 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'],
+ 'defines': [
+ 'NDEBUG',
+ ],
+ },
+
+ 'DebugMIPS': {
+ 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Debug'],
+ },
+
+ 'ReleaseMIPS': {
+ 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Release'],
+ },
+
# These targets assume that target_arch is passed in explicitly
# by the containing project (e.g., chromium).
'Debug': {
« no previous file with comments | « tools/build.py ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698