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

Unified Diff: gyp/common_conditions.gypi

Issue 1274873002: Detect MIPS DSP and DSPR2 programattically. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fold through Created 5 years, 4 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 | src/core/SkBlitter_RGB16.cpp » ('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 cce9f151b87d364a603d60b2497b972ca7def4ff..2a927d1a547efef37f9c070f780d2addb73e369b 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -296,32 +296,13 @@
],
}],
[ '"mips" in skia_arch_type', {
- 'cflags': [
- '-EL',
- ],
+ 'cflags': [ '-EL' ],
'conditions': [
[ 'mips_arch_variant == "mips32r2"', {
- 'cflags': [
- '-march=mips32r2',
- ],
+ 'cflags': [ '-march=mips32r2' ],
'conditions': [
- [ 'mips_dsp == 1', {
- 'cflags': [
- '-mdsp',
- ],
- 'defines': [
- 'SK_MIPS_HAS_DSP',
- ],
- }],
- [ 'mips_dsp == 2', {
- 'cflags': [
- '-mdspr2',
- ],
- 'defines': [
- 'SK_MIPS_HAS_DSP',
- 'SK_MIPS_HAS_DSPR2',
- ],
- }],
+ [ 'mips_dsp == 1', { 'cflags': [ '-mdsp' ] }],
+ [ 'mips_dsp == 2', { 'cflags': [ '-mdspr2' ] }],
],
}],
],
« no previous file with comments | « no previous file | src/core/SkBlitter_RGB16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698