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

Side by Side Diff: build/android/prepare_library_for_apk

Issue 11096038: Move shared library copy and strip to java_apk.gypi (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Workaround make generator bug Created 8 years, 2 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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
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 # Creates a stripped copy of a library and a link to the unstripped copy.
7 # The stripped copy is included in the apk and the link is needed for the crash
8 # stack annotation tool.
9
10 if [[ $# -ne 4 ]]
11 then
12 echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/li brary/output/path link/output/path"
13 exit 1
14 fi
15
16 ANDROID_STRIP=$1
17 LIBRARY=$2
18 STRIPPED=$3
19 LINK=$4
20
21 set -x
22 mkdir -p $LINK
23 $ANDROID_STRIP --strip-unneeded $LIBRARY -o $STRIPPED
24 ln -f $LIBRARY $LINK
OLDNEW
« no previous file with comments | « android_webview/android_webview.gyp ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698