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

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

Issue 105213004: Added more libraries to instrumented libraries build list. (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
« 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 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 # Default value for all libraries. 6 # Default value for all libraries.
7 'custom_configure_flags': '', 7 'custom_configure_flags': '',
8 'custom_linker_flags': '',
9
10 # Some librraies should be built before others, so these lists define
11 # the order to build them all.
Alexander Potapenko 2013/12/18 15:42:13 Please elaborate in the comments why we need two o
alextaran1 2013/12/18 16:15:01 Done.
12 'first_order_libraries': [
13 '<(_sanitizer_type)-libcairo2',
14 '<(_sanitizer_type)-libexpat1',
15 '<(_sanitizer_type)-libffi6',
16 '<(_sanitizer_type)-libgcrypt11',
17 '<(_sanitizer_type)-libgpg-error0',
18 '<(_sanitizer_type)-libp11-kit0',
19 '<(_sanitizer_type)-libpcre3',
20 '<(_sanitizer_type)-libpixman-1-0',
21 '<(_sanitizer_type)-libpng12-0',
22 '<(_sanitizer_type)-libx11-6',
23 '<(_sanitizer_type)-libxau6',
24 '<(_sanitizer_type)-libxcb1',
25 '<(_sanitizer_type)-libxcomposite1',
26 '<(_sanitizer_type)-libxcursor1',
27 '<(_sanitizer_type)-libxdamage1',
28 '<(_sanitizer_type)-libxdmcp6',
29 '<(_sanitizer_type)-libxext6',
30 '<(_sanitizer_type)-libxfixes3',
31 '<(_sanitizer_type)-libxi6',
32 '<(_sanitizer_type)-libxinerama1',
33 '<(_sanitizer_type)-libxrandr2',
34 '<(_sanitizer_type)-libxrender1',
35 '<(_sanitizer_type)-libxss1',
36 '<(_sanitizer_type)-libxtst6',
37 ],
38 'second_order_libraries': [
39 '<(_sanitizer_type)-zlib1g',
40 ],
8 41
9 'variables': { 42 'variables': {
10 'verbose_libraries_build%': 0, 43 'verbose_libraries_build%': 0,
11 }, 44 },
12 'conditions': [ 45 'conditions': [
13 ['asan==1', { 46 ['asan==1', {
14 'sanitizer_type': 'asan', 47 'sanitizer_type': 'asan',
48 'first_order_libraries': [
49 '<(_sanitizer_type)-libfontconfig1',
50 '<(_sanitizer_type)-libglib2.0-0',
51 ],
15 }], 52 }],
16 ['msan==1', { 53 ['msan==1', {
17 'sanitizer_type': 'msan', 54 'sanitizer_type': 'msan',
18 }], 55 }],
19 ['verbose_libraries_build==1', { 56 ['verbose_libraries_build==1', {
20 'verbose_libraries_build_flag': '--verbose', 57 'verbose_libraries_build_flag': '--verbose',
21 }, { 58 }, {
22 'verbose_libraries_build_flag': '', 59 'verbose_libraries_build_flag': '',
23 }], 60 }],
24 ], 61 ],
25 'targets': [ 62 'targets': [
26 { 63 {
27 'target_name': 'instrumented_libraries', 64 'target_name': 'instrumented_libraries',
28 'type': 'none', 65 'type': 'none',
29 'variables': { 66 'variables': {
30 'prune_self_dependency': 1, 67 'prune_self_dependency': 1,
31 }, 68 },
32 'dependencies': [ 69 'dependencies=': [
33 '<(_sanitizer_type)-libpng12-0', 70 '<@(_first_order_libraries)',
34 '<(_sanitizer_type)-libxau6', 71 '<@(_second_order_libraries)',
35 '<(_sanitizer_type)-libxdmcp6',
36 '<(_sanitizer_type)-libx11-6',
37 '<(_sanitizer_type)-libxcb1',
38 '<(_sanitizer_type)-libxext6',
39 '<(_sanitizer_type)-libxi6',
40 '<(_sanitizer_type)-libxrandr2',
41 '<(_sanitizer_type)-libxrender1',
42 '<(_sanitizer_type)-libxtst6',
43 '<(_sanitizer_type)-libpixman-1-0',
44 '<(_sanitizer_type)-libp11-kit0',
45 '<(_sanitizer_type)-libgpg-error0',
46 '<(_sanitizer_type)-libexpat1',
47 '<(_sanitizer_type)-libffi6',
48 '<(_sanitizer_type)-libcairo2',
49 '<(_sanitizer_type)-libpcre3',
50 ],
51 'conditions': [
52 ['asan==1', {
53 'dependencies': [
54 '<(_sanitizer_type)-libfontconfig1',
55 '<(_sanitizer_type)-libglib2.0-0',
56 ],
57 }],
58 ], 72 ],
59 'actions': [ 73 'actions': [
60 { 74 {
61 'action_name': 'fix_rpaths', 75 'action_name': 'fix_rpaths',
62 'inputs': [ 76 'inputs': [
63 'fix_rpaths.sh', 77 'fix_rpaths.sh',
64 ], 78 ],
65 'outputs': [ 79 'outputs': [
66 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fix ed.txt', 80 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fix ed.txt',
67 ], 81 ],
68 'action': [ 82 'action': [
69 '<(DEPTH)/third_party/instrumented_libraries/fix_rpaths.sh', 83 '<(DEPTH)/third_party/instrumented_libraries/fix_rpaths.sh',
70 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)' 84 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)'
71 ], 85 ],
72 }, 86 },
73 ], 87 ],
74 }, 88 },
75 { 89 {
76 'library_name': 'libpng12-0', 90 'library_name': 'libcairo2',
77 'dependencies=': [], 91 'dependencies=': [],
78 'includes': ['standard_instrumented_library_target.gypi'], 92 'custom_configure_flags': '--disable-gtk-doc',
79 },
80 {
81 'library_name': 'libpixman-1-0',
82 'dependencies=': [],
83 'includes': ['standard_instrumented_library_target.gypi'],
84 },
85 {
86 'library_name': 'libp11-kit0',
87 'dependencies=': [],
88 'includes': ['standard_instrumented_library_target.gypi'],
89 },
90 {
91 'library_name': 'libgpg-error0',
92 'dependencies=': [],
93 'includes': ['standard_instrumented_library_target.gypi'], 93 'includes': ['standard_instrumented_library_target.gypi'],
94 }, 94 },
95 { 95 {
96 'library_name': 'libexpat1', 96 'library_name': 'libexpat1',
97 'dependencies=': [], 97 'dependencies=': [],
98 'includes': ['standard_instrumented_library_target.gypi'], 98 'includes': ['standard_instrumented_library_target.gypi'],
99 }, 99 },
100 { 100 {
101 'library_name': 'libffi6', 101 'library_name': 'libffi6',
102 'dependencies=': [], 102 'dependencies=': [],
103 'includes': ['standard_instrumented_library_target.gypi'], 103 'includes': ['standard_instrumented_library_target.gypi'],
104 }, 104 },
105 { 105 {
106 'library_name': 'libfontconfig1', 106 'library_name': 'libfontconfig1',
107 'dependencies=': [], 107 'dependencies=': [],
108 'custom_configure_flags': '--disable-docs', 108 'custom_configure_flags': '--disable-docs',
109 'includes': ['standard_instrumented_library_target.gypi'], 109 'includes': ['standard_instrumented_library_target.gypi'],
110 }, 110 },
111 { 111 {
112 'library_name': 'libcairo2', 112 'library_name': 'libgcrypt11',
113 'dependencies=': [], 113 'dependencies=': [],
114 'custom_configure_flags': '--disable-gtk-doc', 114 'custom_linker_flags': '-Wl,-z,muldefs',
115 'includes': ['standard_instrumented_library_target.gypi'], 115 'includes': ['standard_instrumented_library_target.gypi'],
116 }, 116 },
117 { 117 {
118 'library_name': 'libglib2.0-0',
119 'dependencies=': [],
120 'custom_configure_flags': [
121 '--disable-gtk-doc',
122 '--disable-gtk-doc-html',
123 '--disable-gtk-doc-pdf',
124 ],
125 'includes': ['standard_instrumented_library_target.gypi'],
126 },
127 {
128 'library_name': 'libgpg-error0',
129 'dependencies=': [],
130 'includes': ['standard_instrumented_library_target.gypi'],
131 },
132 {
133 'library_name': 'libp11-kit0',
134 'dependencies=': [],
135 'includes': ['standard_instrumented_library_target.gypi'],
136 },
137 {
118 'library_name': 'libpcre3', 138 'library_name': 'libpcre3',
119 'dependencies=': [], 139 'dependencies=': [],
120 'custom_configure_flags': [ 140 'custom_configure_flags': [
121 '--enable-utf8', 141 '--enable-utf8',
122 '--enable-unicode-properties', 142 '--enable-unicode-properties',
123 ], 143 ],
124 'includes': ['standard_instrumented_library_target.gypi'], 144 'includes': ['standard_instrumented_library_target.gypi'],
125 }, 145 },
126 { 146 {
127 'library_name': 'libxau6', 147 'library_name': 'libpixman-1-0',
128 'dependencies=': [], 148 'dependencies=': [],
129 'includes': ['standard_instrumented_library_target.gypi'], 149 'includes': ['standard_instrumented_library_target.gypi'],
130 }, 150 },
131 { 151 {
132 'library_name': 'libglib2.0-0', 152 'library_name': 'libpng12-0',
133 'dependencies=': [], 153 'dependencies=': [],
134 'custom_configure_flags': [
135 '--disable-gtk-doc',
136 '--disable-gtk-doc-html',
137 '--disable-gtk-doc-pdf',
138 ],
139 'includes': ['standard_instrumented_library_target.gypi'],
140 },
141 {
142 'library_name': 'libxdmcp6',
143 'dependencies=': [],
144 'custom_configure_flags': '--disable-docs',
145 'includes': ['standard_instrumented_library_target.gypi'], 154 'includes': ['standard_instrumented_library_target.gypi'],
146 }, 155 },
147 { 156 {
148 'library_name': 'libx11-6', 157 'library_name': 'libx11-6',
149 'dependencies=': [], 158 'dependencies=': [],
150 'custom_configure_flags': '--disable-specs', 159 'custom_configure_flags': '--disable-specs',
151 'includes': ['standard_instrumented_library_target.gypi'], 160 'includes': ['standard_instrumented_library_target.gypi'],
152 }, 161 },
153 { 162 {
163 'library_name': 'libxau6',
164 'dependencies=': [],
165 'includes': ['standard_instrumented_library_target.gypi'],
166 },
167 {
154 'library_name': 'libxcb1', 168 'library_name': 'libxcb1',
155 'dependencies=': [], 169 'dependencies=': [],
156 'custom_configure_flags': '--disable-build-docs', 170 'custom_configure_flags': '--disable-build-docs',
157 'includes': ['standard_instrumented_library_target.gypi'], 171 'includes': ['standard_instrumented_library_target.gypi'],
158 }, 172 },
159 { 173 {
174 'library_name': 'libxcomposite1',
175 'dependencies=': [],
176 'includes': ['standard_instrumented_library_target.gypi'],
177 },
178 {
179 'library_name': 'libxcursor1',
180 'dependencies=': [],
181 'includes': ['standard_instrumented_library_target.gypi'],
182 },
183 {
184 'library_name': 'libxdamage1',
185 'dependencies=': [],
186 'includes': ['standard_instrumented_library_target.gypi'],
187 },
188 {
189 'library_name': 'libxdmcp6',
190 'dependencies=': [],
191 'custom_configure_flags': '--disable-docs',
192 'includes': ['standard_instrumented_library_target.gypi'],
193 },
194 {
160 'library_name': 'libxext6', 195 'library_name': 'libxext6',
161 'dependencies=': [], 196 'dependencies=': [],
162 'custom_configure_flags': '--disable-specs', 197 'custom_configure_flags': '--disable-specs',
163 'includes': ['standard_instrumented_library_target.gypi'], 198 'includes': ['standard_instrumented_library_target.gypi'],
164 }, 199 },
165 { 200 {
201 'library_name': 'libxfixes3',
202 'dependencies=': [],
203 'includes': ['standard_instrumented_library_target.gypi'],
204 },
205 {
166 'library_name': 'libxi6', 206 'library_name': 'libxi6',
167 'dependencies=': [], 207 'dependencies=': [],
168 'custom_configure_flags': [ 208 'custom_configure_flags': [
169 '--disable-specs', 209 '--disable-specs',
170 '--disable-docs', 210 '--disable-docs',
171 ], 211 ],
172 'includes': ['standard_instrumented_library_target.gypi'], 212 'includes': ['standard_instrumented_library_target.gypi'],
173 }, 213 },
174 { 214 {
215 'library_name': 'libxinerama1',
216 'dependencies=': [],
217 'includes': ['standard_instrumented_library_target.gypi'],
218 },
219 {
175 'library_name': 'libxrandr2', 220 'library_name': 'libxrandr2',
176 'dependencies=': [], 221 'dependencies=': [],
177 'includes': ['standard_instrumented_library_target.gypi'], 222 'includes': ['standard_instrumented_library_target.gypi'],
178 }, 223 },
179 { 224 {
180 'library_name': 'libxrender1', 225 'library_name': 'libxrender1',
181 'dependencies=': [], 226 'dependencies=': [],
182 'includes': ['standard_instrumented_library_target.gypi'], 227 'includes': ['standard_instrumented_library_target.gypi'],
183 }, 228 },
184 { 229 {
230 'library_name': 'libxss1',
231 'dependencies=': [],
232 'includes': ['standard_instrumented_library_target.gypi'],
233 },
234 {
185 'library_name': 'libxtst6', 235 'library_name': 'libxtst6',
186 'dependencies=': [], 236 'dependencies=': [],
187 'custom_configure_flags': '--disable-specs', 237 'custom_configure_flags': '--disable-specs',
188 'includes': ['standard_instrumented_library_target.gypi'], 238 'includes': ['standard_instrumented_library_target.gypi'],
189 }, 239 },
240 {
241 'library_name': 'zlib1g',
242 'dependencies=': [
243 '<@(_first_order_libraries)',
244 ],
245 'includes': ['standard_instrumented_library_target.gypi'],
246 },
190 ], 247 ],
191 } 248 }
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