diff options
author | David Brazdil | 2018-08-24 11:15:49 -0500 |
---|---|---|
committer | android-build-merger | 2018-08-24 11:15:49 -0500 |
commit | 5c9ae73d65a6f0f82b924bca5e36bbdc0898a461 (patch) | |
tree | 03aea90bb8e01c6954bd3dbc8a14dfc9738c71f5 | |
parent | c264546c9b31b1360e7cf380ed30cbd789f40534 (diff) | |
parent | 068566892d66d1f71a223a0428cdb8a4297ef199 (diff) | |
download | platform-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.bp | 17 | ||||
-rw-r--r-- | car_product/build/car.mk | 6 |
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 | |||
202 | java_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)) | |||
126 | PRODUCT_BOOT_JARS += \ | 126 | PRODUCT_BOOT_JARS += \ |
127 | android.car | 127 | android.car |
128 | 128 | ||
129 | PRODUCT_HIDDENAPI_STUBS := \ | ||
130 | android.car-stubs | ||
131 | |||
132 | PRODUCT_HIDDENAPI_STUBS_SYSTEM := \ | ||
133 | android.car-system-stubs | ||
134 | |||
129 | INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes | 135 | INCLUDED_ANDROID_CAR_TO_PRODUCT_BOOT_JARS := yes |
130 | endif | 136 | endif |