diff options
author | Jooyung Han <jooyung@google.com> | 2020-04-16 18:48:28 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2020-05-04 14:42:46 +0900 |
commit | b22347cb339996e6e7e2d70e8849025fe6a7c2a0 (patch) | |
tree | 63dff7e27fba613c266338c864969eb8cd29ad3a | |
parent | a36fbf76cb201d5a27ee5f834bb5626edf27db80 (diff) | |
download | libcxx-b22347cb339996e6e7e2d70e8849025fe6a7c2a0.tar.gz |
Set min_sdk_version to be part of mainline modulesandroid11-dev
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
"apex_inherit" is a special alias to represent "the minimum of all
that the apexes require".
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Bug: 152655956
Test: m
Merged-In: I23cb55a3a17ac242e7f599fe574ca30074b43506
Change-Id: I23cb55a3a17ac242e7f599fe574ca30074b43506
(cherry picked from commit f65f67c62279db77ec727b9fe59e90ae4c4cb6dc)
-rw-r--r-- | Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index c6f65be46..00f54d94b 100644 --- a/Android.bp +++ b/Android.bp @@ -61,6 +61,8 @@ cc_library_static { "//apex_available:platform", "//apex_available:anyapex", ], + // being part of updatable apexes, this should work on older releases + min_sdk_version: "apex_inherit", native_bridge_supported: true, srcs: [ "src/algorithm.cpp", @@ -122,6 +124,8 @@ cc_library_shared { "//apex_available:platform", "//apex_available:anyapex", ], + // being part of updatable apexes, this should work on older releases + min_sdk_version: "apex_inherit", whole_static_libs: ["libc++_static"], stl: "none", |