summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Brazdil2018-08-24 11:15:49 -0500
committerandroid-build-merger2018-08-24 11:15:49 -0500
commit5c9ae73d65a6f0f82b924bca5e36bbdc0898a461 (patch)
tree03aea90bb8e01c6954bd3dbc8a14dfc9738c71f5
parentc264546c9b31b1360e7cf380ed30cbd789f40534 (diff)
parent068566892d66d1f71a223a0428cdb8a4297ef199 (diff)
downloadplatform-packages-services-car-5c9ae73d65a6f0f82b924bca5e36bbdc0898a461.tar.gz
platform-packages-services-car-5c9ae73d65a6f0f82b924bca5e36bbdc0898a461.tar.xz
platform-packages-services-car-5c9ae73d65a6f0f82b924bca5e36bbdc0898a461.zip
Pass car API stubs to non-SDK enforcement am: 43231d977b
am: 068566892d Change-Id: Id63dce0443ab0da5f0457eb1d97e940fd2f6dccb
-rw-r--r--car-lib/Android.bp17
-rw-r--r--car_product/build/car.mk6
2 files changed, 23 insertions, 0 deletions
diff --git a/car-lib/Android.bp b/car-lib/Android.bp
index 6fe7f8be..287949e0 100644
--- a/car-lib/Android.bp
+++ b/car-lib/Android.bp
@@ -196,4 +196,21 @@ java_library_static {
196 enabled: false, 196 enabled: false,
197 }, 197 },
198 }, 198 },
199 compile_dex: true,
200}
201
202java_library_static {
203 name: "android.car-system-stubs",
204 srcs: [
205 ":android.car-system-stubs-docs",
206 ],
207 libs: [
208 "android.car",
209 ],
210 product_variables: {
211 pdk: {
212 enabled: false,
213 },
214 },
215 compile_dex: true,
199} 216}
diff --git a/car_product/build/car.mk b/car_product/build/car.mk
index 669e828d..02508130 100644
--- a/car_product/build/car.mk
+++ b/car_product/build/car.mk
@@ -126,5 +126,11 @@ ifeq (,$(INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS))
126PRODUCT_BOOT_JARS += \ 126PRODUCT_BOOT_JARS += \
127 android.car 127 android.car
128 128
129PRODUCT_HIDDENAPI_STUBS := \
130 android.car-stubs
131
132PRODUCT_HIDDENAPI_STUBS_SYSTEM := \
133 android.car-system-stubs
134
129INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes 135INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes
130endif 136endif