summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/instrumented_libraries.gyp
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2014-09-30 04:47:34 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-30 11:47:53 +0000
commit01cd163972fb6a5b08654979a82025b2baccf4a7 (patch)
treec3680ba775a09870eda9f4fde4c1c59bccdfc0d4 /third_party/instrumented_libraries/instrumented_libraries.gyp
parentb0d1b1dc4910f1170046fc0d1a9605212782d4da (diff)
downloadchromium_src-01cd163972fb6a5b08654979a82025b2baccf4a7.zip
chromium_src-01cd163972fb6a5b08654979a82025b2baccf4a7.tar.gz
chromium_src-01cd163972fb6a5b08654979a82025b2baccf4a7.tar.bz2
Instrumented libraries: support building on Ubuntu Trusty (part 1).
- use more generic names for some packages. The new names are valid on both Precise and Trusty, - for some packages, run autoreconf or ./autogen.sh before building. This is required sometimes because the pre-generated configure script was generated using an older autoconf version than the one used on Trusty. Some packages don't even contain a pre-generated configure script. BUG=414189 R=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/612153002 Cr-Commit-Position: refs/heads/master@{#297408}
Diffstat (limited to 'third_party/instrumented_libraries/instrumented_libraries.gyp')
-rw-r--r--third_party/instrumented_libraries/instrumented_libraries.gyp25
1 files changed, 21 insertions, 4 deletions
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
index 5bd857e..ff7fed2 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -116,14 +116,14 @@
'<(_sanitizer_type)-libasound2',
'<(_sanitizer_type)-pango1.0',
'<(_sanitizer_type)-libcap2',
- '<(_sanitizer_type)-libudev0',
+ '<(_sanitizer_type)-udev',
'<(_sanitizer_type)-libtasn1-3',
'<(_sanitizer_type)-libgnome-keyring0',
'<(_sanitizer_type)-libgtk2.0-0',
'<(_sanitizer_type)-libgdk-pixbuf2.0-0',
'<(_sanitizer_type)-libpci3',
'<(_sanitizer_type)-libdbusmenu-glib4',
- '<(_sanitizer_type)-liboverlay-scrollbar-0.2-0',
+ '<(_sanitizer_type)-overlay-scrollbar',
'<(_sanitizer_type)-libgconf-2-4',
'<(_sanitizer_type)-libappindicator1',
'<(_sanitizer_type)-libdbusmenu',
@@ -245,6 +245,7 @@
'--disable-gtk-doc-pdf',
],
'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt',
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -266,6 +267,8 @@
{
'package_name': 'libp11-kit0',
'dependencies=': [],
+ # Required on Trusty due to autoconf version mismatch.
+ 'run_before_build': 'scripts/autoreconf.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -293,6 +296,8 @@
'dependencies=': [],
'extra_configure_flags': ['--disable-specs'],
'msan_blacklist': 'blacklists/msan/libx11-6.txt',
+ # Required on Trusty due to autoconf version mismatch.
+ 'run_before_build': 'scripts/autoreconf.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -304,6 +309,8 @@
'package_name': 'libxcb1',
'dependencies=': [],
'extra_configure_flags': ['--disable-build-docs'],
+ # Required on Trusty due to autoconf version mismatch.
+ 'run_before_build': 'scripts/autoreconf.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -456,7 +463,7 @@
'includes': ['standard_instrumented_package_target.gypi'],
},
{
- 'package_name': 'libudev0',
+ 'package_name': 'udev',
'dependencies=': [],
'extra_configure_flags': [
# Without this flag there's a linking step that doesn't honor LDFLAGS
@@ -464,6 +471,8 @@
# TODO(earthdok): find a better fix.
'--disable-gudev'
],
+ # Required on Trusty due to autoconf version mismatch.
+ 'run_before_build': 'scripts/autoreconf.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -477,6 +486,8 @@
# Build static libs (from debian/rules).
'--enable-static',
'--enable-tests=no',
+ # Make the build less problematic.
+ '--disable-introspection',
],
'package_ldflags': ['-Wl,--as-needed'],
'dependencies=': [],
@@ -532,14 +543,16 @@
'--disable-vala',
],
'dependencies=': [],
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
- 'package_name': 'liboverlay-scrollbar-0.2-0',
+ 'package_name': 'overlay-scrollbar',
'extra_configure_flags': [
'--with-gtk=2',
],
'dependencies=': [],
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -562,6 +575,7 @@
],
'dependencies=': [],
'jobs': 1,
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -575,6 +589,7 @@
'--disable-vala',
],
'dependencies=': [],
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -589,6 +604,7 @@
{
'package_name': 'libunity9',
'dependencies=': [],
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
{
@@ -598,6 +614,7 @@
'--disable-introspection',
],
'dependencies=': [],
+ 'run_before_build': 'scripts/autogen.sh',
'includes': ['standard_instrumented_package_target.gypi'],
},
],