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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/instrumented_libraries.gyp
===================================================================
--- third_party/instrumented_libraries/instrumented_libraries.gyp (revision 242050)
+++ third_party/instrumented_libraries/instrumented_libraries.gyp (working copy)
@@ -6,6 +6,42 @@
# Default value for all libraries.
'custom_configure_flags': '',
'custom_linker_flags': '',
+
+ # Some librraies should not be built before others, so these lists define
+ # the order to build them all.
+ # The problem is that if you configure libraries to be installed to
+ # the directory where some other libraries are installed, it could break
+ # the build. For example, zlib1g should not be installed before other
+ # libraries.
+ 'first_order_libraries': [
+ '<(_sanitizer_type)-libcairo2',
+ '<(_sanitizer_type)-libexpat1',
+ '<(_sanitizer_type)-libffi6',
+ '<(_sanitizer_type)-libgcrypt11',
+ '<(_sanitizer_type)-libgpg-error0',
+ '<(_sanitizer_type)-libp11-kit0',
+ '<(_sanitizer_type)-libpcre3',
+ '<(_sanitizer_type)-libpixman-1-0',
+ '<(_sanitizer_type)-libpng12-0',
+ '<(_sanitizer_type)-libx11-6',
+ '<(_sanitizer_type)-libxau6',
+ '<(_sanitizer_type)-libxcb1',
+ '<(_sanitizer_type)-libxcomposite1',
+ '<(_sanitizer_type)-libxcursor1',
+ '<(_sanitizer_type)-libxdamage1',
+ '<(_sanitizer_type)-libxdmcp6',
+ '<(_sanitizer_type)-libxext6',
+ '<(_sanitizer_type)-libxfixes3',
+ '<(_sanitizer_type)-libxi6',
+ '<(_sanitizer_type)-libxinerama1',
+ '<(_sanitizer_type)-libxrandr2',
+ '<(_sanitizer_type)-libxrender1',
+ '<(_sanitizer_type)-libxss1',
+ '<(_sanitizer_type)-libxtst6',
+ ],
+ 'second_order_libraries': [
+ '<(_sanitizer_type)-zlib1g',
+ ],
'variables': {
'verbose_libraries_build%': 0,
@@ -13,6 +49,10 @@
'conditions': [
['asan==1', {
'sanitizer_type': 'asan',
+ 'first_order_libraries': [
+ '<(_sanitizer_type)-libfontconfig1',
+ '<(_sanitizer_type)-libglib2.0-0',
+ ],
}],
['msan==1', {
'sanitizer_type': 'msan',
@@ -30,33 +70,10 @@
'variables': {
'prune_self_dependency': 1,
},
- 'dependencies': [
- '<(_sanitizer_type)-libpng12-0',
- '<(_sanitizer_type)-libxau6',
- '<(_sanitizer_type)-libxdmcp6',
- '<(_sanitizer_type)-libx11-6',
- '<(_sanitizer_type)-libxcb1',
- '<(_sanitizer_type)-libxext6',
- '<(_sanitizer_type)-libxi6',
- '<(_sanitizer_type)-libxrandr2',
- '<(_sanitizer_type)-libxrender1',
- '<(_sanitizer_type)-libxtst6',
- '<(_sanitizer_type)-libpixman-1-0',
- '<(_sanitizer_type)-libp11-kit0',
- '<(_sanitizer_type)-libgpg-error0',
- '<(_sanitizer_type)-libexpat1',
- '<(_sanitizer_type)-libffi6',
- '<(_sanitizer_type)-libcairo2',
- '<(_sanitizer_type)-libpcre3',
+ 'dependencies=': [
+ '<@(_first_order_libraries)',
+ '<@(_second_order_libraries)',
],
- 'conditions': [
- ['asan==1', {
- 'dependencies': [
- '<(_sanitizer_type)-libfontconfig1',
- '<(_sanitizer_type)-libglib2.0-0',
- ],
- }],
- ],
'actions': [
{
'action_name': 'fix_rpaths',
@@ -74,45 +91,51 @@
],
},
{
- 'library_name': 'libpng12-0',
+ 'library_name': 'libcairo2',
'dependencies=': [],
+ 'custom_configure_flags': '--disable-gtk-doc',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libpixman-1-0',
+ 'library_name': 'libexpat1',
'dependencies=': [],
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libp11-kit0',
+ 'library_name': 'libffi6',
'dependencies=': [],
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libgpg-error0',
+ 'library_name': 'libfontconfig1',
'dependencies=': [],
+ 'custom_configure_flags': '--disable-docs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libexpat1',
+ 'library_name': 'libgcrypt11',
'dependencies=': [],
+ 'custom_linker_flags': '-Wl,-z,muldefs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libffi6',
+ 'library_name': 'libglib2.0-0',
'dependencies=': [],
+ 'custom_configure_flags': [
+ '--disable-gtk-doc',
+ '--disable-gtk-doc-html',
+ '--disable-gtk-doc-pdf',
+ ],
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libfontconfig1',
+ 'library_name': 'libgpg-error0',
'dependencies=': [],
- 'custom_configure_flags': '--disable-docs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libcairo2',
+ 'library_name': 'libp11-kit0',
'dependencies=': [],
- 'custom_configure_flags': '--disable-gtk-doc',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
@@ -125,30 +148,24 @@
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libxau6',
+ 'library_name': 'libpixman-1-0',
'dependencies=': [],
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libglib2.0-0',
+ 'library_name': 'libpng12-0',
'dependencies=': [],
- 'custom_configure_flags': [
- '--disable-gtk-doc',
- '--disable-gtk-doc-html',
- '--disable-gtk-doc-pdf',
- ],
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libxdmcp6',
+ 'library_name': 'libx11-6',
'dependencies=': [],
- 'custom_configure_flags': '--disable-docs',
+ 'custom_configure_flags': '--disable-specs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
- 'library_name': 'libx11-6',
+ 'library_name': 'libxau6',
'dependencies=': [],
- 'custom_configure_flags': '--disable-specs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
@@ -158,12 +175,38 @@
'includes': ['standard_instrumented_library_target.gypi'],
},
{
+ 'library_name': 'libxcomposite1',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
+ 'library_name': 'libxcursor1',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
+ 'library_name': 'libxdamage1',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
+ 'library_name': 'libxdmcp6',
+ 'dependencies=': [],
+ 'custom_configure_flags': '--disable-docs',
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
'library_name': 'libxext6',
'dependencies=': [],
'custom_configure_flags': '--disable-specs',
'includes': ['standard_instrumented_library_target.gypi'],
},
{
+ 'library_name': 'libxfixes3',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
'library_name': 'libxi6',
'dependencies=': [],
'custom_configure_flags': [
@@ -173,6 +216,11 @@
'includes': ['standard_instrumented_library_target.gypi'],
},
{
+ 'library_name': 'libxinerama1',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
'library_name': 'libxrandr2',
'dependencies=': [],
'includes': ['standard_instrumented_library_target.gypi'],
@@ -183,10 +231,22 @@
'includes': ['standard_instrumented_library_target.gypi'],
},
{
+ 'library_name': 'libxss1',
+ 'dependencies=': [],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
+ {
'library_name': 'libxtst6',
'dependencies=': [],
'custom_configure_flags': '--disable-specs',
'includes': ['standard_instrumented_library_target.gypi'],
},
+ {
+ 'library_name': 'zlib1g',
+ 'dependencies=': [
+ '<@(_first_order_libraries)',
+ ],
+ 'includes': ['standard_instrumented_library_target.gypi'],
+ },
],
}
« 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