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

Unified Diff: third_party/instrumented_libraries/scripts/unpack_binaries.sh

Issue 1003273006: Re-land: Instrumented libraries: add a target for pre-built libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/instrumented_libraries/instrumented_libraries.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/scripts/unpack_binaries.sh
diff --git a/third_party/instrumented_libraries/scripts/unpack_binaries.sh b/third_party/instrumented_libraries/scripts/unpack_binaries.sh
new file mode 100755
index 0000000000000000000000000000000000000000..12af6adc578208026f640095ac895539497498c5
--- /dev/null
+++ b/third_party/instrumented_libraries/scripts/unpack_binaries.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Unpacks an archive containing prebuilt instrumented libraries into output dir.
+
+archive_file=$1
+target_dir=$2
+stamp_file=$3
+
+rm ${target_dir}/* -rf
+tar -zxf ${archive_file} -C ${target_dir}
+
+touch ${stamp_file}
« no previous file with comments | « third_party/instrumented_libraries/instrumented_libraries.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698