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

Side by Side Diff: build_gyp/standalone.gypi

Issue 1949303002: Enable 'treating warnings as errors' for 64 bit Win builds (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 4 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 | « no previous file | xfa/fxfa/parser/xfa_object_imp.cpp » ('j') | 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 # Do not add PDFium specific entries here. Add them to the top. 293 # Do not add PDFium specific entries here. Add them to the top.
294 # #### 294 # ####
295 ], 295 ],
296 'msvs_settings': { 296 'msvs_settings': {
297 'VCCLCompilerTool': { 297 'VCCLCompilerTool': {
298 'MinimalRebuild': 'false', 298 'MinimalRebuild': 'false',
299 'BufferSecurityCheck': 'true', 299 'BufferSecurityCheck': 'true',
300 'EnableFunctionLevelLinking': 'true', 300 'EnableFunctionLevelLinking': 'true',
301 'RuntimeTypeInfo': 'false', 301 'RuntimeTypeInfo': 'false',
302 'WarningLevel': '3', 302 'WarningLevel': '3',
303 'WarnAsError': 'true',
303 'DebugInformationFormat': '3', 304 'DebugInformationFormat': '3',
304 'Detect64BitPortabilityProblems': 'false', 305 'Detect64BitPortabilityProblems': 'false',
305 'conditions': [ 306 'conditions': [
306 [ 'msvs_multi_core_compile', { 307 [ 'msvs_multi_core_compile', {
307 'AdditionalOptions': ['/MP'], 308 'AdditionalOptions': ['/MP'],
308 }], 309 }],
309 ['component=="shared_library"', { 310 ['component=="shared_library"', {
310 'ExceptionHandling': '1', # /EHsc 311 'ExceptionHandling': '1', # /EHsc
311 }, { 312 }, {
312 'ExceptionHandling': '0', 313 'ExceptionHandling': '0',
313 }], 314 }],
314 ['target_arch=="x64"', {
315 # 64-bit warnings need to be resolved.
316 # https://code.google.com/p/pdfium/issues/detail?id=101
317 'WarnAsError': 'false',
318 }, {
319 'WarnAsError': 'true',
320 }],
321 ['clang==1', { 315 ['clang==1', {
322 'AdditionalOptions': [ 316 'AdditionalOptions': [
323 # Don't warn about unused function parameters. 317 # Don't warn about unused function parameters.
324 # (This is also used on other platforms.) 318 # (This is also used on other platforms.)
325 '-Wno-unused-parameter', 319 '-Wno-unused-parameter',
326 # Don't warn about the "struct foo f = {0};" initialization 320 # Don't warn about the "struct foo f = {0};" initialization
327 # pattern. 321 # pattern.
328 '-Wno-missing-field-initializers', 322 '-Wno-missing-field-initializers',
329 323
330 # Many files use intrinsics without including this header. 324 # Many files use intrinsics without including this header.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 ], 491 ],
498 }], # OS=="win" 492 }], # OS=="win"
499 ["use_goma==1", { 493 ["use_goma==1", {
500 'make_global_settings': [ 494 'make_global_settings': [
501 ['CC_wrapper', '<(gomadir)/gomacc'], 495 ['CC_wrapper', '<(gomadir)/gomacc'],
502 ['CXX_wrapper', '<(gomadir)/gomacc'], 496 ['CXX_wrapper', '<(gomadir)/gomacc'],
503 ], 497 ],
504 }], # use_goma==1 498 }], # use_goma==1
505 ], 499 ],
506 } 500 }
OLDNEW
« no previous file with comments | « no previous file | xfa/fxfa/parser/xfa_object_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698