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

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

Issue 1150193002: GN: Add support for prebuilt instrumented libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 '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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 'target_name': 'prebuilt_instrumented_libraries', 87 'target_name': 'prebuilt_instrumented_libraries',
88 'type': 'none', 88 'type': 'none',
89 'variables': { 89 'variables': {
90 'prune_self_dependency': 1, 90 'prune_self_dependency': 1,
91 # Don't add this target to the dependencies of targets with type=none. 91 # Don't add this target to the dependencies of targets with type=none.
92 'link_dependency': 1, 92 'link_dependency': 1,
93 'conditions': [ 93 'conditions': [
94 ['msan==1', { 94 ['msan==1', {
95 'conditions': [ 95 'conditions': [
96 ['msan_track_origins==2', { 96 ['msan_track_origins==2', {
97 'archive_name': 'msan-chained-origins-<(_ubuntu_release)', 97 'archive_prefix': 'msan-chained-origins',
98 }, { 98 }, {
99 'conditions': [ 99 'conditions': [
100 ['msan_track_origins==0', { 100 ['msan_track_origins==0', {
101 'archive_name': 'msan-no-origins-<(_ubuntu_release)', 101 'archive_prefix': 'msan-no-origins',
102 }, { 102 }, {
103 'archive_name': 'UNSUPPORTED_CONFIGURATION' 103 'archive_prefix': 'UNSUPPORTED_CONFIGURATION'
104 }], 104 }],
105 ]}], 105 ]}],
106 ]}, { 106 ]}, {
107 'archive_name': 'UNSUPPORTED_CONFIGURATION' 107 'archive_prefix': 'UNSUPPORTED_CONFIGURATION'
108 }], 108 }],
109 ], 109 ],
110 }, 110 },
111 'actions': [ 111 'actions': [
112 { 112 {
113 'action_name': 'unpack_<(archive_name).tgz', 113 'action_name': 'unpack_<(archive_prefix)-<(_ubuntu_release).tgz',
114 'inputs': [ 114 'inputs': [
115 'binaries/<(archive_name).tgz', 115 'binaries/<(archive_prefix)-<(_ubuntu_release).tgz',
116 ], 116 ],
117 'outputs': [ 117 'outputs': [
118 '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_name).txt' , 118 '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_prefix).tx t',
119 ], 119 ],
120 'action': [ 120 'action': [
121 'scripts/unpack_binaries.sh', 121 'scripts/unpack_binaries.py',
122 'binaries/<(archive_name).tgz', 122 '<(archive_prefix)',
123 'binaries',
123 '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/', 124 '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/',
124 '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_name).txt' ,
125 ], 125 ],
126 }, 126 },
127 ], 127 ],
128 'direct_dependent_settings': { 128 'direct_dependent_settings': {
129 'target_conditions': [ 129 'target_conditions': [
130 ['_toolset=="target"', { 130 ['_toolset=="target"', {
131 'ldflags': [ 131 'ldflags': [
132 # Add a relative RPATH entry to Chromium binaries. This puts 132 # Add a relative RPATH entry to Chromium binaries. This puts
133 # instrumented DSOs before system-installed versions in library 133 # instrumented DSOs before system-installed versions in library
134 # search path. 134 # search path.
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 'extra_configure_flags': [ 851 'extra_configure_flags': [
852 '--disable-static', 852 '--disable-static',
853 # See above. 853 # See above.
854 '--disable-introspection', 854 '--disable-introspection',
855 ], 855 ],
856 'pre_build': 'scripts/pre-build/autoreconf.sh', 856 'pre_build': 'scripts/pre-build/autoreconf.sh',
857 'includes': ['standard_instrumented_package_target.gypi'], 857 'includes': ['standard_instrumented_package_target.gypi'],
858 }, 858 },
859 ], 859 ],
860 } 860 }
OLDNEW
« no previous file with comments | « third_party/instrumented_libraries/BUILD.gn ('k') | third_party/instrumented_libraries/scripts/unpack_binaries.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698