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_HINTING_SCALE_FACTOR', | 6 # 'SK_SUPPORT_HINTING_SCALE_FACTOR', |
7 ], | 7 ], |
8 'conditions' : [ | 8 'conditions' : [ |
9 [ 'skia_gpu == 1', | 9 [ 'skia_gpu == 1', |
10 { | 10 { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 }, | 133 }, |
134 }, | 134 }, |
135 'cflags': [ | 135 'cflags': [ |
136 '-Wall', | 136 '-Wall', |
137 '-Wextra', | 137 '-Wextra', |
138 # suppressions below here were added for clang | 138 # suppressions below here were added for clang |
139 '-Wno-unused-parameter', | 139 '-Wno-unused-parameter', |
140 '-Wno-c++11-extensions' | 140 '-Wno-c++11-extensions' |
141 ], | 141 ], |
142 'conditions' : [ | 142 'conditions' : [ |
| 143 [ 'skia_shared_lib', { |
| 144 'cflags': [ |
| 145 '-fPIC', |
| 146 ], |
| 147 'defines': [ |
| 148 'GR_DLL=1', |
| 149 'GR_IMPLEMENTATION=1', |
| 150 'SKIA_DLL', |
| 151 'SKIA_IMPLEMENTATION=1', |
| 152 ], |
| 153 }], |
143 [ 'skia_warnings_as_errors', { | 154 [ 'skia_warnings_as_errors', { |
144 'cflags': [ | 155 'cflags': [ |
145 '-Werror', | 156 '-Werror', |
146 ], | 157 ], |
147 }], | 158 }], |
148 [ 'skia_os == "nacl"', { | 159 [ 'skia_os == "nacl"', { |
149 'defines': [ | 160 'defines': [ |
150 'SK_BUILD_FOR_NACL', | 161 'SK_BUILD_FOR_NACL', |
151 ], | 162 ], |
152 'link_settings': { | 163 'link_settings': { |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 'xcode_settings': { | 425 'xcode_settings': { |
415 'SYMROOT': '<(DEPTH)/xcodebuild', | 426 'SYMROOT': '<(DEPTH)/xcodebuild', |
416 }, | 427 }, |
417 } | 428 } |
418 | 429 |
419 # Local Variables: | 430 # Local Variables: |
420 # tab-width:2 | 431 # tab-width:2 |
421 # indent-tabs-mode:nil | 432 # indent-tabs-mode:nil |
422 # End: | 433 # End: |
423 # vim: set expandtab tabstop=2 shiftwidth=2: | 434 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |