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

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

Issue 1126703005: Fix ASAN build in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | mandoline/ui/aura/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Contains the dependencies needed for asan to link into executables and 5 # Contains the dependencies needed for asan to link into executables and
6 # shared_libraries. Unconditionally depend upon this target as it is empty if 6 # shared_libraries. Unconditionally depend upon this target as it is empty if
7 # |is_asan| is false. 7 # |is_asan| is false.
8 group("deps") { 8 group("deps") {
9 if (is_asan) { 9 if (is_asan) {
10 public_configs = [ ":sanitizer_options_link_helper" ] 10 public_configs = [ ":sanitizer_options_link_helper" ]
(...skipping 12 matching lines...) Expand all
23 23
24 source_set("options_sources") { 24 source_set("options_sources") {
25 visibility = [ 25 visibility = [
26 ":deps", 26 ":deps",
27 "//:gn_visibility", 27 "//:gn_visibility",
28 ] 28 ]
29 sources = [ 29 sources = [
30 "//build/sanitizers/sanitizer_options.cc", 30 "//build/sanitizers/sanitizer_options.cc",
31 ] 31 ]
32 32
33 if (is_asan) {
34 sources += [ "//build/sanitizers/asan_suppressions.cc" ]
35 }
36
33 if (is_tsan) { 37 if (is_tsan) {
34 sources += [ "//build/sanitizers/tsan_suppressions.cc" ] 38 sources += [ "//build/sanitizers/tsan_suppressions.cc" ]
35 } 39 }
36 } 40 }
OLDNEW
« no previous file with comments | « no previous file | mandoline/ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698