Merge "Link dependencies statically"
This commit is contained in:
@@ -105,13 +105,32 @@ cc_defaults {
|
|||||||
header_libs: ["libstagefright_foundation_headers"],
|
header_libs: ["libstagefright_foundation_headers"],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.drm-V1-ndk",
|
|
||||||
"libbase",
|
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
|
"libcrypto",
|
||||||
"liblog",
|
"liblog",
|
||||||
"libutils",
|
|
||||||
"libwvaidl",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
static_libs: [
|
||||||
|
"android.hardware.common-V2-ndk",
|
||||||
|
"android.hardware.drm-V1-ndk",
|
||||||
|
"libaidlcommonsupport",
|
||||||
|
"libbase",
|
||||||
|
"libcdm_protos",
|
||||||
|
"libcdm_utils",
|
||||||
|
"libcdm",
|
||||||
|
"libcutils",
|
||||||
|
"libjsmn",
|
||||||
|
"libjsoncpp",
|
||||||
|
"libprotobuf-cpp-lite",
|
||||||
|
"libutils",
|
||||||
|
"libwv_odk",
|
||||||
|
"libwvaidl",
|
||||||
|
"libwvdrmcryptoplugin_aidl",
|
||||||
|
"libwvdrmdrmplugin_aidl",
|
||||||
|
"libwvlevel3",
|
||||||
|
],
|
||||||
|
|
||||||
|
stl: "c++_static",
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -132,10 +151,10 @@ cc_binary {
|
|||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libprotobuf-cpp-lite",
|
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"lib_apex_manifest_minimal_proto_lite",
|
"lib_apex_manifest_minimal_proto_lite",
|
||||||
|
"libprotobuf-cpp-lite",
|
||||||
],
|
],
|
||||||
|
|
||||||
init_rc: ["src/android.hardware.drm-service.widevine.rc"],
|
init_rc: ["src/android.hardware.drm-service.widevine.rc"],
|
||||||
@@ -212,7 +231,7 @@ cc_library_static {
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Builds libwvaidl.so
|
// Builds libwvaidl.so
|
||||||
//
|
//
|
||||||
cc_library_shared {
|
cc_library {
|
||||||
name: "libwvaidl",
|
name: "libwvaidl",
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
@@ -239,28 +258,28 @@ cc_library_shared {
|
|||||||
|
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.common-V2-ndk",
|
"android.hardware.common-V2-ndk",
|
||||||
|
"android.hardware.drm-V1-ndk",
|
||||||
"libaidlcommonsupport",
|
"libaidlcommonsupport",
|
||||||
"libcdm",
|
"libbase",
|
||||||
"libcdm_protos",
|
"libcdm_protos",
|
||||||
"libcdm_utils",
|
"libcdm_utils",
|
||||||
|
"libcdm",
|
||||||
|
"libcutils",
|
||||||
"libjsmn",
|
"libjsmn",
|
||||||
"libjsoncpp",
|
"libjsoncpp",
|
||||||
|
"libprotobuf-cpp-lite",
|
||||||
|
"libutils",
|
||||||
|
"libwv_odk",
|
||||||
"libwvdrmcryptoplugin_aidl",
|
"libwvdrmcryptoplugin_aidl",
|
||||||
"libwvdrmdrmplugin_aidl",
|
"libwvdrmdrmplugin_aidl",
|
||||||
"libwvlevel3",
|
"libwvlevel3",
|
||||||
"libwv_odk",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.drm-V1-ndk",
|
|
||||||
"libbase",
|
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libcrypto",
|
"libcrypto",
|
||||||
"libcutils",
|
|
||||||
"libdl",
|
"libdl",
|
||||||
"liblog",
|
"liblog",
|
||||||
"libprotobuf-cpp-lite",
|
|
||||||
"libutils",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
header_libs: ["libstagefright_foundation_headers"],
|
header_libs: ["libstagefright_foundation_headers"],
|
||||||
|
|||||||
Reference in New Issue
Block a user