| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
| 7 # | 7 # |
| 8 { | 8 { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 ], | 243 ], |
| 244 }], | 244 }], |
| 245 [ 'skia_arch_type == "x86" and not skia_android_framework', { | 245 [ 'skia_arch_type == "x86" and not skia_android_framework', { |
| 246 'cflags': [ | 246 'cflags': [ |
| 247 '-m32', | 247 '-m32', |
| 248 ], | 248 ], |
| 249 'ldflags': [ | 249 'ldflags': [ |
| 250 '-m32', | 250 '-m32', |
| 251 ], | 251 ], |
| 252 }], | 252 }], |
| 253 [ 'skia_angle == 1' , { |
| 254 'cflags!': [ |
| 255 '-fstrict-aliasing', |
| 256 ], |
| 257 'cflags_cc!': [ |
| 258 '-Wnon-virtual-dtor', |
| 259 ], |
| 260 'cflags_cc': [ |
| 261 '-Wno-unknown-pragmas', |
| 262 ], |
| 263 }], |
| 253 ], | 264 ], |
| 254 }], | 265 }], |
| 255 [ 'skia_warnings_as_errors', { | 266 [ 'skia_warnings_as_errors', { |
| 256 'cflags': [ | 267 'cflags': [ |
| 257 '-Werror', | 268 '-Werror', |
| 258 ], | 269 ], |
| 259 }], | 270 }], |
| 260 # For profiling; reveals some costs, exaggerates others (e.g. trivial
setters & getters). | 271 # For profiling; reveals some costs, exaggerates others (e.g. trivial
setters & getters). |
| 261 [ 'skia_disable_inlining', { | 272 [ 'skia_disable_inlining', { |
| 262 'cflags': [ | 273 'cflags': [ |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 [ 'sknx_no_simd', { | 632 [ 'sknx_no_simd', { |
| 622 'defines': [ 'SKNX_NO_SIMD' ], | 633 'defines': [ 'SKNX_NO_SIMD' ], |
| 623 }], | 634 }], |
| 624 | 635 |
| 625 ], # end 'conditions' | 636 ], # end 'conditions' |
| 626 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 637 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 627 'xcode_settings': { | 638 'xcode_settings': { |
| 628 'SYMROOT': '<(DEPTH)/xcodebuild', | 639 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 629 }, | 640 }, |
| 630 } | 641 } |
| OLD | NEW |