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

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

Issue 612153002: Instrumented libraries: support building on Ubuntu Trusty (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | third_party/instrumented_libraries/scripts/autogen.sh » ('j') | 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 'variables': { 6 'variables': {
7 'verbose_libraries_build%': 0, 7 'verbose_libraries_build%': 0,
8 'instrumented_libraries_jobs%': 1, 8 'instrumented_libraries_jobs%': 1,
9 }, 9 },
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 '<(_sanitizer_type)-zlib1g', 109 '<(_sanitizer_type)-zlib1g',
110 '<(_sanitizer_type)-libglib2.0-0', 110 '<(_sanitizer_type)-libglib2.0-0',
111 '<(_sanitizer_type)-libdbus-1-3', 111 '<(_sanitizer_type)-libdbus-1-3',
112 '<(_sanitizer_type)-libdbus-glib-1-2', 112 '<(_sanitizer_type)-libdbus-glib-1-2',
113 '<(_sanitizer_type)-nss', 113 '<(_sanitizer_type)-nss',
114 '<(_sanitizer_type)-libfontconfig1', 114 '<(_sanitizer_type)-libfontconfig1',
115 '<(_sanitizer_type)-pulseaudio', 115 '<(_sanitizer_type)-pulseaudio',
116 '<(_sanitizer_type)-libasound2', 116 '<(_sanitizer_type)-libasound2',
117 '<(_sanitizer_type)-pango1.0', 117 '<(_sanitizer_type)-pango1.0',
118 '<(_sanitizer_type)-libcap2', 118 '<(_sanitizer_type)-libcap2',
119 '<(_sanitizer_type)-libudev0', 119 '<(_sanitizer_type)-udev',
120 '<(_sanitizer_type)-libtasn1-3', 120 '<(_sanitizer_type)-libtasn1-3',
121 '<(_sanitizer_type)-libgnome-keyring0', 121 '<(_sanitizer_type)-libgnome-keyring0',
122 '<(_sanitizer_type)-libgtk2.0-0', 122 '<(_sanitizer_type)-libgtk2.0-0',
123 '<(_sanitizer_type)-libgdk-pixbuf2.0-0', 123 '<(_sanitizer_type)-libgdk-pixbuf2.0-0',
124 '<(_sanitizer_type)-libpci3', 124 '<(_sanitizer_type)-libpci3',
125 '<(_sanitizer_type)-libdbusmenu-glib4', 125 '<(_sanitizer_type)-libdbusmenu-glib4',
126 '<(_sanitizer_type)-liboverlay-scrollbar-0.2-0', 126 '<(_sanitizer_type)-overlay-scrollbar',
Alexander Potapenko 2014/09/30 11:03:32 Are the new package names valid in both Precise an
earthdok 2014/09/30 11:46:29 Yes, that's the point.
127 '<(_sanitizer_type)-libgconf-2-4', 127 '<(_sanitizer_type)-libgconf-2-4',
128 '<(_sanitizer_type)-libappindicator1', 128 '<(_sanitizer_type)-libappindicator1',
129 '<(_sanitizer_type)-libdbusmenu', 129 '<(_sanitizer_type)-libdbusmenu',
130 '<(_sanitizer_type)-atk1.0', 130 '<(_sanitizer_type)-atk1.0',
131 '<(_sanitizer_type)-libunity9', 131 '<(_sanitizer_type)-libunity9',
132 '<(_sanitizer_type)-dee', 132 '<(_sanitizer_type)-dee',
133 ], 133 ],
134 'conditions': [ 134 'conditions': [
135 ['asan==1', { 135 ['asan==1', {
136 'dependencies': [ 136 'dependencies': [
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 }, 238 },
239 { 239 {
240 'package_name': 'libglib2.0-0', 240 'package_name': 'libglib2.0-0',
241 'dependencies=': [], 241 'dependencies=': [],
242 'extra_configure_flags': [ 242 'extra_configure_flags': [
243 '--disable-gtk-doc', 243 '--disable-gtk-doc',
244 '--disable-gtk-doc-html', 244 '--disable-gtk-doc-html',
245 '--disable-gtk-doc-pdf', 245 '--disable-gtk-doc-pdf',
246 ], 246 ],
247 'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt', 247 'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt',
248 'run_before_build': 'scripts/autogen.sh',
248 'includes': ['standard_instrumented_package_target.gypi'], 249 'includes': ['standard_instrumented_package_target.gypi'],
249 }, 250 },
250 { 251 {
251 'package_name': 'libgpg-error0', 252 'package_name': 'libgpg-error0',
252 'dependencies=': [], 253 'dependencies=': [],
253 'includes': ['standard_instrumented_package_target.gypi'], 254 'includes': ['standard_instrumented_package_target.gypi'],
254 }, 255 },
255 { 256 {
256 'package_name': 'libnspr4', 257 'package_name': 'libnspr4',
257 'dependencies=': [], 258 'dependencies=': [],
258 'extra_configure_flags': [ 259 'extra_configure_flags': [
259 '--enable-64bit', 260 '--enable-64bit',
260 # TSan reports data races on debug variables. 261 # TSan reports data races on debug variables.
261 '--disable-debug', 262 '--disable-debug',
262 ], 263 ],
263 'run_before_build': 'scripts/libnspr4.sh', 264 'run_before_build': 'scripts/libnspr4.sh',
264 'includes': ['standard_instrumented_package_target.gypi'], 265 'includes': ['standard_instrumented_package_target.gypi'],
265 }, 266 },
266 { 267 {
267 'package_name': 'libp11-kit0', 268 'package_name': 'libp11-kit0',
268 'dependencies=': [], 269 'dependencies=': [],
270 # Required on Trusty due to autoconf version mismatch.
271 'run_before_build': 'scripts/autoreconf.sh',
269 'includes': ['standard_instrumented_package_target.gypi'], 272 'includes': ['standard_instrumented_package_target.gypi'],
270 }, 273 },
271 { 274 {
272 'package_name': 'libpcre3', 275 'package_name': 'libpcre3',
273 'dependencies=': [], 276 'dependencies=': [],
274 'extra_configure_flags': [ 277 'extra_configure_flags': [
275 '--enable-utf8', 278 '--enable-utf8',
276 '--enable-unicode-properties', 279 '--enable-unicode-properties',
277 ], 280 ],
278 'includes': ['standard_instrumented_package_target.gypi'], 281 'includes': ['standard_instrumented_package_target.gypi'],
279 }, 282 },
280 { 283 {
281 'package_name': 'libpixman-1-0', 284 'package_name': 'libpixman-1-0',
282 'dependencies=': [], 285 'dependencies=': [],
283 'patch': 'patches/libpixman-1-0.diff', 286 'patch': 'patches/libpixman-1-0.diff',
284 'includes': ['standard_instrumented_package_target.gypi'], 287 'includes': ['standard_instrumented_package_target.gypi'],
285 }, 288 },
286 { 289 {
287 'package_name': 'libpng12-0', 290 'package_name': 'libpng12-0',
288 'dependencies=': [], 291 'dependencies=': [],
289 'includes': ['standard_instrumented_package_target.gypi'], 292 'includes': ['standard_instrumented_package_target.gypi'],
290 }, 293 },
291 { 294 {
292 'package_name': 'libx11-6', 295 'package_name': 'libx11-6',
293 'dependencies=': [], 296 'dependencies=': [],
294 'extra_configure_flags': ['--disable-specs'], 297 'extra_configure_flags': ['--disable-specs'],
295 'msan_blacklist': 'blacklists/msan/libx11-6.txt', 298 'msan_blacklist': 'blacklists/msan/libx11-6.txt',
299 # Required on Trusty due to autoconf version mismatch.
300 'run_before_build': 'scripts/autoreconf.sh',
296 'includes': ['standard_instrumented_package_target.gypi'], 301 'includes': ['standard_instrumented_package_target.gypi'],
297 }, 302 },
298 { 303 {
299 'package_name': 'libxau6', 304 'package_name': 'libxau6',
300 'dependencies=': [], 305 'dependencies=': [],
301 'includes': ['standard_instrumented_package_target.gypi'], 306 'includes': ['standard_instrumented_package_target.gypi'],
302 }, 307 },
303 { 308 {
304 'package_name': 'libxcb1', 309 'package_name': 'libxcb1',
305 'dependencies=': [], 310 'dependencies=': [],
306 'extra_configure_flags': ['--disable-build-docs'], 311 'extra_configure_flags': ['--disable-build-docs'],
312 # Required on Trusty due to autoconf version mismatch.
313 'run_before_build': 'scripts/autoreconf.sh',
307 'includes': ['standard_instrumented_package_target.gypi'], 314 'includes': ['standard_instrumented_package_target.gypi'],
308 }, 315 },
309 { 316 {
310 'package_name': 'libxcomposite1', 317 'package_name': 'libxcomposite1',
311 'dependencies=': [], 318 'dependencies=': [],
312 'includes': ['standard_instrumented_package_target.gypi'], 319 'includes': ['standard_instrumented_package_target.gypi'],
313 }, 320 },
314 { 321 {
315 'package_name': 'libxcursor1', 322 'package_name': 'libxcursor1',
316 'dependencies=': [], 323 'dependencies=': [],
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 ], 456 ],
450 'includes': ['standard_instrumented_package_target.gypi'], 457 'includes': ['standard_instrumented_package_target.gypi'],
451 }, 458 },
452 { 459 {
453 'package_name': 'libcap2', 460 'package_name': 'libcap2',
454 'dependencies=': [], 461 'dependencies=': [],
455 'build_method': 'custom_libcap', 462 'build_method': 'custom_libcap',
456 'includes': ['standard_instrumented_package_target.gypi'], 463 'includes': ['standard_instrumented_package_target.gypi'],
457 }, 464 },
458 { 465 {
459 'package_name': 'libudev0', 466 'package_name': 'udev',
460 'dependencies=': [], 467 'dependencies=': [],
461 'extra_configure_flags': [ 468 'extra_configure_flags': [
462 # Without this flag there's a linking step that doesn't honor LDFLAGS 469 # Without this flag there's a linking step that doesn't honor LDFLAGS
463 # and fails. 470 # and fails.
464 # TODO(earthdok): find a better fix. 471 # TODO(earthdok): find a better fix.
465 '--disable-gudev' 472 '--disable-gudev'
466 ], 473 ],
474 # Required on Trusty due to autoconf version mismatch.
475 'run_before_build': 'scripts/autoreconf.sh',
467 'includes': ['standard_instrumented_package_target.gypi'], 476 'includes': ['standard_instrumented_package_target.gypi'],
468 }, 477 },
469 { 478 {
470 'package_name': 'libtasn1-3', 479 'package_name': 'libtasn1-3',
471 'dependencies=': [], 480 'dependencies=': [],
472 'includes': ['standard_instrumented_package_target.gypi'], 481 'includes': ['standard_instrumented_package_target.gypi'],
473 }, 482 },
474 { 483 {
475 'package_name': 'libgnome-keyring0', 484 'package_name': 'libgnome-keyring0',
476 'extra_configure_flags': [ 485 'extra_configure_flags': [
477 # Build static libs (from debian/rules). 486 # Build static libs (from debian/rules).
478 '--enable-static', 487 '--enable-static',
479 '--enable-tests=no', 488 '--enable-tests=no',
489 # Make the build less problematic.
490 '--disable-introspection',
480 ], 491 ],
481 'package_ldflags': ['-Wl,--as-needed'], 492 'package_ldflags': ['-Wl,--as-needed'],
482 'dependencies=': [], 493 'dependencies=': [],
483 'includes': ['standard_instrumented_package_target.gypi'], 494 'includes': ['standard_instrumented_package_target.gypi'],
484 }, 495 },
485 { 496 {
486 'package_name': 'libgtk2.0-0', 497 'package_name': 'libgtk2.0-0',
487 'package_cflags': ['-Wno-return-type'], 498 'package_cflags': ['-Wno-return-type'],
488 'extra_configure_flags': [ 499 'extra_configure_flags': [
489 # From debian/rules. 500 # From debian/rules.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 # From debian/rules. 536 # From debian/rules.
526 '--disable-scrollkeeper', 537 '--disable-scrollkeeper',
527 '--enable-gtk-doc', 538 '--enable-gtk-doc',
528 # --enable-introspection introduces a build step that attempts to run 539 # --enable-introspection introduces a build step that attempts to run
529 # a just-built binary and crashes. Vala requires introspection. 540 # a just-built binary and crashes. Vala requires introspection.
530 # TODO(earthdok): find a better fix. 541 # TODO(earthdok): find a better fix.
531 '--disable-introspection', 542 '--disable-introspection',
532 '--disable-vala', 543 '--disable-vala',
533 ], 544 ],
534 'dependencies=': [], 545 'dependencies=': [],
546 'run_before_build': 'scripts/autogen.sh',
535 'includes': ['standard_instrumented_package_target.gypi'], 547 'includes': ['standard_instrumented_package_target.gypi'],
536 }, 548 },
537 { 549 {
538 'package_name': 'liboverlay-scrollbar-0.2-0', 550 'package_name': 'overlay-scrollbar',
539 'extra_configure_flags': [ 551 'extra_configure_flags': [
540 '--with-gtk=2', 552 '--with-gtk=2',
541 ], 553 ],
542 'dependencies=': [], 554 'dependencies=': [],
555 'run_before_build': 'scripts/autogen.sh',
543 'includes': ['standard_instrumented_package_target.gypi'], 556 'includes': ['standard_instrumented_package_target.gypi'],
544 }, 557 },
545 { 558 {
546 'package_name': 'libgconf-2-4', 559 'package_name': 'libgconf-2-4',
547 'extra_configure_flags': [ 560 'extra_configure_flags': [
548 # From debian/rules. (Even though --with-gtk=3.0 doesn't make sense.) 561 # From debian/rules. (Even though --with-gtk=3.0 doesn't make sense.)
549 '--with-gtk=3.0', 562 '--with-gtk=3.0',
550 '--disable-orbit', 563 '--disable-orbit',
551 # See above. 564 # See above.
552 '--disable-introspection', 565 '--disable-introspection',
553 ], 566 ],
554 'dependencies=': [], 567 'dependencies=': [],
555 'includes': ['standard_instrumented_package_target.gypi'], 568 'includes': ['standard_instrumented_package_target.gypi'],
556 }, 569 },
557 { 570 {
558 'package_name': 'libappindicator1', 571 'package_name': 'libappindicator1',
559 'extra_configure_flags': [ 572 'extra_configure_flags': [
560 # See above. 573 # See above.
561 '--disable-introspection', 574 '--disable-introspection',
562 ], 575 ],
563 'dependencies=': [], 576 'dependencies=': [],
564 'jobs': 1, 577 'jobs': 1,
578 'run_before_build': 'scripts/autogen.sh',
565 'includes': ['standard_instrumented_package_target.gypi'], 579 'includes': ['standard_instrumented_package_target.gypi'],
566 }, 580 },
567 { 581 {
568 'package_name': 'libdbusmenu', 582 'package_name': 'libdbusmenu',
569 'extra_configure_flags': [ 583 'extra_configure_flags': [
570 # From debian/rules. 584 # From debian/rules.
571 '--disable-scrollkeeper', 585 '--disable-scrollkeeper',
572 '--with-gtk=2', 586 '--with-gtk=2',
573 # See above. 587 # See above.
574 '--disable-introspection', 588 '--disable-introspection',
575 '--disable-vala', 589 '--disable-vala',
576 ], 590 ],
577 'dependencies=': [], 591 'dependencies=': [],
592 'run_before_build': 'scripts/autogen.sh',
578 'includes': ['standard_instrumented_package_target.gypi'], 593 'includes': ['standard_instrumented_package_target.gypi'],
579 }, 594 },
580 { 595 {
581 'package_name': 'atk1.0', 596 'package_name': 'atk1.0',
582 'extra_configure_flags': [ 597 'extra_configure_flags': [
583 # See above. 598 # See above.
584 '--disable-introspection', 599 '--disable-introspection',
585 ], 600 ],
586 'dependencies=': [], 601 'dependencies=': [],
587 'includes': ['standard_instrumented_package_target.gypi'], 602 'includes': ['standard_instrumented_package_target.gypi'],
588 }, 603 },
589 { 604 {
590 'package_name': 'libunity9', 605 'package_name': 'libunity9',
591 'dependencies=': [], 606 'dependencies=': [],
607 'run_before_build': 'scripts/autogen.sh',
592 'includes': ['standard_instrumented_package_target.gypi'], 608 'includes': ['standard_instrumented_package_target.gypi'],
593 }, 609 },
594 { 610 {
595 'package_name': 'dee', 611 'package_name': 'dee',
596 'extra_configure_flags': [ 612 'extra_configure_flags': [
597 # See above. 613 # See above.
598 '--disable-introspection', 614 '--disable-introspection',
599 ], 615 ],
600 'dependencies=': [], 616 'dependencies=': [],
617 'run_before_build': 'scripts/autogen.sh',
601 'includes': ['standard_instrumented_package_target.gypi'], 618 'includes': ['standard_instrumented_package_target.gypi'],
602 }, 619 },
603 ], 620 ],
604 } 621 }
OLDNEW
« no previous file with comments | « no previous file | third_party/instrumented_libraries/scripts/autogen.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698