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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 ], | 156 ], |
157 'ldflags': [ | 157 'ldflags': [ |
158 '-pthread', | 158 '-pthread', |
159 ], | 159 ], |
160 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], | 160 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], |
161 'msvs_configuration_attributes': { | 161 'msvs_configuration_attributes': { |
162 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', | 162 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', |
163 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | 163 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', |
164 'CharacterSet': '1', | 164 'CharacterSet': '1', |
165 }, | 165 }, |
166 'msvs_disabled_warnings': [4800, 4996], | 166 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091], |
| 167 # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in |
| 168 # VS2015. |
| 169 # C4091: 'typedef ': ignored on left of 'X' when no variable is |
| 170 # declared. |
| 171 # This happens in a number of Windows headers with VS 2015. |
167 'msvs_settings': { | 172 'msvs_settings': { |
168 'VCCLCompilerTool': { | 173 'VCCLCompilerTool': { |
169 'MinimalRebuild': 'false', | 174 'MinimalRebuild': 'false', |
170 'BufferSecurityCheck': 'true', | 175 'BufferSecurityCheck': 'true', |
171 'EnableFunctionLevelLinking': 'true', | 176 'EnableFunctionLevelLinking': 'true', |
172 'RuntimeTypeInfo': 'false', | 177 'RuntimeTypeInfo': 'false', |
173 'WarningLevel': '3', | 178 'WarningLevel': '3', |
174 'DebugInformationFormat': '3', | 179 'DebugInformationFormat': '3', |
175 'Detect64BitPortabilityProblems': 'false', | 180 'Detect64BitPortabilityProblems': 'false', |
176 'conditions': [ | 181 'conditions': [ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 'V8_USE_EXTERNAL_STARTUP_DATA', | 273 'V8_USE_EXTERNAL_STARTUP_DATA', |
269 ], | 274 ], |
270 }, | 275 }, |
271 }], # v8_use_external_startup_data==1 | 276 }], # v8_use_external_startup_data==1 |
272 ], | 277 ], |
273 'xcode_settings': { | 278 'xcode_settings': { |
274 # See comment in Chromium's common.gypi for why this is needed. | 279 # See comment in Chromium's common.gypi for why this is needed. |
275 'SYMROOT': '<(DEPTH)/xcodebuild', | 280 'SYMROOT': '<(DEPTH)/xcodebuild', |
276 } | 281 } |
277 } | 282 } |
OLD | NEW |