Merge "Support building against prebuilt conscrypt and i18n modules"
diff --git a/mainline/conscrypt/apex/Android.bp b/mainline/conscrypt/apex/Android.bp
index 5fe1151..67e2961 100644
--- a/mainline/conscrypt/apex/Android.bp
+++ b/mainline/conscrypt/apex/Android.bp
@@ -35,4 +35,11 @@
         },
     },
     filename: "com.android.conscrypt.apex",
+
+    // Make fragment related files from the apex file available for use by the
+    // build when using prebuilts, e.g. for running the boot jars package check
+    // and hidden API flag validation among other uses.
+    exported_bootclasspath_fragments: [
+        "com.android.conscrypt-bootclasspath-fragment",
+    ],
 }
diff --git a/mainline/i18n/apex/Android.bp b/mainline/i18n/apex/Android.bp
index 497add7..f7cbfe1 100644
--- a/mainline/i18n/apex/Android.bp
+++ b/mainline/i18n/apex/Android.bp
@@ -40,4 +40,11 @@
         },
     },
     filename: "com.android.i18n.apex",
+
+    // Make fragment related files from the apex file available for use by the
+    // build when using prebuilts, e.g. for running the boot jars package check
+    // and hidden API flag validation among other uses.
+    exported_bootclasspath_fragments: [
+        "i18n-bootclasspath-fragment",
+    ],
 }