Mark updatable APEXes

Mark updatable APEXes as updatable: true so that they are opted-out from
optimizations that make sense only for non-updatable modules; such as
symlinking to the libs in the system partition.

Bug: 149805758
Test: m and check that there is no symlink from the APEX to the system
partition.

Change-Id: Idb55300a60a261c7bb6359439ed220ff51fcf06c
This commit is contained in:
Jiyong Park
2020-02-24 18:36:46 +09:00
parent b629d69db0
commit 8201bdfab0
5 changed files with 5 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ apex {
apex_defaults {
name: "com.android.extservices-defaults",
updatable: true,
key: "com.android.extservices.key",
certificate: ":com.android.extservices.certificate",
apps: ["ExtServices"],

View File

@@ -20,6 +20,7 @@ apex {
apex_defaults {
name: "com.android.permission-defaults",
updatable: true,
key: "com.android.permission.key",
certificate: ":com.android.permission.certificate",
java_libs: [

View File

@@ -26,6 +26,7 @@ apex {
apex_defaults {
name: "com.android.sdkext-defaults",
updatable: true,
java_libs: [ "framework-sdkextensions" ],
prebuilts: [
"derive_sdk.rc",

View File

@@ -32,6 +32,7 @@ apex_defaults {
compile_multilib: "both",
prebuilts: ["com.android.os.statsd.init.rc"],
name: "com.android.os.statsd-defaults",
updatable: true,
key: "com.android.os.statsd.key",
certificate: ":com.android.os.statsd.certificate",
}

View File

@@ -16,6 +16,7 @@
apex {
name: "com.android.tethering",
updatable: true,
java_libs: ["framework-tethering"],
apps: ["Tethering"],
manifest: "manifest.json",