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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 '-fvisibility=hidden', | 150 '-fvisibility=hidden', |
151 ], | 151 ], |
152 'cflags_cc': [ | 152 'cflags_cc': [ |
153 '-std=gnu++0x', | 153 '-std=gnu++0x', |
154 '-Wnon-virtual-dtor', | 154 '-Wnon-virtual-dtor', |
155 '-fno-rtti', | 155 '-fno-rtti', |
156 ], | 156 ], |
157 'ldflags': [ | 157 'ldflags': [ |
158 '-pthread', | 158 '-pthread', |
159 ], | 159 ], |
| 160 'defines': [ |
| 161 # Don't use deprecated V8 APIs anywhere. |
| 162 'V8_DEPRECATION_WARNINGS', |
| 163 ], |
160 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], | 164 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], |
161 'msvs_configuration_attributes': { | 165 'msvs_configuration_attributes': { |
162 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', | 166 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', |
163 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | 167 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', |
164 'CharacterSet': '1', | 168 'CharacterSet': '1', |
165 }, | 169 }, |
166 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091], | 170 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091], |
167 # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in | 171 # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in |
168 # VS2015. | 172 # VS2015. |
169 # C4091: 'typedef ': ignored on left of 'X' when no variable is | 173 # C4091: 'typedef ': ignored on left of 'X' when no variable is |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 'defines': [ | 276 'defines': [ |
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 |