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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/instrumented_libraries/instrumented_libraries.gyp
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
index 8f0bddafba55ae30b1307110a7789c41aa0821f6..307aed194091c0b5ef2c5abd242c3c84a009952d 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -94,34 +94,34 @@
['msan==1', {
'conditions': [
['msan_track_origins==2', {
- 'archive_name': 'msan-chained-origins-<(_ubuntu_release)',
+ 'archive_prefix': 'msan-chained-origins',
}, {
'conditions': [
['msan_track_origins==0', {
- 'archive_name': 'msan-no-origins-<(_ubuntu_release)',
+ 'archive_prefix': 'msan-no-origins',
}, {
- 'archive_name': 'UNSUPPORTED_CONFIGURATION'
+ 'archive_prefix': 'UNSUPPORTED_CONFIGURATION'
}],
]}],
]}, {
- 'archive_name': 'UNSUPPORTED_CONFIGURATION'
+ 'archive_prefix': 'UNSUPPORTED_CONFIGURATION'
}],
],
},
'actions': [
{
- 'action_name': 'unpack_<(archive_name).tgz',
+ 'action_name': 'unpack_<(archive_prefix)-<(_ubuntu_release).tgz',
'inputs': [
- 'binaries/<(archive_name).tgz',
+ 'binaries/<(archive_prefix)-<(_ubuntu_release).tgz',
],
'outputs': [
- '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_name).txt',
+ '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_prefix).txt',
],
'action': [
- 'scripts/unpack_binaries.sh',
- 'binaries/<(archive_name).tgz',
+ 'scripts/unpack_binaries.py',
+ '<(archive_prefix)',
+ 'binaries',
'<(PRODUCT_DIR)/instrumented_libraries_prebuilt/',
- '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_name).txt',
],
},
],
« 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