OLD | NEW |
1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 PDFium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Definitions to be used when building stand-alone PDFium binaries. | 5 # Definitions to be used when building stand-alone PDFium binaries. |
6 | 6 |
7 { | 7 { |
8 'variables': { | 8 'variables': { |
9 'component%': 'static_library', | 9 'component%': 'static_library', |
10 'clang%': 0, | 10 'clang%': 0, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 'msvs_configuration_platform': 'x64', | 137 'msvs_configuration_platform': 'x64', |
138 }, | 138 }, |
139 'Release_x64': { | 139 'Release_x64': { |
140 'inherit_from': ['Release'], | 140 'inherit_from': ['Release'], |
141 'msvs_configuration_platform': 'x64', | 141 'msvs_configuration_platform': 'x64', |
142 }, | 142 }, |
143 }, | 143 }, |
144 'cflags': [ | 144 'cflags': [ |
145 '-Wall', | 145 '-Wall', |
146 '-W', | 146 '-W', |
| 147 '-Wno-missing-field-initializers', |
| 148 # Code might someday be made clean for -Wsign-compare, but for now |
| 149 # this produces too much noise to be useful. |
| 150 '-Wno-sign-compare', |
147 '-Wno-unused-parameter', | 151 '-Wno-unused-parameter', |
148 '-pthread', | 152 '-pthread', |
149 '-fno-exceptions', | 153 '-fno-exceptions', |
150 '-fvisibility=hidden', | 154 '-fvisibility=hidden', |
151 ], | 155 ], |
152 'cflags_cc': [ | 156 'cflags_cc': [ |
153 '-std=gnu++0x', | 157 '-std=gnu++0x', |
154 '-Wnon-virtual-dtor', | 158 '-Wnon-virtual-dtor', |
155 '-fno-rtti', | 159 '-fno-rtti', |
156 ], | 160 ], |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 'V8_USE_EXTERNAL_STARTUP_DATA', | 277 'V8_USE_EXTERNAL_STARTUP_DATA', |
274 ], | 278 ], |
275 }, | 279 }, |
276 }], # v8_use_external_startup_data==1 | 280 }], # v8_use_external_startup_data==1 |
277 ], | 281 ], |
278 'xcode_settings': { | 282 'xcode_settings': { |
279 # See comment in Chromium's common.gypi for why this is needed. | 283 # See comment in Chromium's common.gypi for why this is needed. |
280 'SYMROOT': '<(DEPTH)/xcodebuild', | 284 'SYMROOT': '<(DEPTH)/xcodebuild', |
281 } | 285 } |
282 } | 286 } |
OLD | NEW |