Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: build/standalone.gypi

Issue 1146933002: Turn on warnings for usage of disabled V8 APIs (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 '-fvisibility=hidden', 154 '-fvisibility=hidden',
155 ], 155 ],
156 'cflags_cc': [ 156 'cflags_cc': [
157 '-std=gnu++0x', 157 '-std=gnu++0x',
158 '-Wnon-virtual-dtor', 158 '-Wnon-virtual-dtor',
159 '-fno-rtti', 159 '-fno-rtti',
160 ], 160 ],
161 'ldflags': [ 161 'ldflags': [
162 '-pthread', 162 '-pthread',
163 ], 163 ],
164 'defines': [
165 # Don't use deprecated V8 APIs anywhere.
166 'V8_DEPRECATION_WARNINGS',
167 ],
164 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], 168 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'],
165 'msvs_configuration_attributes': { 169 'msvs_configuration_attributes': {
166 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', 170 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
167 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', 171 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
168 'CharacterSet': '1', 172 'CharacterSet': '1',
169 }, 173 },
170 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091], 174 'msvs_disabled_warnings': [4800, 4996, 4456, 4457, 4458, 4459, 4091],
171 # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in 175 # 4456, 4457, 4458, 4459 are variable shadowing warnings that are new in
172 # VS2015. 176 # VS2015.
173 # C4091: 'typedef ': ignored on left of 'X' when no variable is 177 # C4091: 'typedef ': ignored on left of 'X' when no variable is
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 'defines': [ 280 'defines': [
277 'V8_USE_EXTERNAL_STARTUP_DATA', 281 'V8_USE_EXTERNAL_STARTUP_DATA',
278 ], 282 ],
279 }, 283 },
280 }], # v8_use_external_startup_data==1 284 }], # v8_use_external_startup_data==1
281 ], 285 ],
282 'xcode_settings': { 286 'xcode_settings': {
283 # See comment in Chromium's common.gypi for why this is needed. 287 # See comment in Chromium's common.gypi for why this is needed.
284 'SYMROOT': '<(DEPTH)/xcodebuild', 288 'SYMROOT': '<(DEPTH)/xcodebuild',
285 } 289 }
286 } 290 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698