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

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

Issue 1640873003: Add an instrumented library stub. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | no next file » | 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 'instrumented_libraries_cc%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/b in/clang', 9 'instrumented_libraries_cc%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/b in/clang',
10 'instrumented_libraries_cxx%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/ bin/clang++', 10 'instrumented_libraries_cxx%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/ bin/clang++',
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 '<(_sanitizer_type)-libdbusmenu-glib4', 192 '<(_sanitizer_type)-libdbusmenu-glib4',
193 '<(_sanitizer_type)-libgconf-2-4', 193 '<(_sanitizer_type)-libgconf-2-4',
194 '<(_sanitizer_type)-libappindicator1', 194 '<(_sanitizer_type)-libappindicator1',
195 '<(_sanitizer_type)-libdbusmenu', 195 '<(_sanitizer_type)-libdbusmenu',
196 '<(_sanitizer_type)-atk1.0', 196 '<(_sanitizer_type)-atk1.0',
197 '<(_sanitizer_type)-libunity9', 197 '<(_sanitizer_type)-libunity9',
198 '<(_sanitizer_type)-dee', 198 '<(_sanitizer_type)-dee',
199 '<(_sanitizer_type)-libpixman-1-0', 199 '<(_sanitizer_type)-libpixman-1-0',
200 '<(_sanitizer_type)-brltty', 200 '<(_sanitizer_type)-brltty',
201 '<(_sanitizer_type)-libva1', 201 '<(_sanitizer_type)-libva1',
202 '<(_sanitizer_type)-libcredentialkit_pkcs11-stub',
202 ], 203 ],
203 'conditions': [ 204 'conditions': [
204 ['"<(_ubuntu_release)"=="precise"', { 205 ['"<(_ubuntu_release)"=="precise"', {
205 'dependencies': [ 206 'dependencies': [
206 '<(_sanitizer_type)-libtasn1-3', 207 '<(_sanitizer_type)-libtasn1-3',
207 ], 208 ],
208 }, { 209 }, {
209 'dependencies': [ 210 'dependencies': [
210 # Trusty and above. 211 # Trusty and above.
211 '<(_sanitizer_type)-libtasn1-6', 212 '<(_sanitizer_type)-libtasn1-6',
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 'package_name': 'libsecret', 851 'package_name': 'libsecret',
851 'dependencies=': [], 852 'dependencies=': [],
852 'extra_configure_flags': [ 853 'extra_configure_flags': [
853 '--disable-static', 854 '--disable-static',
854 # See above. 855 # See above.
855 '--disable-introspection', 856 '--disable-introspection',
856 ], 857 ],
857 'pre_build': 'scripts/pre-build/autoreconf.sh', 858 'pre_build': 'scripts/pre-build/autoreconf.sh',
858 'includes': ['standard_instrumented_package_target.gypi'], 859 'includes': ['standard_instrumented_package_target.gypi'],
859 }, 860 },
861 {
862 # Creates a stub to convince NSS to not load the system-wide uninstrumente d library.
863 # It appears that just an empty file is enough.
864 'package_name': 'libcredentialkit_pkcs11-stub',
865 'target_name': '<(_sanitizer_type)-<(_package_name)',
866 'type': 'none',
867 'actions': [
868 {
869 'action_name': '<(_package_name)',
870 'inputs': [],
871 'outputs': [
872 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package _name).txt',
hans 2016/01/27 23:44:04 I'm not familiar with this GYP file. It's used fo
873 ],
874 'action': [
875 'touch',
876 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/lib/libcre dentialkit_pkcs11.so.0',
877 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package _name).txt',
878 ],
879 },
880 ],
881 },
860 ], 882 ],
861 } 883 }
OLDNEW
« 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