Make a separate build target for releasing car-lib.
We need a library that's dex'd for hiddenapi enforcement. And one that's
not dex'd for dropping into google3.
Bug: 123756920
Test: m dist
Change-Id: Ia20de9a92cfc0690e6525056738d7a4698ef39e9
diff --git a/car_product/build/car.mk b/car_product/build/car.mk
index 0fbed7d..eee0812 100644
--- a/car_product/build/car.mk
+++ b/car_product/build/car.mk
@@ -122,13 +122,13 @@
android.car
PRODUCT_HIDDENAPI_STUBS := \
- android.car-stubs
+ android.car-stubs-dex
PRODUCT_HIDDENAPI_STUBS_SYSTEM := \
- android.car-system-stubs
+ android.car-system-stubs-dex
PRODUCT_HIDDENAPI_STUBS_TEST := \
- android.car-test-stubs
+ android.car-test-stubs-dex
INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes
endif