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

Side by Side Diff: build/sanitizers/sanitizers.gyp

Issue 737233004: Add the llvm-symbolizer target which can be used by LKGR bots to package the symbolizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable the llvm-symbolizer target for non-Clang builds. 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 | no next file » | 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'sanitizer_options', 8 'target_name': 'sanitizer_options',
9 'type': 'static_library', 9 'type': 'static_library',
10 'toolsets': ['host', 'target'], 10 'toolsets': ['host', 'target'],
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ['_type=="executable"', { 49 ['_type=="executable"', {
50 'xcode_settings': { 50 'xcode_settings': {
51 'OTHER_LDFLAGS': [ 51 'OTHER_LDFLAGS': [
52 '-Wl,-u,__sanitizer_options_link_helper', 52 '-Wl,-u,__sanitizer_options_link_helper',
53 ], 53 ],
54 }, 54 },
55 }], 55 }],
56 ], 56 ],
57 }, 57 },
58 }, 58 },
59 {
60 # Copy llvm-symbolizer to the product dir so that LKGR bots can package it .
61 'target_name': 'llvm-symbolizer',
62 'type': 'none',
63 'variables': {
64 # Path is relative to this GYP file.
65 'llvm_symbolizer_path':
66 '../../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer',
67 },
68 'conditions': [
69 ['clang==1', {
70 'copies': [
71 {
72 'destination': '<(PRODUCT_DIR)',
73 'files': [
74 '<(llvm_symbolizer_path)',
75 ],
76 },
77 ],
78 }],
79 ],
80 },
59 ], 81 ],
60 } 82 }
61 83
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698