| 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 '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_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', | 8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', |
| 9 ], | 9 ], |
| 10 'conditions' : [ | 10 'conditions' : [ |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 '-g', | 123 '-g', |
| 124 '-fno-exceptions', | 124 '-fno-exceptions', |
| 125 '-fstrict-aliasing', | 125 '-fstrict-aliasing', |
| 126 | 126 |
| 127 '-Wall', | 127 '-Wall', |
| 128 '-Wextra', | 128 '-Wextra', |
| 129 '-Winit-self', | 129 '-Winit-self', |
| 130 '-Wpointer-arith', | 130 '-Wpointer-arith', |
| 131 | 131 |
| 132 '-Wno-unused-parameter', | 132 '-Wno-unused-parameter', |
| 133 '-Wno-c++11-extensions', | |
| 134 ], | 133 ], |
| 135 'cflags_cc': [ | 134 'cflags_cc': [ |
| 136 '-fno-rtti', | 135 '-fno-rtti', |
| 137 '-Wnon-virtual-dtor', | 136 '-Wnon-virtual-dtor', |
| 138 ], | 137 ], |
| 139 'conditions': [ | 138 'conditions': [ |
| 139 [ 'skia_android_framework==0', { |
| 140 'cflags': [ |
| 141 # This flag is not supported by Android build system. |
| 142 '-Wno-c++11-extensions', |
| 143 ], |
| 144 }], |
| 140 [ 'skia_warnings_as_errors', { | 145 [ 'skia_warnings_as_errors', { |
| 141 'cflags': [ | 146 'cflags': [ |
| 142 '-Werror', | 147 '-Werror', |
| 143 ], | 148 ], |
| 144 }], | 149 }], |
| 145 # For profiling; reveals some costs, exaggerates others (e.g. trivial
setters & getters). | 150 # For profiling; reveals some costs, exaggerates others (e.g. trivial
setters & getters). |
| 146 [ 'skia_disable_inlining', { | 151 [ 'skia_disable_inlining', { |
| 147 'cflags': [ | 152 'cflags': [ |
| 148 '-fno-inline', | 153 '-fno-inline', |
| 149 '-fno-default-inline', | 154 '-fno-default-inline', |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 'defines': [ | 516 'defines': [ |
| 512 'SK_USE_POSIX_THREADS', | 517 'SK_USE_POSIX_THREADS', |
| 513 ], | 518 ], |
| 514 }], | 519 }], |
| 515 ], # end 'conditions' | 520 ], # end 'conditions' |
| 516 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 521 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 517 'xcode_settings': { | 522 'xcode_settings': { |
| 518 'SYMROOT': '<(DEPTH)/xcodebuild', | 523 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 519 }, | 524 }, |
| 520 } | 525 } |
| OLD | NEW |