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 \ |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 45 | androidx.car_car-cluster |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 46 | |
Pavel Maltsev | 0d07c76 | 2016-11-03 16:40:15 -0700 | [diff] [blame] | 47 | LOCAL_STATIC_JAVA_LIBRARIES += \ |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 48 | android.hidl.base-V1.0-java \ |
| 49 | android.hardware.automotive.vehicle-V2.0-java \ |
Enrico Granata | 1201964 | 2018-05-07 17:42:21 -0700 | [diff] [blame] | 50 | vehicle-hal-support-lib \ |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 51 | com.android.car.keventreader-client \ |
| 52 | kitchensink-gson |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 53 | |
Dean Harding | 8bc0773 | 2018-08-24 16:04:53 -0700 | [diff] [blame] | 54 | LOCAL_JAVA_LIBRARIES += android.car |
Yao Chen | 26f5b9c | 2016-08-29 15:51:43 -0700 | [diff] [blame] | 55 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 56 | include $(BUILD_PACKAGE) |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 57 | |
Roberto Perez | fa88435 | 2018-09-24 19:11:06 -0700 | [diff] [blame] | 58 | include $(CLEAR_VARS) |
| 59 | |
| 60 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
| 61 | kitchensink-gson:libs/gson-2.1.jar |
| 62 | |
| 63 | include $(BUILD_MULTI_PREBUILT) |
| 64 | |
| 65 | include $(CLEAR_VARS) |
| 66 | |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 67 | endif #TARGET_BUILD_PDK |