Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2605)

Unified Diff: gyp/common_conditions.gypi

Issue 1849183004: MIPS32r2: Fix Chromium runtime crash (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkChunkAlloc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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' ] }],
+ ],
+ }],
],
}],
],
« no previous file with comments | « no previous file | include/core/SkChunkAlloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698