OLD | NEW |
---|---|
(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 for inclusion in an apk. | |
7 | |
8 if [[ $# -ne 3 ]] | |
9 then | |
10 echo "Usage: prepare_library_for_apk android_strip path/to/library stripped/li brary/output/path" | |
11 exit 1 | |
12 fi | |
13 | |
14 ANDROID_STRIP=$1 | |
15 LIBRARY=$2 | |
16 STRIPPED=$3 | |
17 | |
18 set -e | |
19 $ANDROID_STRIP --strip-unneeded $LIBRARY -o $STRIPPED | |
OLD | NEW |