Move PendingRequestPool and ParcelableUtils.
Move PendingRequestPool and ParcelableUtils to utils so that we could
reuse it for cpp VHAL client.
This CL also fixes a bug that the comment for PendingRequestPool
timeout unit is incorrect.
Test: atest VehicleHalVehicleUtilsTest
Bug: 214635003
Change-Id: Ie8ac1e0c4f49ae70caff7b680a7352fc23d4e680
diff --git a/automotive/vehicle/aidl/impl/Android.bp b/automotive/vehicle/aidl/impl/Android.bp
index 94f590d..16b6fde 100644
--- a/automotive/vehicle/aidl/impl/Android.bp
+++ b/automotive/vehicle/aidl/impl/Android.bp
@@ -21,6 +21,7 @@
cc_defaults {
name: "VehicleHalDefaults",
static_libs: [
+ "android-automotive-large-parcelable-vendor-lib",
"android.hardware.automotive.vehicle-V1-ndk",
"libmath",
],
@@ -35,4 +36,7 @@
"-Werror",
"-Wthread-safety",
],
+ defaults: [
+ "android-automotive-large-parcelable-defaults",
+ ],
}