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

Side by Side Diff: build/standalone.gypi

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