diff options
Diffstat (limited to 'gyp/common_conditions.gypi')
-rw-r--r-- | gyp/common_conditions.gypi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index cf46ed21d9..0c004e5ca5 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -244,6 +244,30 @@ }], ], }], + [ 'skia_arch_type == "mips"', { + 'cflags': [ + '-EL', + ], + 'conditions': [ + [ 'mips_arch_variant == "mips32r2"', { + 'cflags': [ + '-march=mips32r2', + ], + 'conditions': [ + [ 'mips_dsp == 1', { + 'cflags': [ + '-mdsp', + ], + }], + [ 'mips_dsp == 2', { + 'cflags': [ + '-mdspr2', + ], + }], + ], + }], + ], + }], ], }, ], |