Add the com.android.art to the sdk instead of *fragments
Dedup the *fragments properties of com.android.art and art-module-sdk.
Bug: 232401814
Test: m art-module-sdk
- ran above with and without this change, no changes in zip.
- also ran above after removing apexes and *fragments and
compared and the *fragments were missing.
Change-Id: I350a11908f2406eb8955cad6ce5ad242cef24195
diff --git a/build/sdk/Android.bp b/build/sdk/Android.bp
index a9ee675..9cafb8a 100644
--- a/build/sdk/Android.bp
+++ b/build/sdk/Android.bp
@@ -93,13 +93,10 @@
},
android: {
- bootclasspath_fragments: [
- // Adds the fragment and its contents to the sdk.
- "art-bootclasspath-fragment",
- ],
-
- systemserverclasspath_fragments: [
- "art-systemserverclasspath-fragment",
+ apexes: [
+ // Adds exportable dependencies of the API to the sdk,
+ // e.g. *classpath_fragments.
+ "com.android.art",
],
compat_configs: [