summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts/unpack_binaries.sh
blob: 12af6adc578208026f640095ac895539497498c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}