Remove "_host" and "_static" suffix from libsparse definition. am: b0c395955d am: 7b8d66e7cc
am: 11b65cf3be
Change-Id: I3ed3e1b939006db8cb7e968654c16e393fdce6e9
This commit is contained in:
commit
092a732ef2
4 changed files with 16 additions and 27 deletions
|
|
@ -58,7 +58,7 @@ LOCAL_C_INCLUDES_windows := development/host/windows/usb/api
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libziparchive \
|
libziparchive \
|
||||||
libext4_utils \
|
libext4_utils \
|
||||||
libsparse_host \
|
libsparse \
|
||||||
libutils \
|
libutils \
|
||||||
liblog \
|
liblog \
|
||||||
libz \
|
libz \
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ LOCAL_STATIC_LIBRARIES := libfs_mgr \
|
||||||
libcutils \
|
libcutils \
|
||||||
liblog \
|
liblog \
|
||||||
libc \
|
libc \
|
||||||
libsparse_static \
|
libsparse \
|
||||||
libz \
|
libz \
|
||||||
libselinux
|
libselinux
|
||||||
LOCAL_CXX_STL := libc++_static
|
LOCAL_CXX_STL := libc++_static
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ LOCAL_STATIC_LIBRARIES := \
|
||||||
libcrypto \
|
libcrypto \
|
||||||
libc++_static \
|
libc++_static \
|
||||||
libdl \
|
libdl \
|
||||||
libsparse_static \
|
libsparse \
|
||||||
libz \
|
libz \
|
||||||
libprocessgroup \
|
libprocessgroup \
|
||||||
libnl \
|
libnl \
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
// Copyright 2010 The Android Open Source Project
|
// Copyright 2010 The Android Open Source Project
|
||||||
|
|
||||||
cc_defaults {
|
cc_library {
|
||||||
name: "libsparse_defaults",
|
name: "libsparse",
|
||||||
|
host_supported: true,
|
||||||
|
unique_host_soname: true,
|
||||||
srcs: [
|
srcs: [
|
||||||
"backed_block.c",
|
"backed_block.c",
|
||||||
"output_file.c",
|
"output_file.c",
|
||||||
|
|
@ -13,32 +15,19 @@ cc_defaults {
|
||||||
cflags: ["-Werror"],
|
cflags: ["-Werror"],
|
||||||
local_include_dirs: ["include"],
|
local_include_dirs: ["include"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
}
|
|
||||||
|
|
||||||
cc_library_host_static {
|
|
||||||
name: "libsparse_host",
|
|
||||||
defaults: ["libsparse_defaults"],
|
|
||||||
static_libs: ["libz"],
|
|
||||||
target: {
|
target: {
|
||||||
|
host: {
|
||||||
|
shared_libs: ["libz-host"],
|
||||||
|
},
|
||||||
|
android: {
|
||||||
|
shared_libs: ["libz"],
|
||||||
|
},
|
||||||
windows: {
|
windows: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library_shared {
|
|
||||||
name: "libsparse",
|
|
||||||
defaults: ["libsparse_defaults"],
|
|
||||||
shared_libs: ["libz"],
|
|
||||||
}
|
|
||||||
|
|
||||||
cc_library_static {
|
|
||||||
name: "libsparse_static",
|
|
||||||
host_supported: true,
|
|
||||||
defaults: ["libsparse_defaults"],
|
|
||||||
static_libs: ["libz"],
|
|
||||||
}
|
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "simg2img",
|
name: "simg2img",
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
|
|
@ -47,7 +36,7 @@ cc_binary {
|
||||||
"sparse_crc32.c",
|
"sparse_crc32.c",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libsparse_static",
|
"libsparse",
|
||||||
"libz",
|
"libz",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -59,7 +48,7 @@ cc_binary {
|
||||||
host_supported: true,
|
host_supported: true,
|
||||||
srcs: ["img2simg.c"],
|
srcs: ["img2simg.c"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libsparse_static",
|
"libsparse",
|
||||||
"libz",
|
"libz",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -70,7 +59,7 @@ cc_binary_host {
|
||||||
name: "append2simg",
|
name: "append2simg",
|
||||||
srcs: ["append2simg.c"],
|
srcs: ["append2simg.c"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libsparse_static",
|
"libsparse",
|
||||||
"libz",
|
"libz",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue