Merge "add sdk none version for core lib usage" into main am: 8c6ec5a33d am: e33e91c85c

Original change: https://android-review.googlesource.com/c/platform/build/+/3197450

Change-Id: I75f3d63aa4c555e76e81420465a952cc252cb47d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Zhi Dou
2024-07-26 16:09:26 +00:00
committed by Automerger Merge Worker
2 changed files with 29 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ cc_library {
double_loadable: true, double_loadable: true,
} }
// storage file parse api java cc_library // storage file parse api java library
java_library { java_library {
name: "aconfig_storage_file_java", name: "aconfig_storage_file_java",
srcs: [ srcs: [
@@ -151,4 +151,15 @@ java_library {
"//apex_available:platform", "//apex_available:platform",
"//apex_available:anyapex", "//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", "//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,
}