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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « AUTHORS ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # conditions used in both common.gypi and skia.gyp in chromium 1 # conditions used in both common.gypi and skia.gyp in chromium
2 # 2 #
3 { 3 {
4 'defines': [ 4 'defines': [
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
6 'SK_SUPPORT_GPU=<(skia_gpu)', 6 'SK_SUPPORT_GPU=<(skia_gpu)',
7 'SK_SUPPORT_OPENCL=<(skia_opencl)', 7 'SK_SUPPORT_OPENCL=<(skia_opencl)',
8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', 8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)',
9 ], 9 ],
10 'conditions' : [ 10 'conditions' : [
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', 237 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT',
238 ], 238 ],
239 }], 239 }],
240 [ 'skia_os != "chromeos"', { 240 [ 'skia_os != "chromeos"', {
241 'cflags': [ 241 'cflags': [
242 '-mfloat-abi=softfp', 242 '-mfloat-abi=softfp',
243 ], 243 ],
244 }], 244 }],
245 ], 245 ],
246 }], 246 }],
247 [ 'skia_arch_type == "mips"', {
248 'cflags': [
249 '-EL',
250 ],
251 'conditions': [
252 [ 'mips_arch_variant == "mips32r2"', {
253 'cflags': [
254 '-march=mips32r2',
255 ],
256 'conditions': [
257 [ 'mips_dsp == 1', {
258 'cflags': [
259 '-mdsp',
260 ],
261 }],
262 [ 'mips_dsp == 2', {
263 'cflags': [
264 '-mdspr2',
265 ],
266 }],
267 ],
268 }],
269 ],
270 }],
247 ], 271 ],
248 }, 272 },
249 ], 273 ],
250 274
251 ['skia_android_framework', { 275 ['skia_android_framework', {
252 'includes' : [ 276 'includes' : [
253 'skia_for_android_framework_defines.gypi', 277 'skia_for_android_framework_defines.gypi',
254 ], 278 ],
255 'cflags': [ 279 'cflags': [
256 # Skia does not enforce this usage pattern so we disable it here to avoi d 280 # Skia does not enforce this usage pattern so we disable it here to avoi d
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 'SK_BUILD_JSON_WRITER', 682 'SK_BUILD_JSON_WRITER',
659 ] 683 ]
660 }], 684 }],
661 685
662 ], # end 'conditions' 686 ], # end 'conditions'
663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 687 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
664 'xcode_settings': { 688 'xcode_settings': {
665 'SYMROOT': '<(DEPTH)/xcodebuild', 689 'SYMROOT': '<(DEPTH)/xcodebuild',
666 }, 690 },
667 } 691 }
OLDNEW
« 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