diff options
author | Tao Bao <tbao@google.com> | 2017-10-11 16:47:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-11 16:47:36 +0000 |
commit | ec365b37878467edc746a9646da96eb91ccb12bd (patch) | |
tree | 36fceda87f238a7b534acafca254fe0bd46a94d7 | |
parent | a0df5d74ad301ea4dd1ec4214c32d9fd9ea52de8 (diff) | |
parent | 1022ede26945b23c33a33e4a08a8d74655854d29 (diff) | |
download | bzip2-ec365b37878467edc746a9646da96eb91ccb12bd.tar.gz |
Merge "Build both of static and shared libs."
-rw-r--r-- | Android.bp | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -cc_library_static { +cc_library { name: "libbz", host_supported: true, arch: { @@ -45,9 +45,7 @@ cc_library_static { cc_binary { name: "bzip2", srcs: ["bzip2.c"], - // This is only static because we don't currently have libbz.so on device. - // If that changes, change this too. - static_libs: ["libbz"], + shared_libs: ["libbz"], stl: "none", cflags: [ "-Werror", |