Chromium Code Reviews| 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 # Code should someday be made clean for -Wmissing-field-initializers | |
|
brucedawson
2015/04/16 20:54:24
I am not convinced that code should ever be made c
| |
| 148 # and -Wsign-compare, but for now this produces too much noise to be | |
| 149 # useful. | |
| 150 '-Wno-missing-field-initializers', | |
| 151 '-Wno-sign-compare', | |
| 147 '-Wno-unused-parameter', | 152 '-Wno-unused-parameter', |
| 148 '-pthread', | 153 '-pthread', |
| 149 '-fno-exceptions', | 154 '-fno-exceptions', |
| 150 '-fvisibility=hidden', | 155 '-fvisibility=hidden', |
| 151 ], | 156 ], |
| 152 'cflags_cc': [ | 157 'cflags_cc': [ |
| 153 '-std=gnu++0x', | 158 '-std=gnu++0x', |
| 154 '-Wnon-virtual-dtor', | 159 '-Wnon-virtual-dtor', |
| 155 '-fno-rtti', | 160 '-fno-rtti', |
| 156 ], | 161 ], |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 273 'V8_USE_EXTERNAL_STARTUP_DATA', | 278 'V8_USE_EXTERNAL_STARTUP_DATA', |
| 274 ], | 279 ], |
| 275 }, | 280 }, |
| 276 }], # v8_use_external_startup_data==1 | 281 }], # v8_use_external_startup_data==1 |
| 277 ], | 282 ], |
| 278 'xcode_settings': { | 283 'xcode_settings': { |
| 279 # See comment in Chromium's common.gypi for why this is needed. | 284 # See comment in Chromium's common.gypi for why this is needed. |
| 280 'SYMROOT': '<(DEPTH)/xcodebuild', | 285 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 281 } | 286 } |
| 282 } | 287 } |
| OLD | NEW |