Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 665e46e7c57ec61da07beb045aacc46b35bd961d..cb2efd9154c2bf5aa89be6cb49ef04adca6c689a 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -204,6 +204,14 @@ |
| 'NACL_TARGET_SUBARCH=32', |
| ], |
| }], |
| + ['target_arch=="mipsel"', { |
| + 'defines': [ |
| + 'NACL_BUILD_ARCH=mipsel', |
|
Mark Seaborn
2013/09/20 23:11:17
Why not "mips" instead of "mipsel"? Then we don't
petarj
2013/09/23 17:49:24
Done.
|
| + 'NACL_BUILD_SUBARCH=32', |
| + 'NACL_TARGET_ARCH=mipsel', |
| + 'NACL_TARGET_SUBARCH=32', |
| + ], |
| + }], |
| ['linux2==1', { |
| 'defines': ['LINUX2=1'], |
| }], |
| @@ -337,7 +345,18 @@ |
| ], |
| }], |
| ], |
| - }, { # else: target_arch != "arm" |
| + }], |
| + ['target_arch=="mipsel"', { |
| + # Copied from chromium build/common.gypi |
| + 'conditions': [ |
| + ['mips_arch_variant=="mips32r2"', { |
| + 'cflags': ['-mips32r2'], |
|
Mark Seaborn
2013/09/20 23:11:17
Indent by 1 fewer space (i.e. 2 spaces per indenta
petarj
2013/09/23 17:49:24
Done.
|
| + }, { |
| + 'cflags': ['-mips32'], |
|
Mark Seaborn
2013/09/20 23:11:17
Same here
petarj
2013/09/23 17:49:24
Done.
|
| + }], |
| + ], |
| + }], |
| + ['target_arch=="ia32" or target_arch=="x64"', { |
| 'conditions': [ |
| ['target_arch=="x64"', { |
| 'variables': { |