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

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

Issue 1150193002: GN: Add support for prebuilt instrumented libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « build/config/compiler/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('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 import("//build/config/sanitizers/sanitizers.gni") 5 import("//build/config/sanitizers/sanitizers.gni")
6 6
7 # Contains the dependencies needed for sanitizers to link into executables and 7 # Contains the dependencies needed for sanitizers to link into executables and
8 # shared_libraries. Unconditionally depend upon this target as it is empty if 8 # shared_libraries. Unconditionally depend upon this target as it is empty if
9 # |is_asan|, |is_lsan|, |is_tsan|, |is_msan| and |use_custom_libcxx| are false. 9 # |is_asan|, |is_lsan|, |is_tsan|, |is_msan| and |use_custom_libcxx| are false.
10 group("deps") { 10 group("deps") {
11 deps = [] 11 deps = [
12 "//third_party/instrumented_libraries:deps",
13 ]
12 if (is_asan || is_lsan || is_tsan || is_msan) { 14 if (is_asan || is_lsan || is_tsan || is_msan) {
13 public_configs = [ ":sanitizer_options_link_helper" ] 15 public_configs = [ ":sanitizer_options_link_helper" ]
14 deps += [ ":options_sources" ] 16 deps += [ ":options_sources" ]
15 } 17 }
16 if (use_custom_libcxx) { 18 if (use_custom_libcxx) {
17 deps += [ "//buildtools/third_party/libc++:libcxx_proxy" ] 19 deps += [ "//buildtools/third_party/libc++:libcxx_proxy" ]
18 } 20 }
19 } 21 }
20 22
21 config("sanitizer_options_link_helper") { 23 config("sanitizer_options_link_helper") {
(...skipping 26 matching lines...) Expand all
48 } 50 }
49 51
50 if (is_lsan) { 52 if (is_lsan) {
51 sources += [ "//build/sanitizers/lsan_suppressions.cc" ] 53 sources += [ "//build/sanitizers/lsan_suppressions.cc" ]
52 } 54 }
53 55
54 if (is_tsan) { 56 if (is_tsan) {
55 sources += [ "//build/sanitizers/tsan_suppressions.cc" ] 57 sources += [ "//build/sanitizers/tsan_suppressions.cc" ]
56 } 58 }
57 } 59 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698