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

Side by Side Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 96083003: Add instrumented libraries build with msan (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'conditions': [
7 ['asan==1', {
8 'sanitizer_type': 'asan',
9 }],
10 ['msan==1', {
11 'sanitizer_type': 'msan',
12 }],
13 ],
6 'targets': [ 14 'targets': [
7 { 15 {
8 'target_name': 'instrumented_libraries', 16 'target_name': 'instrumented_libraries',
9 'type': 'none', 17 'type': 'none',
10 'variables': { 18 'variables': {
11 'prune_self_dependency': 1, 19 'prune_self_dependency': 1,
12 }, 20 },
13 'dependencies': [ 21 'dependencies': [
14 'libpng12-0', 22 'libpng12-0',
15 'libxau6', 23 'libxau6',
16 'libglib2.0-0', 24 'libglib2.0-0',
17 ], 25 ],
18 'actions': [ 26 'actions': [
19 { 27 {
20 'action_name': 'fix_rpaths', 28 'action_name': 'fix_rpaths',
21 'inputs': [ 29 'inputs': [
22 'fix_rpaths.sh', 30 'fix_rpaths.sh',
23 ], 31 ],
24 'outputs': [ 32 'outputs': [
25 '<(PRODUCT_DIR)/instrumented_libraries/asan/rpaths.fixed.txt', 33 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fix ed.txt',
26 ], 34 ],
27 'action': ['./fix_rpaths.sh', '<(PRODUCT_DIR)/instrumented_libraries/a san'], 35 'action': [
36 '<(DEPTH)/third_party/instrumented_libraries/fix_rpaths.sh',
37 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)'
38 ],
28 }, 39 },
29 ], 40 ],
30 }, 41 },
31 { 42 {
32 'target_name': 'libpng12-0', 43 'target_name': 'libpng12-0',
33 'dependencies=': [], 44 'dependencies=': [],
34 'includes': ['standard_instrumented_library_target.gypi'], 45 'includes': ['standard_instrumented_library_target.gypi'],
35 }, 46 },
36 { 47 {
37 'target_name': 'libxau6', 48 'target_name': 'libxau6',
38 'dependencies=': [], 49 'dependencies=': [],
39 'includes': ['standard_instrumented_library_target.gypi'], 50 'includes': ['standard_instrumented_library_target.gypi'],
40 }, 51 },
41 { 52 {
42 'target_name': 'libglib2.0-0', 53 'target_name': 'libglib2.0-0',
43 'dependencies=': [], 54 'dependencies=': [],
44 'includes': ['standard_instrumented_library_target.gypi'], 55 'includes': ['standard_instrumented_library_target.gypi'],
45 }, 56 },
46 ], 57 ],
47 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698