Add cc_defaults containing libs needed for static linking

Bug: 328444881
Test: m
Change-Id: I35cbce94301415381b3ad38d7e5c697f9c010856
This commit is contained in:
Ted Bauer
2024-04-29 19:59:30 +00:00
parent faeac4d7f7
commit d724dd04e2
2 changed files with 8 additions and 1 deletions

View File

@@ -3,7 +3,6 @@
{{ if allow_instrumentation }}
#include <sys/stat.h>
#include "aconfig_storage/aconfig_storage_read_api.hpp"
#include <protos/aconfig_storage_metadata.pb.h>
#include <android/log.h>
#define ALOGI(msg, ...) \

View File

@@ -109,3 +109,11 @@ cc_library {
},
double_loadable: true,
}
cc_defaults {
name: "aconfig_lib_cc_static_link.defaults",
shared_libs: [
"libaconfig_storage_read_api_cc",
"liblog",
],
}