Add visibility for OnDevicePersonalization and apache-velocity-engine.

Bug: 262898801
Test: mma
Change-Id: I59a95fd8dc12fa5bfcda7f7824e19330a01a0ca8
(cherry picked from commit d659bd6d5f4b5f4d1823081bcbb3556c67bdf933)
Merged-In: I59a95fd8dc12fa5bfcda7f7824e19330a01a0ca8
diff --git a/Android.bp b/Android.bp
index e653f3f..71e5876 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,9 +65,15 @@
     ],
 
     sdk_version: "core_current",
-    // SLF4J is used by mockftpserver, both of them are used in tests only.
+    apex_available: [
+        "com.android.ondevicepersonalization",
+    ],
     visibility: [
+        // SLF4J is used by mockftpserver, both of them are used in tests only.
         "//external/mockftpserver",
         "//libcore",
+        // SLF4J is used by apache-velocity-engine, a dependency of the OnDevicePersonalization module.
+        "//external/apache-velocity-engine",
+        "//packages/modules/OnDevicePersonalization:__subpackages__",
     ],
 }