Add wrappers for the latest stable version of netd_aidl_interface-V*-cpp

Currently, we need to update linked AILD interface in several places
when we freeze a new interface version. Otherwise, it will have multiple
versions of an AIDL lib and waste space/memory (b/220392885).

To avoid manually update all AILD interface users every time, adds
wrappers for the latest version of netd_aidl_interface-V*-cpp.

The reason to use cc_default as a wrapper instead of cc_library is that
it doesn't create an extra .so.

Bug: 220392885
Test: TH
Change-Id: I281b2e5f7d04fadfae0ede4db7565e9f222dbe95
diff --git a/common/netd/Android.bp b/common/netd/Android.bp
index 85a756c..6bc7c01 100644
--- a/common/netd/Android.bp
+++ b/common/netd/Android.bp
@@ -53,6 +53,7 @@
     min_sdk_version: "29",
 }
 
+// TODO: delete this one when AOSP is no longer auto-merge to git_sc-mainline-prod.
 cc_library_static {
     name: "netd_aidl_interface-lateststable-cpp",
     whole_static_libs: [
@@ -60,6 +61,16 @@
     ],
 }
 
+cc_defaults {
+    name: "netd_aidl_interface_lateststable_cpp_static",
+    static_libs: ["netd_aidl_interface-V8-cpp"],
+}
+
+cc_defaults {
+    name: "netd_aidl_interface_lateststable_cpp_shared",
+    shared_libs: ["netd_aidl_interface-V8-cpp"],
+}
+
 aidl_interface {
     name: "netd_aidl_interface",
     local_include_dir: "binder",