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
This commit is contained in:
parent
160357160b
commit
e30efac744
2 changed files with 16 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue