OLD | NEW |
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. | |
7 'extra_configure_flags': '', | |
8 'extra_cflags': '', | |
9 'extra_cxxflags': '', | |
10 'extra_ldflags': '', | |
11 'run_before_build': '', | |
12 'build_method': 'destdir', | |
13 | |
14 'variables': { | 6 'variables': { |
15 'verbose_libraries_build%': 0, | 7 'verbose_libraries_build%': 0, |
16 'instrumented_libraries_jobs%': 1, | 8 'instrumented_libraries_jobs%': 1, |
17 }, | 9 }, |
18 | 10 |
19 'jobs': '<(instrumented_libraries_jobs)', | |
20 | |
21 'conditions': [ | 11 'conditions': [ |
22 ['asan==1', { | 12 ['asan==1', { |
23 'sanitizer_type': 'asan', | 13 'sanitizer_type': 'asan', |
24 'sanitizer_blacklist': '', | |
25 }], | 14 }], |
26 ['msan==1', { | 15 ['msan==1', { |
27 'sanitizer_type': 'msan', | 16 'sanitizer_type': 'msan', |
28 'sanitizer_blacklist': '<(msan_blacklist)', | |
29 }], | 17 }], |
30 ['tsan==1', { | 18 ['tsan==1', { |
31 'sanitizer_type': 'tsan', | 19 'sanitizer_type': 'tsan', |
32 'sanitizer_blacklist': '<(tsan_blacklist)', | |
33 }], | 20 }], |
34 ['use_goma==1', { | 21 ['use_goma==1', { |
35 'cc': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/c
lang', | 22 'cc': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/c
lang', |
36 'cxx': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/
clang++', | 23 'cxx': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/
clang++', |
37 }, { | 24 }, { |
38 'cc': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', | 25 'cc': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', |
39 'cxx': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++', | 26 'cxx': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++', |
40 }], | 27 }], |
41 ], | 28 ], |
| 29 |
| 30 'target_defaults': { |
| 31 'build_method': 'destdir', |
| 32 'extra_configure_flags': [], |
| 33 'jobs': '<(instrumented_libraries_jobs)', |
| 34 'package_cflags': [ |
| 35 '-O2', |
| 36 '-gline-tables-only', |
| 37 '-fPIC', |
| 38 '-w', |
| 39 '-U_FORITFY_SOURCE' |
| 40 ], |
| 41 'package_ldflags': [ |
| 42 '-Wl,-z,origin', |
| 43 # We set RPATH=XORIGIN when building the package and replace it with |
| 44 # $ORIGIN later. The reason is that this flag goes through configure/make |
| 45 # differently for different packages. Because of this, we can't escape the |
| 46 # $ character in a way that would work for every package. |
| 47 '-Wl,-R,XORIGIN/.' |
| 48 ], |
| 49 'run_before_build': '', |
| 50 |
| 51 'conditions': [ |
| 52 ['asan==1', { |
| 53 'sanitizer_blacklist': '', |
| 54 'package_cflags': ['-fsanitize=address'], |
| 55 'package_ldflags': ['-fsanitize=address'], |
| 56 }], |
| 57 ['msan==1', { |
| 58 'sanitizer_blacklist': '<(msan_blacklist)', |
| 59 'package_cflags': [ |
| 60 '-fsanitize=memory', |
| 61 '-fsanitize-memory-track-origins=<(msan_track_origins)' |
| 62 ], |
| 63 'package_ldflags': ['-fsanitize=memory'], |
| 64 }], |
| 65 ['tsan==1', { |
| 66 'sanitizer_blacklist': '<(tsan_blacklist)', |
| 67 'package_cflags': ['-fsanitize=thread'], |
| 68 'package_ldflags': ['-fsanitize=thread'], |
| 69 }], |
| 70 ], |
| 71 }, |
| 72 |
42 'targets': [ | 73 'targets': [ |
43 { | 74 { |
44 'target_name': 'instrumented_libraries', | 75 'target_name': 'instrumented_libraries', |
45 'type': 'none', | 76 'type': 'none', |
46 'variables': { | 77 'variables': { |
47 'prune_self_dependency': 1, | 78 'prune_self_dependency': 1, |
48 # Don't add this target to the dependencies of targets with type=none. | 79 # Don't add this target to the dependencies of targets with type=none. |
49 'link_dependency': 1, | 80 'link_dependency': 1, |
50 }, | 81 }, |
51 'dependencies': [ | 82 'dependencies': [ |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 'ldflags': [ | 167 'ldflags': [ |
137 # Add RPATH to result binary to make it linking instrumented libra
ries ($ORIGIN means relative RPATH) | 168 # Add RPATH to result binary to make it linking instrumented libra
ries ($ORIGIN means relative RPATH) |
138 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/:\
$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/usr/lib/x86_64-linux-gnu/', | 169 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/:\
$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/usr/lib/x86_64-linux-gnu/', |
139 '-Wl,-z,origin', | 170 '-Wl,-z,origin', |
140 ], | 171 ], |
141 }], | 172 }], |
142 ], | 173 ], |
143 }, | 174 }, |
144 }, | 175 }, |
145 { | 176 { |
146 'library_name': 'freetype', | 177 'package_name': 'freetype', |
147 'dependencies=': [], | 178 'dependencies=': [], |
148 'run_before_build': 'freetype.sh', | 179 'run_before_build': 'freetype.sh', |
149 'includes': ['standard_instrumented_library_target.gypi'], | 180 'includes': ['standard_instrumented_package_target.gypi'], |
150 }, | 181 }, |
151 { | 182 { |
152 'library_name': 'libcairo2', | 183 'package_name': 'libcairo2', |
153 'dependencies=': [], | 184 'dependencies=': [], |
154 'extra_configure_flags': '--disable-gtk-doc', | 185 'extra_configure_flags': ['--disable-gtk-doc'], |
155 'includes': ['standard_instrumented_library_target.gypi'], | 186 'includes': ['standard_instrumented_package_target.gypi'], |
156 }, | 187 }, |
157 { | 188 { |
158 'library_name': 'libdbus-1-3', | 189 'package_name': 'libdbus-1-3', |
159 'dependencies=': [ | 190 'dependencies=': [ |
160 '<(_sanitizer_type)-libglib2.0-0', | 191 '<(_sanitizer_type)-libglib2.0-0', |
161 ], | 192 ], |
162 'includes': ['standard_instrumented_library_target.gypi'], | 193 'includes': ['standard_instrumented_package_target.gypi'], |
163 }, | 194 }, |
164 { | 195 { |
165 'library_name': 'libdbus-glib-1-2', | 196 'package_name': 'libdbus-glib-1-2', |
166 'dependencies=': [ | 197 'dependencies=': [ |
167 '<(_sanitizer_type)-libglib2.0-0', | 198 '<(_sanitizer_type)-libglib2.0-0', |
168 ], | 199 ], |
169 # Use system dbus-binding-tool. The just-built one is instrumented but | 200 # Use system dbus-binding-tool. The just-built one is instrumented but |
170 # doesn't have the correct RPATH, and will crash. | 201 # doesn't have the correct RPATH, and will crash. |
171 'extra_configure_flags': '--with-dbus-binding-tool=dbus-binding-tool', | 202 'extra_configure_flags': ['--with-dbus-binding-tool=dbus-binding-tool'], |
172 'includes': ['standard_instrumented_library_target.gypi'], | 203 'includes': ['standard_instrumented_package_target.gypi'], |
173 }, | 204 }, |
174 { | 205 { |
175 'library_name': 'libexpat1', | 206 'package_name': 'libexpat1', |
176 'dependencies=': [], | 207 'dependencies=': [], |
177 'includes': ['standard_instrumented_library_target.gypi'], | 208 'includes': ['standard_instrumented_package_target.gypi'], |
178 }, | 209 }, |
179 { | 210 { |
180 'library_name': 'libffi6', | 211 'package_name': 'libffi6', |
181 'dependencies=': [], | 212 'dependencies=': [], |
182 'includes': ['standard_instrumented_library_target.gypi'], | 213 'includes': ['standard_instrumented_package_target.gypi'], |
183 }, | 214 }, |
184 { | 215 { |
185 'library_name': 'libfontconfig1', | 216 'package_name': 'libfontconfig1', |
186 'dependencies=': [ | 217 'dependencies=': [ |
187 '<(_sanitizer_type)-freetype', | 218 '<(_sanitizer_type)-freetype', |
188 ], | 219 ], |
189 'extra_configure_flags': [ | 220 'extra_configure_flags': [ |
190 '--disable-docs', | 221 '--disable-docs', |
191 '--sysconfdir=/etc/', | 222 '--sysconfdir=/etc/', |
192 # From debian/rules. | 223 # From debian/rules. |
193 '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts', | 224 '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts', |
194 ], | 225 ], |
195 'run_before_build': 'libfontconfig.sh', | 226 'run_before_build': 'libfontconfig.sh', |
196 'includes': ['standard_instrumented_library_target.gypi'], | 227 'includes': ['standard_instrumented_package_target.gypi'], |
197 }, | 228 }, |
198 { | 229 { |
199 'library_name': 'libgcrypt11', | 230 'package_name': 'libgcrypt11', |
200 'dependencies=': [], | 231 'dependencies=': [], |
201 'extra_ldflags': '-Wl,-z,muldefs', | 232 'package_ldflags': ['-Wl,-z,muldefs'], |
202 'includes': ['standard_instrumented_library_target.gypi'], | 233 'includes': ['standard_instrumented_package_target.gypi'], |
203 }, | 234 }, |
204 { | 235 { |
205 'library_name': 'libglib2.0-0', | 236 'package_name': 'libglib2.0-0', |
206 'dependencies=': [], | 237 'dependencies=': [], |
207 'extra_configure_flags': [ | 238 'extra_configure_flags': [ |
208 '--disable-gtk-doc', | 239 '--disable-gtk-doc', |
209 '--disable-gtk-doc-html', | 240 '--disable-gtk-doc-html', |
210 '--disable-gtk-doc-pdf', | 241 '--disable-gtk-doc-pdf', |
211 ], | 242 ], |
212 'includes': ['standard_instrumented_library_target.gypi'], | 243 'includes': ['standard_instrumented_package_target.gypi'], |
213 }, | 244 }, |
214 { | 245 { |
215 'library_name': 'libgpg-error0', | 246 'package_name': 'libgpg-error0', |
216 'dependencies=': [], | 247 'dependencies=': [], |
217 'includes': ['standard_instrumented_library_target.gypi'], | 248 'includes': ['standard_instrumented_package_target.gypi'], |
218 }, | 249 }, |
219 { | 250 { |
220 'library_name': 'libnspr4', | 251 'package_name': 'libnspr4', |
221 'dependencies=': [], | 252 'dependencies=': [], |
222 'extra_configure_flags': [ | 253 'extra_configure_flags': [ |
223 '--enable-64bit', | 254 '--enable-64bit', |
224 # TSan reports data races on debug variables. | 255 # TSan reports data races on debug variables. |
225 '--disable-debug', | 256 '--disable-debug', |
226 ], | 257 ], |
227 'run_before_build': 'libnspr4.sh', | 258 'run_before_build': 'libnspr4.sh', |
228 'includes': ['standard_instrumented_library_target.gypi'], | 259 'includes': ['standard_instrumented_package_target.gypi'], |
229 }, | 260 }, |
230 { | 261 { |
231 'library_name': 'libp11-kit0', | 262 'package_name': 'libp11-kit0', |
232 'dependencies=': [], | 263 'dependencies=': [], |
233 'includes': ['standard_instrumented_library_target.gypi'], | 264 'includes': ['standard_instrumented_package_target.gypi'], |
234 }, | 265 }, |
235 { | 266 { |
236 'library_name': 'libpcre3', | 267 'package_name': 'libpcre3', |
237 'dependencies=': [], | 268 'dependencies=': [], |
238 'extra_configure_flags': [ | 269 'extra_configure_flags': [ |
239 '--enable-utf8', | 270 '--enable-utf8', |
240 '--enable-unicode-properties', | 271 '--enable-unicode-properties', |
241 ], | 272 ], |
242 'includes': ['standard_instrumented_library_target.gypi'], | 273 'includes': ['standard_instrumented_package_target.gypi'], |
243 }, | 274 }, |
244 { | 275 { |
245 'library_name': 'libpixman-1-0', | 276 'package_name': 'libpixman-1-0', |
246 'dependencies=': [ | 277 'dependencies=': [ |
247 '<(_sanitizer_type)-libglib2.0-0', | 278 '<(_sanitizer_type)-libglib2.0-0', |
248 ], | 279 ], |
249 'includes': ['standard_instrumented_library_target.gypi'], | 280 'includes': ['standard_instrumented_package_target.gypi'], |
250 }, | 281 }, |
251 { | 282 { |
252 'library_name': 'libpng12-0', | 283 'package_name': 'libpng12-0', |
253 'dependencies=': [], | 284 'dependencies=': [], |
254 'includes': ['standard_instrumented_library_target.gypi'], | 285 'includes': ['standard_instrumented_package_target.gypi'], |
255 }, | 286 }, |
256 { | 287 { |
257 'library_name': 'libx11-6', | 288 'package_name': 'libx11-6', |
258 'dependencies=': [], | 289 'dependencies=': [], |
259 'extra_configure_flags': '--disable-specs', | 290 'extra_configure_flags': ['--disable-specs'], |
260 'includes': ['standard_instrumented_library_target.gypi'], | 291 'includes': ['standard_instrumented_package_target.gypi'], |
261 }, | 292 }, |
262 { | 293 { |
263 'library_name': 'libxau6', | 294 'package_name': 'libxau6', |
264 'dependencies=': [], | 295 'dependencies=': [], |
265 'includes': ['standard_instrumented_library_target.gypi'], | 296 'includes': ['standard_instrumented_package_target.gypi'], |
266 }, | 297 }, |
267 { | 298 { |
268 'library_name': 'libxcb1', | 299 'package_name': 'libxcb1', |
269 'dependencies=': [], | 300 'dependencies=': [], |
270 'extra_configure_flags': '--disable-build-docs', | 301 'extra_configure_flags': ['--disable-build-docs'], |
271 'includes': ['standard_instrumented_library_target.gypi'], | 302 'includes': ['standard_instrumented_package_target.gypi'], |
272 }, | 303 }, |
273 { | 304 { |
274 'library_name': 'libxcomposite1', | 305 'package_name': 'libxcomposite1', |
275 'dependencies=': [], | 306 'dependencies=': [], |
276 'includes': ['standard_instrumented_library_target.gypi'], | 307 'includes': ['standard_instrumented_package_target.gypi'], |
277 }, | 308 }, |
278 { | 309 { |
279 'library_name': 'libxcursor1', | 310 'package_name': 'libxcursor1', |
280 'dependencies=': [], | 311 'dependencies=': [], |
281 'includes': ['standard_instrumented_library_target.gypi'], | 312 'includes': ['standard_instrumented_package_target.gypi'], |
282 }, | 313 }, |
283 { | 314 { |
284 'library_name': 'libxdamage1', | 315 'package_name': 'libxdamage1', |
285 'dependencies=': [], | 316 'dependencies=': [], |
286 'includes': ['standard_instrumented_library_target.gypi'], | 317 'includes': ['standard_instrumented_package_target.gypi'], |
287 }, | 318 }, |
288 { | 319 { |
289 'library_name': 'libxdmcp6', | 320 'package_name': 'libxdmcp6', |
290 'dependencies=': [], | 321 'dependencies=': [], |
291 'extra_configure_flags': '--disable-docs', | 322 'extra_configure_flags': ['--disable-docs'], |
292 'includes': ['standard_instrumented_library_target.gypi'], | 323 'includes': ['standard_instrumented_package_target.gypi'], |
293 }, | 324 }, |
294 { | 325 { |
295 'library_name': 'libxext6', | 326 'package_name': 'libxext6', |
296 'dependencies=': [], | 327 'dependencies=': [], |
297 'extra_configure_flags': '--disable-specs', | 328 'extra_configure_flags': ['--disable-specs'], |
298 'includes': ['standard_instrumented_library_target.gypi'], | 329 'includes': ['standard_instrumented_package_target.gypi'], |
299 }, | 330 }, |
300 { | 331 { |
301 'library_name': 'libxfixes3', | 332 'package_name': 'libxfixes3', |
302 'dependencies=': [], | 333 'dependencies=': [], |
303 'includes': ['standard_instrumented_library_target.gypi'], | 334 'includes': ['standard_instrumented_package_target.gypi'], |
304 }, | 335 }, |
305 { | 336 { |
306 'library_name': 'libxi6', | 337 'package_name': 'libxi6', |
307 'dependencies=': [], | 338 'dependencies=': [], |
308 'extra_configure_flags': [ | 339 'extra_configure_flags': [ |
309 '--disable-specs', | 340 '--disable-specs', |
310 '--disable-docs', | 341 '--disable-docs', |
311 ], | 342 ], |
312 'includes': ['standard_instrumented_library_target.gypi'], | 343 'includes': ['standard_instrumented_package_target.gypi'], |
313 }, | 344 }, |
314 { | 345 { |
315 'library_name': 'libxinerama1', | 346 'package_name': 'libxinerama1', |
316 'dependencies=': [], | 347 'dependencies=': [], |
317 'includes': ['standard_instrumented_library_target.gypi'], | 348 'includes': ['standard_instrumented_package_target.gypi'], |
318 }, | 349 }, |
319 { | 350 { |
320 'library_name': 'libxrandr2', | 351 'package_name': 'libxrandr2', |
321 'dependencies=': [], | 352 'dependencies=': [], |
322 'includes': ['standard_instrumented_library_target.gypi'], | 353 'includes': ['standard_instrumented_package_target.gypi'], |
323 }, | 354 }, |
324 { | 355 { |
325 'library_name': 'libxrender1', | 356 'package_name': 'libxrender1', |
326 'dependencies=': [], | 357 'dependencies=': [], |
327 'includes': ['standard_instrumented_library_target.gypi'], | 358 'includes': ['standard_instrumented_package_target.gypi'], |
328 }, | 359 }, |
329 { | 360 { |
330 'library_name': 'libxss1', | 361 'package_name': 'libxss1', |
331 'dependencies=': [], | 362 'dependencies=': [], |
332 'includes': ['standard_instrumented_library_target.gypi'], | 363 'includes': ['standard_instrumented_package_target.gypi'], |
333 }, | 364 }, |
334 { | 365 { |
335 'library_name': 'libxtst6', | 366 'package_name': 'libxtst6', |
336 'dependencies=': [], | 367 'dependencies=': [], |
337 'extra_configure_flags': '--disable-specs', | 368 'extra_configure_flags': ['--disable-specs'], |
338 'includes': ['standard_instrumented_library_target.gypi'], | 369 'includes': ['standard_instrumented_package_target.gypi'], |
339 }, | 370 }, |
340 { | 371 { |
341 'library_name': 'zlib1g', | 372 'package_name': 'zlib1g', |
342 'dependencies=': [], | 373 'dependencies=': [], |
343 'run_before_build': 'zlib1g.sh', | 374 'run_before_build': 'zlib1g.sh', |
344 'includes': ['standard_instrumented_library_target.gypi'], | 375 'includes': ['standard_instrumented_package_target.gypi'], |
345 }, | 376 }, |
346 { | 377 { |
347 'library_name': 'nss', | 378 'package_name': 'nss', |
348 'dependencies=': [ | 379 'dependencies=': [ |
349 '<(_sanitizer_type)-libnspr4', | 380 '<(_sanitizer_type)-libnspr4', |
350 ], | 381 ], |
351 'run_before_build': 'nss.sh', | 382 'run_before_build': 'nss.sh', |
352 'build_method': 'custom_nss', | 383 'build_method': 'custom_nss', |
353 'includes': ['standard_instrumented_library_target.gypi'], | 384 'includes': ['standard_instrumented_package_target.gypi'], |
354 }, | 385 }, |
355 { | 386 { |
356 'library_name': 'pulseaudio', | 387 'package_name': 'pulseaudio', |
357 'dependencies=': [ | 388 'dependencies=': [ |
358 '<(_sanitizer_type)-libdbus-1-3', | 389 '<(_sanitizer_type)-libdbus-1-3', |
359 ], | 390 ], |
360 'run_before_build': 'pulseaudio.sh', | 391 'run_before_build': 'pulseaudio.sh', |
361 'jobs': 1, | 392 'jobs': 1, |
362 'includes': ['standard_instrumented_library_target.gypi'], | 393 'includes': ['standard_instrumented_package_target.gypi'], |
363 }, | 394 }, |
364 { | 395 { |
365 'library_name': 'libasound2', | 396 'package_name': 'libasound2', |
366 'dependencies=': [], | 397 'dependencies=': [], |
367 'run_before_build': 'libasound2.sh', | 398 'run_before_build': 'libasound2.sh', |
368 'includes': ['standard_instrumented_library_target.gypi'], | 399 'includes': ['standard_instrumented_package_target.gypi'], |
369 }, | 400 }, |
370 { | 401 { |
371 'library_name': 'libcups2', | 402 'package_name': 'libcups2', |
372 'dependencies=': [], | 403 'dependencies=': [], |
373 'run_before_build': 'libcups2.sh', | 404 'run_before_build': 'libcups2.sh', |
374 'jobs': 1, | 405 'jobs': 1, |
375 'extra_configure_flags': [ | 406 'extra_configure_flags': [ |
376 # All from debian/rules. | 407 # All from debian/rules. |
377 '--localedir=/usr/share/cups/locale', | 408 '--localedir=/usr/share/cups/locale', |
378 '--enable-slp', | 409 '--enable-slp', |
379 '--enable-libpaper', | 410 '--enable-libpaper', |
380 '--enable-ssl', | 411 '--enable-ssl', |
381 '--enable-gnutls', | 412 '--enable-gnutls', |
382 '--disable-openssl', | 413 '--disable-openssl', |
383 '--enable-threads', | 414 '--enable-threads', |
384 '--enable-static', | 415 '--enable-static', |
385 '--enable-debug', | 416 '--enable-debug', |
386 '--enable-dbus', | 417 '--enable-dbus', |
387 '--with-dbusdir=/etc/dbus-1', | 418 '--with-dbusdir=/etc/dbus-1', |
388 '--enable-gssapi', | 419 '--enable-gssapi', |
389 '--enable-avahi', | 420 '--enable-avahi', |
390 '--with-pdftops=/usr/bin/gs', | 421 '--with-pdftops=/usr/bin/gs', |
391 '--disable-launchd', | 422 '--disable-launchd', |
392 '--with-cups-group=lp', | 423 '--with-cups-group=lp', |
393 '--with-system-groups=lpadmin', | 424 '--with-system-groups=lpadmin', |
394 '--with-printcap=/var/run/cups/printcap', | 425 '--with-printcap=/var/run/cups/printcap', |
395 '--with-log-file-perm=0640', | 426 '--with-log-file-perm=0640', |
396 '--with-local_protocols="CUPS dnssd"', | 427 '--with-local_protocols="CUPS dnssd"', |
397 '--with-remote_protocols="CUPS dnssd"', | 428 '--with-remote_protocols="CUPS dnssd"', |
398 '--enable-libusb', | 429 '--enable-libusb', |
399 ], | 430 ], |
400 'includes': ['standard_instrumented_library_target.gypi'], | 431 'includes': ['standard_instrumented_package_target.gypi'], |
401 }, | 432 }, |
402 { | 433 { |
403 'library_name': 'pango1.0', | 434 'package_name': 'pango1.0', |
404 'dependencies=': [ | 435 'dependencies=': [ |
405 '<(_sanitizer_type)-libglib2.0-0', | 436 '<(_sanitizer_type)-libglib2.0-0', |
406 ], | 437 ], |
407 'extra_configure_flags': [ | 438 'extra_configure_flags': [ |
408 # Avoid https://bugs.gentoo.org/show_bug.cgi?id=425620 | 439 # Avoid https://bugs.gentoo.org/show_bug.cgi?id=425620 |
409 '--enable-introspection=no', | 440 '--enable-introspection=no', |
410 ], | 441 ], |
411 'build_method': 'custom_pango', | 442 'build_method': 'custom_pango', |
412 'includes': ['standard_instrumented_library_target.gypi'], | 443 'includes': ['standard_instrumented_package_target.gypi'], |
413 }, | 444 }, |
414 { | 445 { |
415 'library_name': 'libcap2', | 446 'package_name': 'libcap2', |
416 'dependencies=': [], | 447 'dependencies=': [], |
417 'build_method': 'custom_libcap', | 448 'build_method': 'custom_libcap', |
418 'includes': ['standard_instrumented_library_target.gypi'], | 449 'includes': ['standard_instrumented_package_target.gypi'], |
419 }, | 450 }, |
420 { | 451 { |
421 'library_name': 'libudev0', | 452 'package_name': 'libudev0', |
422 'dependencies=': [], | 453 'dependencies=': [], |
423 'extra_configure_flags': [ | 454 'extra_configure_flags': [ |
424 # Without this flag there's a linking step that doesn't honor LDFLAGS | 455 # Without this flag there's a linking step that doesn't honor LDFLAGS |
425 # and fails. | 456 # and fails. |
426 # TODO(earthdok): find a better fix. | 457 # TODO(earthdok): find a better fix. |
427 '--disable-gudev' | 458 '--disable-gudev' |
428 ], | 459 ], |
429 'includes': ['standard_instrumented_library_target.gypi'], | 460 'includes': ['standard_instrumented_package_target.gypi'], |
430 }, | 461 }, |
431 { | 462 { |
432 'library_name': 'libtasn1-3', | 463 'package_name': 'libtasn1-3', |
433 'dependencies=': [], | 464 'dependencies=': [], |
434 'includes': ['standard_instrumented_library_target.gypi'], | 465 'includes': ['standard_instrumented_package_target.gypi'], |
435 }, | 466 }, |
436 { | 467 { |
437 'library_name': 'libgnome-keyring0', | 468 'package_name': 'libgnome-keyring0', |
438 'extra_configure_flags': [ | 469 'extra_configure_flags': [ |
439 # Build static libs (from debian/rules). | 470 # Build static libs (from debian/rules). |
440 '--enable-static', | 471 '--enable-static', |
441 '--enable-tests=no', | 472 '--enable-tests=no', |
442 ], | 473 ], |
443 'extra_ldflags': '-Wl,--as-needed', | 474 'package_ldflags': ['-Wl,--as-needed'], |
444 'dependencies=': [], | 475 'dependencies=': [], |
445 'includes': ['standard_instrumented_library_target.gypi'], | 476 'includes': ['standard_instrumented_package_target.gypi'], |
446 }, | 477 }, |
447 { | 478 { |
448 'library_name': 'libgtk2.0-0', | 479 'package_name': 'libgtk2.0-0', |
449 'extra_cflags': '-Wno-return-type', | 480 'package_cflags': ['-Wno-return-type'], |
450 'extra_configure_flags': [ | 481 'extra_configure_flags': [ |
451 # From debian/rules. | 482 # From debian/rules. |
452 '--prefix=/usr', | 483 '--prefix=/usr', |
453 '--sysconfdir=/etc', | 484 '--sysconfdir=/etc', |
454 '--enable-test-print-backend', | 485 '--enable-test-print-backend', |
455 '--enable-introspection=no', | 486 '--enable-introspection=no', |
456 '--with-xinput=yes', | 487 '--with-xinput=yes', |
457 ], | 488 ], |
458 'dependencies=': [], | 489 'dependencies=': [], |
459 'run_before_build': 'libgtk2.0-0.sh', | 490 'run_before_build': 'libgtk2.0-0.sh', |
460 'includes': ['standard_instrumented_library_target.gypi'], | 491 'includes': ['standard_instrumented_package_target.gypi'], |
461 }, | 492 }, |
462 { | 493 { |
463 'library_name': 'libgdk-pixbuf2.0-0', | 494 'package_name': 'libgdk-pixbuf2.0-0', |
464 'extra_configure_flags': [ | 495 'extra_configure_flags': [ |
465 # From debian/rules. | 496 # From debian/rules. |
466 '--with-libjasper', | 497 '--with-libjasper', |
467 '--with-x11', | 498 '--with-x11', |
468 # Make the build less problematic. | 499 # Make the build less problematic. |
469 '--disable-introspection', | 500 '--disable-introspection', |
470 ], | 501 ], |
471 'dependencies=': [], | 502 'dependencies=': [], |
472 'run_before_build': 'libgdk-pixbuf2.0-0.sh', | 503 'run_before_build': 'libgdk-pixbuf2.0-0.sh', |
473 'includes': ['standard_instrumented_library_target.gypi'], | 504 'includes': ['standard_instrumented_package_target.gypi'], |
474 }, | 505 }, |
475 { | 506 { |
476 'library_name': 'libpci3', | 507 'package_name': 'libpci3', |
477 'dependencies=': [], | 508 'dependencies=': [], |
478 'build_method': 'custom_libpci3', | 509 'build_method': 'custom_libpci3', |
479 'jobs': 1, | 510 'jobs': 1, |
480 'includes': ['standard_instrumented_library_target.gypi'], | 511 'includes': ['standard_instrumented_package_target.gypi'], |
481 }, | 512 }, |
482 { | 513 { |
483 'library_name': 'libdbusmenu-glib4', | 514 'package_name': 'libdbusmenu-glib4', |
484 'extra_configure_flags': [ | 515 'extra_configure_flags': [ |
485 # From debian/rules. | 516 # From debian/rules. |
486 '--disable-scrollkeeper', | 517 '--disable-scrollkeeper', |
487 '--enable-gtk-doc', | 518 '--enable-gtk-doc', |
488 # --enable-introspection introduces a build step that attempts to run | 519 # --enable-introspection introduces a build step that attempts to run |
489 # a just-built binary and crashes. Vala requires introspection. | 520 # a just-built binary and crashes. Vala requires introspection. |
490 # TODO(earthdok): find a better fix. | 521 # TODO(earthdok): find a better fix. |
491 '--disable-introspection', | 522 '--disable-introspection', |
492 '--disable-vala', | 523 '--disable-vala', |
493 ], | 524 ], |
494 'dependencies=': [], | 525 'dependencies=': [], |
495 'includes': ['standard_instrumented_library_target.gypi'], | 526 'includes': ['standard_instrumented_package_target.gypi'], |
496 }, | 527 }, |
497 { | 528 { |
498 'library_name': 'liboverlay-scrollbar-0.2-0', | 529 'package_name': 'liboverlay-scrollbar-0.2-0', |
499 'extra_configure_flags': [ | 530 'extra_configure_flags': [ |
500 '--with-gtk=2', | 531 '--with-gtk=2', |
501 ], | 532 ], |
502 'dependencies=': [], | 533 'dependencies=': [], |
503 'includes': ['standard_instrumented_library_target.gypi'], | 534 'includes': ['standard_instrumented_package_target.gypi'], |
504 }, | 535 }, |
505 { | 536 { |
506 'library_name': 'libgconf-2-4', | 537 'package_name': 'libgconf-2-4', |
507 'extra_configure_flags': [ | 538 'extra_configure_flags': [ |
508 # From debian/rules. (Even though --with-gtk=3.0 doesn't make sense.) | 539 # From debian/rules. (Even though --with-gtk=3.0 doesn't make sense.) |
509 '--with-gtk=3.0', | 540 '--with-gtk=3.0', |
510 '--disable-orbit', | 541 '--disable-orbit', |
511 # See above. | 542 # See above. |
512 '--disable-introspection', | 543 '--disable-introspection', |
513 ], | 544 ], |
514 'dependencies=': [], | 545 'dependencies=': [], |
515 'includes': ['standard_instrumented_library_target.gypi'], | 546 'includes': ['standard_instrumented_package_target.gypi'], |
516 }, | 547 }, |
517 { | 548 { |
518 'library_name': 'libappindicator1', | 549 'package_name': 'libappindicator1', |
519 'extra_configure_flags': [ | 550 'extra_configure_flags': [ |
520 # See above. | 551 # See above. |
521 '--disable-introspection', | 552 '--disable-introspection', |
522 ], | 553 ], |
523 'dependencies=': [], | 554 'dependencies=': [], |
524 'build_method': 'custom_libappindicator1', | 555 'build_method': 'custom_libappindicator1', |
525 'includes': ['standard_instrumented_library_target.gypi'], | 556 'includes': ['standard_instrumented_package_target.gypi'], |
526 }, | 557 }, |
527 { | 558 { |
528 'library_name': 'libdbusmenu', | 559 'package_name': 'libdbusmenu', |
529 'extra_configure_flags': [ | 560 'extra_configure_flags': [ |
530 # From debian/rules. | 561 # From debian/rules. |
531 '--disable-scrollkeeper', | 562 '--disable-scrollkeeper', |
532 '--with-gtk=2', | 563 '--with-gtk=2', |
533 # See above. | 564 # See above. |
534 '--disable-introspection', | 565 '--disable-introspection', |
535 '--disable-vala', | 566 '--disable-vala', |
536 ], | 567 ], |
537 'dependencies=': [], | 568 'dependencies=': [], |
538 'includes': ['standard_instrumented_library_target.gypi'], | 569 'includes': ['standard_instrumented_package_target.gypi'], |
539 }, | 570 }, |
540 { | 571 { |
541 'library_name': 'atk1.0', | 572 'package_name': 'atk1.0', |
542 'extra_configure_flags': [ | 573 'extra_configure_flags': [ |
543 # See above. | 574 # See above. |
544 '--disable-introspection', | 575 '--disable-introspection', |
545 ], | 576 ], |
546 'dependencies=': [], | 577 'dependencies=': [], |
547 'includes': ['standard_instrumented_library_target.gypi'], | 578 'includes': ['standard_instrumented_package_target.gypi'], |
548 }, | 579 }, |
549 { | 580 { |
550 'library_name': 'libunity9', | 581 'package_name': 'libunity9', |
551 'dependencies=': [], | 582 'dependencies=': [], |
552 'includes': ['standard_instrumented_library_target.gypi'], | 583 'includes': ['standard_instrumented_package_target.gypi'], |
553 }, | 584 }, |
554 { | 585 { |
555 'library_name': 'dee', | 586 'package_name': 'dee', |
556 'extra_configure_flags': [ | 587 'extra_configure_flags': [ |
557 # See above. | 588 # See above. |
558 '--disable-introspection', | 589 '--disable-introspection', |
559 ], | 590 ], |
560 'dependencies=': [], | 591 'dependencies=': [], |
561 'includes': ['standard_instrumented_library_target.gypi'], | 592 'includes': ['standard_instrumented_package_target.gypi'], |
562 }, | 593 }, |
563 ], | 594 ], |
564 } | 595 } |
OLD | NEW |