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

Commit e30efac7 authored by Ted Bauer's avatar Ted Bauer
Browse files

aconfig: make APIs apex available

We need the aconfig APIs to be available on every mainline module, so
set the min_sdk_version as low as possible.

Bug: 328444881
Test: m
Change-Id: I02e569d510a30f4809d4a82f7630326b0b30f263
parent 16035716
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -22,6 +22,11 @@ rust_library {
    host_supported: true,
    defaults: ["aconfig_storage_file.defaults"],
    srcs: ["src/lib.rs"],
    apex_available: [
        "//apex_available:platform",
        "//apex_available:anyapex",
    ],
    min_sdk_version: "29",
}

rust_binary_host {
@@ -44,6 +49,11 @@ rust_protobuf {
    crate_name: "aconfig_storage_protos",
    source_stem: "aconfig_storage_protos",
    host_supported: true,
    apex_available: [
        "//apex_available:platform",
        "//apex_available:anyapex",
    ],
    min_sdk_version: "29",
}

cc_library_static {
+6 −1
Original line number Diff line number Diff line
@@ -23,6 +23,11 @@ rust_library {
    crate_name: "aconfig_storage_read_api",
    host_supported: true,
    defaults: ["aconfig_storage_read_api.defaults"],
    apex_available: [
        "//apex_available:platform",
        "//apex_available:anyapex",
    ],
    min_sdk_version: "29",
}

rust_test_host {
@@ -68,7 +73,7 @@ cc_library_static {
    srcs: ["aconfig_storage_read_api.cpp"],
    generated_headers: [
        "cxx-bridge-header",
        "libcxx_aconfig_storage_read_api_bridge_header"
        "libcxx_aconfig_storage_read_api_bridge_header",
    ],
    generated_sources: ["libcxx_aconfig_storage_read_api_bridge_code"],
    whole_static_libs: ["libaconfig_storage_read_api_cxx_bridge"],