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 | |
| 27 | LOCAL_USE_AAPT2 := true |
| 28 | |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 29 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 30 | |
| 31 | LOCAL_PACKAGE_NAME := EmbeddedKitchenSinkApp |
| 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 += \ |
| 44 | car-service-lib-for-test |
| 45 | |
Pavel Maltsev | 0d07c76 | 2016-11-03 16:40:15 -0700 | [diff] [blame] | 46 | LOCAL_STATIC_JAVA_LIBRARIES += \ |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame^] | 47 | android.hidl.base-V1.0-java \ |
| 48 | android.hardware.automotive.vehicle-V2.0-java \ |
| 49 | vehicle-hal-support-lib |
Keun-young Park | a6521cd | 2016-03-01 19:08:40 -0800 | [diff] [blame] | 50 | |
| 51 | LOCAL_JAVA_LIBRARIES += android.car |
| 52 | |
Srinivas Visvanathan | f854423 | 2017-03-24 11:52:53 -0700 | [diff] [blame] | 53 | include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk |
Yao Chen | 26f5b9c | 2016-08-29 15:51:43 -0700 | [diff] [blame] | 54 | include packages/services/Car/car-support-lib/car-support.mk |
| 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 | |
| 58 | endif #TARGET_BUILD_PDK |