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

Side by Side Diff: third_party/instrumented_libraries/standard_instrumented_package_target.gypi

Issue 390093002: Instrumented libraries: use package-specific sanitizer blacklists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: undo accidental whitespace change Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « third_party/instrumented_libraries/instrumented_libraries.gyp ('k') | 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 # This file is meant to be included into a target for instrumented dynamic 5 # This file is meant to be included into a target for instrumented dynamic
6 # packages and describes standard build action for most of the packages. 6 # packages and describes standard build action for most of the packages.
7 7
8 { 8 {
9 'target_name': '<(_sanitizer_type)-<(_package_name)', 9 'target_name': '<(_sanitizer_type)-<(_package_name)',
10 'type': 'none', 10 'type': 'none',
11 'actions': [ 11 'actions': [
12 { 12 {
13 'action_name': '<(_package_name)', 13 'action_name': '<(_package_name)',
14 'inputs': [ 14 'inputs': [
15 # TODO(earthdok): reintroduce some sort of dependency 15 # TODO(earthdok): reintroduce some sort of dependency
16 # See http://crbug.com/343515 16 # See http://crbug.com/343515
17 #'download_build_install.py', 17 #'download_build_install.py',
18 ], 18 ],
19 'outputs': [ 19 'outputs': [
20 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_nam e).txt', 20 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_nam e).txt',
21 ], 21 ],
22 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins tall.py', 22 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins tall.py',
23 '--product-directory=<(PRODUCT_DIR)', 23 '--product-directory=<(PRODUCT_DIR)',
24 '--package=<(_package_name)', 24 '--package=<(_package_name)',
25 '--intermediate-directory=<(INTERMEDIATE_DIR)', 25 '--intermediate-directory=<(INTERMEDIATE_DIR)',
26 '--sanitizer-type=<(_sanitizer_type)', 26 '--sanitizer-type=<(_sanitizer_type)',
27 '--extra-configure-flags=>(_extra_configure_flags)', 27 '--extra-configure-flags=>(_extra_configure_flags)',
28 '--cflags=>(_package_cflags)', 28 '--cflags=>(_package_cflags)',
29 '--ldflags=>(_package_ldflags)', 29 '--ldflags=>(_package_ldflags)',
30 '--patch=>(_patch)',
31 '--run-before-build=>(_run_before_build)',
32 '--cc=<(_cc)', 30 '--cc=<(_cc)',
33 '--cxx=<(_cxx)', 31 '--cxx=<(_cxx)',
34 '--jobs=>(_jobs)', 32 '--jobs=>(_jobs)',
35 '--build-method=>(_build_method)', 33 '--build-method=>(_build_method)',
36 '--sanitizer-blacklist=>(_sanitizer_blacklist)',
37 ], 34 ],
38 'conditions': [ 35 'conditions': [
39 ['verbose_libraries_build==1', { 36 ['verbose_libraries_build==1', {
40 'action+': [ 37 'action+': [
41 '--verbose', 38 '--verbose',
42 ], 39 ],
43 }], 40 }],
44 ], 41 ],
45 'target_conditions': [ 42 'target_conditions': [
46 ['">(_patch)"!=""', { 43 ['">(_patch)"!=""', {
44 'action+': [
45 '--patch=>(_patch)',
46 ],
47 'inputs+': [ 47 'inputs+': [
48 '>(_patch)', 48 '>(_patch)',
49 ], 49 ],
50 }], 50 }],
51 ['">(_run_before_build)"!=""', { 51 ['">(_run_before_build)"!=""', {
52 'action+': [
53 '--run-before-build=>(_run_before_build)',
54 ],
52 'inputs+': [ 55 'inputs+': [
53 '>(_run_before_build)', 56 '>(_run_before_build)',
54 ], 57 ],
55 }], 58 }],
59 ['">(_<(_sanitizer_type)_blacklist)"!=""', {
60 'action+': [
61 '--sanitizer-blacklist=>(_<(_sanitizer_type)_blacklist)',
62 ],
63 'inputs+': [
64 '>(_<(_sanitizer_type)_blacklist)',
65 ],
66 }],
56 ], 67 ],
57 }, 68 },
58 ], 69 ],
59 } 70 }
OLDNEW
« no previous file with comments | « third_party/instrumented_libraries/instrumented_libraries.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698