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 += \ |
Anthony Chen | d12cd77 | 2018-04-16 16:20:44 -0700 | [diff] [blame^] | 44 | androidx.car_car \ |
Anthony Chen | 440f987 | 2018-04-06 16:46:02 -0700 | [diff] [blame] | 45 | car-service-lib-for-test |
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 \ |
Paul Duffin | cb64145 | 2017-12-08 00:02:43 +0000 | [diff] [blame] | 50 | vehicle-hal-support-lib |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 51 | |
Yao Chen | 26f5b9c | 2016-08-29 15:51:43 -0700 | [diff] [blame] | 52 | include packages/services/Car/car-support-lib/car-support.mk |
| 53 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 54 | include $(BUILD_PACKAGE) |
Keun-young Park | 2abf385 | 2017-05-17 09:39:54 -0700 | [diff] [blame] | 55 | |
| 56 | endif #TARGET_BUILD_PDK |