OSDN Git Service

Add min_sdk_version:R to updatable apexes
authorJooyung Han <jooyung@google.com>
Mon, 30 Mar 2020 04:27:34 +0000 (13:27 +0900)
committerJooyung Han <jooyung@google.com>
Wed, 1 Apr 2020 18:01:43 +0000 (03:01 +0900)
APEXes introduced in R need to set min_sdk_version to ensure that they
are built against correct version(30 or R) of stubs (libc/liblog/...).

Bug: 152655956
Test: /vendor/google/build/build_mainline_modules.sh
Change-Id: I055f46f574c7349f46b8c1cb6bb39a515ae69967

apex/Android.bp

index 3ecb661..aa17b13 100644 (file)
@@ -1,6 +1,7 @@
 apex {
     name: "com.android.bluetooth.updatable",
     updatable: true,
+    min_sdk_version: "R",
 
     manifest: "apex_manifest.json",