| 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': {
|
|
|