Merge "libsnapshot: static link libselinux" into main

This commit is contained in:
Akilesh Kailash 2024-08-30 21:39:49 +00:00 committed by Gerrit Code Review
commit 0049369534

View file

@ -46,7 +46,6 @@ cc_defaults {
"libfstab", "libfstab",
"libsnapuserd_client", "libsnapuserd_client",
"libz", "libz",
"libselinux",
], ],
header_libs: [ header_libs: [
"libfiemap_headers", "libfiemap_headers",
@ -112,6 +111,9 @@ cc_library_static {
static_libs: [ static_libs: [
"libfs_mgr_binder", "libfs_mgr_binder",
], ],
whole_static_libs: [
"libselinux",
],
} }
cc_library { cc_library {
@ -130,6 +132,9 @@ cc_library {
static_libs: [ static_libs: [
"libsnapshot_cow", "libsnapshot_cow",
], ],
whole_static_libs: [
"libselinux",
],
} }
cc_library_static { cc_library_static {
@ -144,6 +149,7 @@ cc_library_static {
], ],
static_libs: [ static_libs: [
"libfs_mgr", "libfs_mgr",
"libselinux",
], ],
} }
@ -161,6 +167,9 @@ cc_library_static {
static_libs: [ static_libs: [
"libfs_mgr", "libfs_mgr",
], ],
whole_static_libs: [
"libselinux",
],
} }
cc_defaults { cc_defaults {
@ -243,6 +252,7 @@ cc_library_static {
"libfs_mgr", "libfs_mgr",
"libgmock", "libgmock",
"libgtest", "libgtest",
"libselinux",
], ],
} }