| OLD | NEW |
| 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 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 if (current_cpu == "arm") { | 7 if (current_cpu == "arm") { |
| 8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
| 9 } | 9 } |
| 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { | 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 # This is a separate config so that third_party code (which would not use the | 77 # This is a separate config so that third_party code (which would not use the |
| 78 # source root and might have conflicting versions of some headers) can remove | 78 # source root and might have conflicting versions of some headers) can remove |
| 79 # this and specify their own include paths. | 79 # this and specify their own include paths. |
| 80 config("default_include_dirs") { | 80 config("default_include_dirs") { |
| 81 include_dirs = [ | 81 include_dirs = [ |
| 82 "//", | 82 "//", |
| 83 root_gen_dir, | 83 root_gen_dir, |
| 84 ] | 84 ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 # TODO(GYP): is_ubsan, is_ubsan_vptr | 87 # TODO(GYP) bug 527515: is_ubsan, is_ubsan_vptr |
| 88 if (!is_win) { | 88 if (!is_win) { |
| 89 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan | 89 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan |
| 90 } | 90 } |
| 91 | 91 |
| 92 # compiler --------------------------------------------------------------------- | 92 # compiler --------------------------------------------------------------------- |
| 93 # | 93 # |
| 94 # Base compiler configuration. | 94 # Base compiler configuration. |
| 95 # | 95 # |
| 96 # See also "runtime_library" below for related stuff and a discussion about | 96 # See also "runtime_library" below for related stuff and a discussion about |
| 97 # where stuff should go. Put warning related stuff in the "warnings" config. | 97 # where stuff should go. Put warning related stuff in the "warnings" config. |
| (...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 cflags += [ "-gsplit-dwarf" ] | 1342 cflags += [ "-gsplit-dwarf" ] |
| 1343 } | 1343 } |
| 1344 } | 1344 } |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 config("no_symbols") { | 1347 config("no_symbols") { |
| 1348 if (!is_win) { | 1348 if (!is_win) { |
| 1349 cflags = [ "-g0" ] | 1349 cflags = [ "-g0" ] |
| 1350 } | 1350 } |
| 1351 } | 1351 } |
| OLD | NEW |