2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 # Copies a possibly stripped binary and a symbol file to installation dirs.
10 echo "Usage: install_binary path/to/binary path/to/target1 path/to/target2 path/to/symbols path/to/symbols2"
20 mkdir
-p $
(dirname $SYMBOLS)
23 # Create a hard link to avoid the additional copy to the secondary location.
25 $STRIP --strip-unneeded $SOURCE -o $TARGET