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

Side by Side Diff: android_webview/build/install_binary

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fixes Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/bash -x
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.
5
6 # Copies a possibly stripped binary and a symbol file to installation dirs.
7
8 if [ "$3" = "" ]
9 then
10 echo "Usage: install_binary path/to/binary path/to/target1 path/to/target2 pat h/to/symbols"
11 exit 1
12 fi
13
14 SOURCE=$1
15 TARGET=$2
16 TARGET2=$3
17 SYMBOLS=$4
18
19 mkdir -p $(dirname $SYMBOLS)
20
21 cp $SOURCE $SYMBOLS
22 $STRIP --strip-unneeded $SOURCE -o $TARGET
23 cp $TARGET $TARGET2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698