Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e5e1280 authored by Zhi Dou's avatar Zhi Dou
Browse files

add sdk none version for core lib usage

Test: m
Bug: 349874828
Change-Id: I412bcf06ca38c862b026715a6a394350eda49b64
parent e110c680
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -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: [
@@ -152,3 +152,14 @@ java_library {
        "//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,
}
+16 −0
Original line number Diff line number Diff line
@@ -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,
}