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

Unified Diff: gyp/common_conditions.gypi

Issue 304903003: MIPS: modified gypi files to support build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « AUTHORS ('k') | gyp/common_variables.gypi » ('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 cf46ed21d93f938afa275ff26b38041ca797c216..0c004e5ca51dc08cf388ec871eceb2ef87a8598e 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',
+ ],
+ }],
+ ],
+ }],
+ ],
+ }],
],
},
],
« no previous file with comments | « AUTHORS ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698