| Index: gyp/common_conditions.gypi
|
| diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
|
| index 75b89b7bf235a58244b14e660420fb08801645fc..bdb8490eb537ec8db790cbd1347b3ab6171fa0cd 100644
|
| --- a/gyp/common_conditions.gypi
|
| +++ b/gyp/common_conditions.gypi
|
| @@ -244,6 +244,57 @@
|
| }],
|
| ],
|
| }],
|
| + [ 'skia_arch_type == "mips"', {
|
| + '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_DSP',
|
| + '__MIPS_HAVE_DSPR2',
|
| + ],
|
| + 'variables': {
|
| + 'SK_MIPS_DSP_REV%': '2',
|
| + },
|
| + 'cflags': [
|
| + '-mdspr2',
|
| + ],
|
| + }],
|
| + [ 'mips_dsp_optional == 1', {
|
| + 'defines': [
|
| + '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT',
|
| + ],
|
| + 'variables': {
|
| + 'SK_MIPS_DSP_REV%': '1',
|
| + },
|
| + }],
|
| + [ 'mips_dspr2_optional == 1', {
|
| + 'defines': [
|
| + '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT',
|
| + ],
|
| + 'variables': {
|
| + 'SK_MIPS_DSP_REV%': '2',
|
| + },
|
| + }],
|
| + ],
|
| + }],
|
| ],
|
| },
|
| ],
|
|
|