| Index: gyp/common_conditions.gypi
|
| diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
|
| index 1485606f1b68ffee12ee1d2a6f99eccaf43f3b53..42a5c971f445ca3cca60b7d5062b388208e2cb23 100644
|
| --- a/gyp/common_conditions.gypi
|
| +++ b/gyp/common_conditions.gypi
|
| @@ -306,13 +306,17 @@
|
| ],
|
| }],
|
| [ '"mips" in skia_arch_type', {
|
| - 'cflags': [ '-EL' ],
|
| - 'conditions': [
|
| - [ 'mips_arch_variant == "mips32r2"', {
|
| - 'cflags': [ '-march=mips32r2' ],
|
| - 'conditions': [
|
| - [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }],
|
| - [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }],
|
| + 'target_conditions': [
|
| + [ '_toolset == "target"', {
|
| + 'cflags' : ['-EL'],
|
| + 'conditions' : [
|
| + [ 'mips_arch_variant == "mips32r2"', {
|
| + 'cflags': [ '-march=mips32r2' ],
|
| + 'conditions': [
|
| + [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }],
|
| + [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }],
|
| + ],
|
| + }],
|
| ],
|
| }],
|
| ],
|
|
|