OLD | NEW |
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 ], | 6 ], |
7 'conditions' : [ | 7 'conditions' : [ |
8 [ 'skia_gpu == 1', | 8 [ 'skia_gpu == 1', |
9 { | 9 { |
10 'defines': [ | 10 'defines': [ |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 'SK_BUILD_FOR_NACL', | 240 'SK_BUILD_FOR_NACL', |
241 ], | 241 ], |
242 'link_settings': { | 242 'link_settings': { |
243 'libraries': [ | 243 'libraries': [ |
244 '-lppapi', | 244 '-lppapi', |
245 '-lppapi_cpp', | 245 '-lppapi_cpp', |
246 '-lnosys', | 246 '-lnosys', |
247 '-pthread', | 247 '-pthread', |
248 ], | 248 ], |
249 }, | 249 }, |
| 250 }, { # skia_os != "nacl" |
| 251 'link_settings': { |
| 252 'ldflags': [ |
| 253 '-lstdc++', |
| 254 '-lm', |
| 255 ], |
| 256 }, |
250 }], | 257 }], |
251 [ 'skia_os == "chromeos"', { | 258 [ 'skia_os != "chromeos"', { |
252 'ldflags': [ | |
253 '-lstdc++', | |
254 '-lm', | |
255 ], | |
256 }, { | |
257 'conditions': [ | 259 'conditions': [ |
258 [ 'skia_arch_width == 64 and skia_arch_type == "x86"', { | 260 [ 'skia_arch_width == 64 and skia_arch_type == "x86"', { |
259 'cflags': [ | 261 'cflags': [ |
260 '-m64', | 262 '-m64', |
261 ], | 263 ], |
262 'ldflags': [ | 264 'ldflags': [ |
263 '-m64', | 265 '-m64', |
264 ], | 266 ], |
265 }], | 267 }], |
266 [ 'skia_arch_width == 32 and skia_arch_type == "x86"', { | 268 [ 'skia_arch_width == 32 and skia_arch_type == "x86"', { |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 'xcode_settings': { | 481 'xcode_settings': { |
480 'SYMROOT': '<(DEPTH)/xcodebuild', | 482 'SYMROOT': '<(DEPTH)/xcodebuild', |
481 }, | 483 }, |
482 } | 484 } |
483 | 485 |
484 # Local Variables: | 486 # Local Variables: |
485 # tab-width:2 | 487 # tab-width:2 |
486 # indent-tabs-mode:nil | 488 # indent-tabs-mode:nil |
487 # End: | 489 # End: |
488 # vim: set expandtab tabstop=2 shiftwidth=2: | 490 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |