Merge "add sdk none version for core lib usage" into main

This commit is contained in:
Zhi Dou
2024-07-26 15:33:22 +00:00
committed by Gerrit Code Review
2 changed files with 29 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ cc_library {
double_loadable: true,
}
// storage file parse api java cc_library
// storage file parse api java library
java_library {
name: "aconfig_storage_file_java",
srcs: [
@@ -151,4 +151,15 @@ java_library {
"//apex_available:platform",
"//apex_available:anyapex",
],
}
}
// storage file parse api java library for core library
java_library {
name: "aconfig_storage_file_java_none",
srcs: [
"srcs/**/*.java",
],
sdk_version: "none",
system_modules: "core-all-system-modules",
host_supported: true,
}

View File

@@ -185,3 +185,19 @@ java_library {
"//apex_available:anyapex",
],
}
java_library {
name: "aconfig_storage_reader_java_none",
srcs: [
"srcs/android/aconfig/storage/StorageInternalReader.java",
],
libs: [
"unsupportedappusage-sdk-none",
],
static_libs: [
"aconfig_storage_file_java_none",
],
sdk_version: "none",
system_modules: "core-all-system-modules",
host_supported: true,
}