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

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: added MIPS to AUTHORS file Created 6 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 | « AUTHORS ('k') | gyp/common_variables.gypi » ('j') | gyp/common_variables.gypi » ('J')
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 75b89b7bf235a58244b14e660420fb08801645fc..bdadf5eabb196f3f092d851b0ecca9b66a97c904 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -244,6 +244,50 @@
}],
],
}],
+[ 'skia_arch_type == "mips"', {
djsollen 2014/05/29 17:01:08 spacing
+ '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_DSPR2',
+ ],
+ 'variables': {
+ 'SK_MIPS_DSP_REV%': '2'
+ },
+ 'cflags': [
+ '-mdspr2',
+ ],
+ }],
+ [ 'mips_dsp_optional == 1', {
+ 'defines': [
+ '__MIPS_HAVE_OPTIONAL_DSP_SUPPORT',
+ ],
+ }],
+ [ 'mips_dspr2_optional == 1', {
+ 'defines': [
+ '__MIPS_HAVE_OPTIONAL_DSPR2_SUPPORT',
+ ],
+ }],
+ ],
+ }],
],
},
],
« no previous file with comments | « AUTHORS ('k') | gyp/common_variables.gypi » ('j') | gyp/common_variables.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698