Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 75b89b7bf235a58244b14e660420fb08801645fc..bdadf5eabb196f3f092d851b0ecca9b66a97c904 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -244,6 +244,50 @@ |
}], |
], |
}], |
+[ 'skia_arch_type == "mips"', { |
djsollen
2014/05/29 17:01:08
spacing
|
+ 'cflags': [ |
+ '-mips32r2', |
+ '-EL', |
+ ], |
+ 'defines': [ |
+ 'SK_CPU_MIPS', |
+ 'SK_CPU_LENDIAN', |
+ ], |
+ 'conditions': [ |
+ [ 'mips_dsp == 1', { |
+ 'defines': [ |
+ '__MIPS_HAVE_DSP', |
+ ], |
+ 'variables': { |
+ 'SK_MIPS_DSP_REV%': '1' |
+ }, |
+ 'cflags': [ |
+ '-mdsp', |
+ ], |
+ }], |
+ [ 'mips_dspr2 == 1', { |
+ 'defines': [ |
+ '__MIPS_HAVE_DSPR2', |
+ ], |
+ 'variables': { |
+ 'SK_MIPS_DSP_REV%': '2' |
+ }, |
+ 'cflags': [ |
+ '-mdspr2', |
+ ], |
+ }], |
+ [ 'mips_dsp_optional == 1', { |
+ 'defines': [ |
+ '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT', |
+ ], |
+ }], |
+ [ 'mips_dspr2_optional == 1', { |
+ 'defines': [ |
+ '__MIPS_HAVE_OPTIONAL_DSPR2_SUPPORT', |
+ ], |
+ }], |
+ ], |
+ }], |
], |
}, |
], |