summaryrefslogtreecommitdiffstats
path: root/build/sanitizers/BUILD.gn
diff options
context:
space:
mode:
authordpranke <dpranke@chromium.org>2015-03-07 20:22:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-08 04:23:38 +0000
commitdb5527d777f1e0cdbaec2bca579bec33aaf7497e (patch)
treebd5fff2098e9db5fb1cdaafea0e8809b8d2e59b1 /build/sanitizers/BUILD.gn
parent53f125e71fe78a1fa0e457622a83487fce117062 (diff)
downloadchromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.zip
chromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.tar.gz
chromium_src-db5527d777f1e0cdbaec2bca579bec33aaf7497e.tar.bz2
Add remaining trivial targets for the Linux GN build
This patch adds a whole bunch of small targets that had either already been done but weren't mentioned in the 'gn_all' group, or needed to be done. In theory this should produce no change on any platform other than Linux, except for one small windows target. R=brettw@chromium.org TBR=dtu@chromium.org BUG=432959 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Review URL: https://codereview.chromium.org/975123003 Cr-Commit-Position: refs/heads/master@{#319580}
Diffstat (limited to 'build/sanitizers/BUILD.gn')
-rw-r--r--build/sanitizers/BUILD.gn24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/sanitizers/BUILD.gn b/build/sanitizers/BUILD.gn
new file mode 100644
index 0000000..4f81f3e
--- /dev/null
+++ b/build/sanitizers/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright (c) 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if (is_linux && !is_chromeos) {
+ # TODO(GYP): Figure out which of these work and are needed on other platforms.
+ copy("copy_llvm_symbolizer") {
+ if (is_win) {
+ sources = [
+ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe",
+ ]
+ outputs = [
+ "$root_out_dir/llvm-symbolizer.exe",
+ ]
+ } else {
+ sources = [
+ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer",
+ ]
+ outputs = [
+ "$root_out_dir/llvm-symbolizer",
+ ]
+ }
+ }
+}