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

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

Issue 694263004: Fix windows GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | net/BUILD.gn » ('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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 if (cpu_arch == "arm") { 6 if (cpu_arch == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 if (is_posix) { 9 if (is_posix) {
10 import("//build/config/gcc/gcc_version.gni") 10 import("//build/config/gcc/gcc_version.gni")
(...skipping 28 matching lines...) Expand all
39 # source root and might have conflicting versions of some headers) can remove 39 # source root and might have conflicting versions of some headers) can remove
40 # this and specify their own include paths. 40 # this and specify their own include paths.
41 config("default_include_dirs") { 41 config("default_include_dirs") {
42 include_dirs = [ 42 include_dirs = [
43 "//", 43 "//",
44 root_gen_dir, 44 root_gen_dir,
45 ] 45 ]
46 } 46 }
47 47
48 # TODO(GYP): is_ubsan, is_ubsan_vptr 48 # TODO(GYP): is_ubsan, is_ubsan_vptr
49 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan 49 if (!is_win) {
50 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan
51 }
50 52
51 # compiler --------------------------------------------------------------------- 53 # compiler ---------------------------------------------------------------------
52 # 54 #
53 # Base compiler configuration. 55 # Base compiler configuration.
54 # 56 #
55 # See also "runtime_library" below for related stuff and a discusison about 57 # See also "runtime_library" below for related stuff and a discusison about
56 # where stuff should go. Put warning related stuff in the "warnings" config. 58 # where stuff should go. Put warning related stuff in the "warnings" config.
57 59
58 config("compiler") { 60 config("compiler") {
59 cflags = [] 61 cflags = []
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 cflags += [ "-gsplit-dwarf" ] 954 cflags += [ "-gsplit-dwarf" ]
953 } 955 }
954 } 956 }
955 } 957 }
956 958
957 config("no_symbols") { 959 config("no_symbols") {
958 if (!is_win) { 960 if (!is_win) {
959 cflags = [ "-g0" ] 961 cflags = [ "-g0" ]
960 } 962 }
961 } 963 }
OLDNEW
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698