MIPS: modified gypi files to support build

R=teodora.petrovic@gmail.com, djsollen@google.com

Author: djordje.pesut@imgtec.com

Review URL: https://codereview.chromium.org/304903003
This commit is contained in:
djordje.pesut 2014-06-06 14:09:12 -07:00 committed by Commit bot
parent d78a2fac37
commit aaf1df632d
3 changed files with 27 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Google Inc. <*@google.com>
Igalia <*@igalia.com>
Intel <*@intel.com>
Jacek Caban <cjacek@gmail.com>
MIPS <*@imgtec.com>
NVIDIA <*@nvidia.com>
Opera Software ASA <*@opera.com>
Samsung <*@samsung.com>

View File

@ -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',
],
}],
],
}],
],
}],
],
},
],

View File

@ -189,6 +189,8 @@
'arm_version%': '<(arm_version)',
'arm_neon%': '<(arm_neon)',
'arm_neon_optional%': 0,
'mips_arch_variant%': 'mips32',
'mips_dsp%': 0,
'skia_os%': '<(skia_os)',
'os_posix%': '<(os_posix)',