Mark bootclasspath_fragment to not generate classpath config.
Boot jars must also be listed in default_art_config.mk, the apex
containing these jars must always be pre-installed on the device,
and the bootclasspath_fragment must be listed in platform_bootclasspath.
Bug: 189355156
Test: m
Change-Id: Ia6cb55faa30252ada2551536b1130382412f36ba
diff --git a/nearby/apex/com.android.nearby/Android.bp b/nearby/apex/com.android.nearby/Android.bp
index 7df15b8..cb3d83a 100644
--- a/nearby/apex/com.android.nearby/Android.bp
+++ b/nearby/apex/com.android.nearby/Android.bp
@@ -31,7 +31,8 @@
manifest: "manifest.json",
// TODO(b/189890387): change the SDK version to "32" when T release is finalized.
min_sdk_version: "current",
- updatable: true,
+ // TODO(weiwa): mark updatable true, once bootclasspath-fragment generates the config proto
+ updatable: false,
file_contexts: ":apex.test-file_contexts", // Default, please edit, see go/android-apex-howto
key: "com.android.nearby.key",
certificate: ":com.android.nearby.certificate",
@@ -52,6 +53,9 @@
// Encapsulate the contributions made by the com.android.nearby to the bootclasspath.
bootclasspath_fragment {
name: "com.android.nearby-bootclasspath-fragment",
+ // TODO(weiwa): remove generate_classpaths_proto property once boot jar is listed in
+ // default_art_config.mk and the apex comes pre-installed on the device.
+ generate_classpaths_proto: false,
contents: ["framework-nearby"],
apex_available: ["com.android.nearby"],
}