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

Side by Side Diff: build/standalone.gypi

Issue 1584713004: Merge to XFA: Use _GLIBCXX_DEBUG in standalone Debug builds on Linux. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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 | 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 }], 93 }],
94 ], 94 ],
95 }, 95 },
96 'VCLinkerTool': { 96 'VCLinkerTool': {
97 'LinkIncremental': '2', 97 'LinkIncremental': '2',
98 }, 98 },
99 }, 99 },
100 'xcode_settings': { 100 'xcode_settings': {
101 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 101 'GCC_OPTIMIZATION_LEVEL': '0', # -O0
102 }, 102 },
103 'conditions': [
104 ['OS=="linux"', {
105 # Enable libstdc++ debugging to help catch problems early.
106 'defines': ['_GLIBCXX_DEBUG=1',],
107 }],
108 ],
103 }, 109 },
104 'Release': { 110 'Release': {
105 'cflags': [ 111 'cflags': [
106 '-fno-strict-aliasing', 112 '-fno-strict-aliasing',
107 ], 113 ],
108 'xcode_settings': { 114 'xcode_settings': {
109 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 115 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
110 'GCC_STRICT_ALIASING': 'NO', 116 'GCC_STRICT_ALIASING': 'NO',
111 }, 117 },
112 'msvs_settings': { 118 'msvs_settings': {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 ], 446 ],
441 }], # OS=="linux" or OS=="mac" 447 }], # OS=="linux" or OS=="mac"
442 ["use_goma==1", { 448 ["use_goma==1", {
443 'make_global_settings': [ 449 'make_global_settings': [
444 ['CC_wrapper', '<(gomadir)/gomacc'], 450 ['CC_wrapper', '<(gomadir)/gomacc'],
445 ['CXX_wrapper', '<(gomadir)/gomacc'], 451 ['CXX_wrapper', '<(gomadir)/gomacc'],
446 ], 452 ],
447 }], # use_goma==1 453 }], # use_goma==1
448 ], 454 ],
449 } 455 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698