otapreopt: remove transitive libapexd dependencies.

And use the newly introduced libapexd-deps cc_defaults.

Bug: 136204843
Test: builds
Change-Id: Ia03c447f9016ff4ce6ebaaee1ec011371921d497
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp
index 3ecfc95..1016832 100644
--- a/cmds/installd/Android.bp
+++ b/cmds/installd/Android.bp
@@ -133,6 +133,7 @@
 
 cc_binary {
     name: "otapreopt_chroot",
+    defaults: ["libapexd-deps"],
     cflags: [
         "-Wall",
         "-Werror",
@@ -145,22 +146,11 @@
     ],
     shared_libs: [
         "libbase",
-        "libbinder",
-        "libcrypto",
         "liblog",
-        "libprotobuf-cpp-full",
-        "libselinux",
         "libutils",
-        "libziparchive",
     ],
     static_libs: [
-        "libapex",
         "libapexd",
-        "lib_apex_manifest_proto",
-        "libavb",
-        "libdm",
-        "libverity_tree",
-        "libvold_binder",
     ],
 }