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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 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 | build/mac/chrome_mac.croc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium 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 declare_args() { 5 declare_args() {
6 # The optimization level to use for debug builds. 6 # The optimization level to use for debug builds.
7 if (is_android) { 7 if (is_android) {
8 # On Android we kind of optimize some things that don't affect debugging 8 # On Android we kind of optimize some things that don't affect debugging
9 # much even when optimization is disabled to get the binary size down. 9 # much even when optimization is disabled to get the binary size down.
10 debug_optimization_level = "s" 10 debug_optimization_level = "s"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 "-fvisibility-inlines-hidden", 83 "-fvisibility-inlines-hidden",
84 84
85 # We need the frame pointer for CPU and heap profiling. 85 # We need the frame pointer for CPU and heap profiling.
86 "-fno-omit-frame-pointer", 86 "-fno-omit-frame-pointer",
87 ] 87 ]
88 cflags_cc += common_flags 88 cflags_cc += common_flags
89 cflags_objcc += common_flags 89 cflags_objcc += common_flags
90 90
91 # Linker warnings. 91 # Linker warnings.
92 if (current_cpu != "arm" && !is_mac) { 92 if (current_cpu != "arm" && !is_mac) {
93 # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 93 # TODO(jochen): Enable this on ChromeOS on arm. http://crbug.com/356580
94 ldflags += [ "-Wl,--fatal-warnings" ] 94 ldflags += [ "-Wl,--fatal-warnings" ]
95 } 95 }
96 96
97 # Common options for AddressSanitizer, LeakSanitizer, ThreadSanitizer and 97 # Common options for AddressSanitizer, LeakSanitizer, ThreadSanitizer and
98 # MemorySanitizer 98 # MemorySanitizer
99 if (using_sanitizer) { 99 if (using_sanitizer) {
100 cflags += [ "-gline-tables-only" ] 100 cflags += [ "-gline-tables-only" ]
101 } 101 }
102 if (is_asan) { 102 if (is_asan) {
103 cflags += [ "-fsanitize=address" ] 103 cflags += [ "-fsanitize=address" ]
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 cflags = [ "/Zi" ] # Produce PDB file, no edit and continue. 786 cflags = [ "/Zi" ] # Produce PDB file, no edit and continue.
787 } 787 }
788 ldflags = [ "/DEBUG" ] 788 ldflags = [ "/DEBUG" ]
789 } else { 789 } else {
790 cflags = [ 790 cflags = [
791 "-g3", 791 "-g3",
792 "-ggdb3", 792 "-ggdb3",
793 ] 793 ]
794 } 794 }
795 } 795 }
OLDNEW
« no previous file with comments | « no previous file | build/mac/chrome_mac.croc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698