Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 1 | # Copyright (C) 2015 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | # |
| 16 | |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 17 | #disble build in PDK, missing ui-lib breaks build |
| 18 | ifneq ($(TARGET_BUILD_PDK),true) |
| 19 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 20 | LOCAL_PATH:= $(call my-dir) |
| 21 | |
| 22 | include $(CLEAR_VARS) |
| 23 | |
| 24 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 25 | |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 26 | LOCAL_USE_AAPT2 := true |
| 27 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 28 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 29 | |
| 30 | LOCAL_PACKAGE_NAME := EmbeddedKitchenSinkApp |
Anton Hansson | 4cb50c1 | 2018-02-23 15:50:29 +0000 | [diff] [blame] | 31 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 32 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 33 | LOCAL_MODULE_TAGS := optional |
| 34 | |
| 35 | LOCAL_PRIVILEGED_MODULE := true |
| 36 | |
Sanket Agarwal | 7de92d1 | 2017-02-06 15:53:17 -0800 | [diff] [blame] | 37 | LOCAL_CERTIFICATE := platform |
| 38 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 39 | LOCAL_PROGUARD_ENABLED := disabled |
| 40 | |
Yao Chen | 57787b0 | 2016-05-13 15:52:42 -0700 | [diff] [blame] | 41 | LOCAL_DEX_PREOPT := false |
| 42 | |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 43 | LOCAL_STATIC_ANDROID_LIBRARIES += \ |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 44 | car-service-lib-for-test \ |
Tomasz Wasilczyk | 55ee796 | 2019-04-25 09:41:22 -0700 | [diff] [blame] | 45 | com.google.android.material_material \ |
| 46 | androidx.appcompat_appcompat \ |
Peter Li | 3d9290d | 2019-07-01 18:52:26 -0700 | [diff] [blame] | 47 | androidx.car_car |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 48 | |
Pavel Maltsev | 0d07c76 | 2016-11-03 16:40:15 -0700 | [diff] [blame] | 49 | LOCAL_STATIC_JAVA_LIBRARIES += \ |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 50 | android.hidl.base-V1.0-java \ |
| 51 | android.hardware.automotive.vehicle-V2.0-java \ |
Yan Zhu | 4eb9d94 | 2019-10-22 14:15:30 -0700 | [diff] [blame^] | 52 | vehicle-hal-support-lib-for-test \ |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 53 | com.android.car.keventreader-client \ |
tadvana | b7190e1 | 2019-05-22 15:49:19 -0700 | [diff] [blame] | 54 | guava \ |
Peter Li | bfeaac6 | 2019-06-19 18:40:03 -0700 | [diff] [blame] | 55 | android.car.cluster.navigation |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 56 | |
Dean Harding | 8bc0773 | 2018-08-24 16:04:53 -0700 | [diff] [blame] | 57 | LOCAL_JAVA_LIBRARIES += android.car |
Yao Chen | 26f5b9c | 2016-08-29 15:51:43 -0700 | [diff] [blame] | 58 | |
Nicholas Sauer | 2d95e9b | 2019-03-19 12:46:50 -0700 | [diff] [blame] | 59 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.google.android.car.kitchensink |
| 60 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 61 | include $(BUILD_PACKAGE) |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 62 | |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 63 | include $(CLEAR_VARS) |
| 64 | |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 65 | include $(BUILD_MULTI_PREBUILT) |
| 66 | |
| 67 | include $(CLEAR_VARS) |
| 68 | |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 69 | endif #TARGET_BUILD_PDK |