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

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

Issue 1003593002: Instrumented libraries: the much-needed build script rewrite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address remaining comments Created 5 years, 9 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
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
11 'libdir': 'lib',
11 'ubuntu_release': '<!(lsb_release -cs)', 12 'ubuntu_release': '<!(lsb_release -cs)',
12 13
13 'conditions': [ 14 'conditions': [
14 ['asan==1', { 15 ['asan==1', {
15 'sanitizer_type': 'asan', 16 'sanitizer_type': 'asan',
16 }], 17 }],
17 ['msan==1', { 18 ['msan==1', {
18 'sanitizer_type': 'msan', 19 'sanitizer_type': 'msan',
19 }], 20 }],
20 ['tsan==1', { 21 ['tsan==1', {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 '<(_sanitizer_type)-brltty', 168 '<(_sanitizer_type)-brltty',
168 '<(_sanitizer_type)-libva1', 169 '<(_sanitizer_type)-libva1',
169 ], 170 ],
170 }] 171 }]
171 ], 172 ],
172 'direct_dependent_settings': { 173 'direct_dependent_settings': {
173 'target_conditions': [ 174 'target_conditions': [
174 ['_toolset=="target"', { 175 ['_toolset=="target"', {
175 'ldflags': [ 176 'ldflags': [
176 # Add RPATH to result binary to make it linking instrumented libra ries ($ORIGIN means relative RPATH) 177 # Add RPATH to result binary to make it linking instrumented libra ries ($ORIGIN means relative RPATH)
177 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/', 178 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/<(_lib dir)/',
178 '-Wl,-z,origin', 179 '-Wl,-z,origin',
179 ], 180 ],
180 }], 181 }],
181 ], 182 ],
182 }, 183 },
183 }, 184 },
184 { 185 {
185 'package_name': 'freetype', 186 'package_name': 'freetype',
186 'dependencies=': [], 187 'dependencies=': [],
187 'extra_configure_flags': ['--disable-static'], 188 'extra_configure_flags': ['--disable-static'],
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 'extra_configure_flags': [ 782 'extra_configure_flags': [
782 '--disable-static', 783 '--disable-static',
783 # See above. 784 # See above.
784 '--disable-introspection', 785 '--disable-introspection',
785 ], 786 ],
786 'run_before_build': 'scripts/autoreconf.sh', 787 'run_before_build': 'scripts/autoreconf.sh',
787 'includes': ['standard_instrumented_package_target.gypi'], 788 'includes': ['standard_instrumented_package_target.gypi'],
788 }, 789 },
789 ], 790 ],
790 } 791 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698