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

Side by Side Diff: build/android/prepare_library_for_apk

Issue 11368102: Remove unneeded symbolic link to libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « no previous file | 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
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Creates a stripped copy of a library and a link to the unstripped copy. 6 # Creates a stripped copy of a library for inclusion in an apk.
7 # The stripped copy is included in the apk and the link is needed for the crash
8 # stack annotation tool.
9 7
10 if [[ $# -ne 4 ]] 8 if [[ $# -ne 3 ]]
11 then 9 then
12 echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/li brary/output/path link/output/path" 10 echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/li brary/output/path"
13 exit 1 11 exit 1
14 fi 12 fi
15 13
16 ANDROID_STRIP=$1 14 ANDROID_STRIP=$1
17 LIBRARY=$2 15 LIBRARY=$2
18 STRIPPED=$3 16 STRIPPED=$3
19 LINK=$4
20 17
21 set -x 18 set -ex
22 mkdir -p $LINK
23 $ANDROID_STRIP --strip-unneeded $LIBRARY -o $STRIPPED 19 $ANDROID_STRIP --strip-unneeded $LIBRARY -o $STRIPPED
24 ln -f $LIBRARY $LINK
OLDNEW
« no previous file with comments | « no previous file | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698