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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/java_apk.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/prepare_library_for_apk
diff --git a/build/android/prepare_library_for_apk b/build/android/prepare_library_for_apk
index 0795f00921d5d2bd35e4cfc2c46275c809674d3b..ce414b3b916a296aa05f1d818bb6b5a7f46c8346 100755
--- a/build/android/prepare_library_for_apk
+++ b/build/android/prepare_library_for_apk
@@ -3,22 +3,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# Creates a stripped copy of a library and a link to the unstripped copy.
-# The stripped copy is included in the apk and the link is needed for the crash
-# stack annotation tool.
+# Creates a stripped copy of a library for inclusion in an apk.
-if [[ $# -ne 4 ]]
+if [[ $# -ne 3 ]]
then
- echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/library/output/path link/output/path"
+ echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/library/output/path"
exit 1
fi
ANDROID_STRIP=$1
LIBRARY=$2
STRIPPED=$3
-LINK=$4
-set -x
-mkdir -p $LINK
+set -ex
$ANDROID_STRIP --strip-unneeded $LIBRARY -o $STRIPPED
-ln -f $LIBRARY $LINK
« 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