blob: 0833915e995cc112141491f05ce49c0b11c5dcd0 [file] [log] [blame]
Keun-young Parka6521cd2016-03-01 19:08:40 -08001# 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 Park2abf3852017-05-17 09:39:54 -070017#disble build in PDK, missing ui-lib breaks build
18ifneq ($(TARGET_BUILD_PDK),true)
19
Keun-young Parka6521cd2016-03-01 19:08:40 -080020LOCAL_PATH:= $(call my-dir)
21
22include $(CLEAR_VARS)
23
24LOCAL_SRC_FILES := $(call all-java-files-under, src)
25
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080026
27LOCAL_USE_AAPT2 := true
28
Keun-young Parka6521cd2016-03-01 19:08:40 -080029LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
30
31LOCAL_PACKAGE_NAME := EmbeddedKitchenSinkApp
Anton Hansson4cb50c12018-02-23 15:50:29 +000032LOCAL_PRIVATE_PLATFORM_APIS := true
Keun-young Parka6521cd2016-03-01 19:08:40 -080033
Keun-young Parka6521cd2016-03-01 19:08:40 -080034LOCAL_MODULE_TAGS := optional
35
36LOCAL_PRIVILEGED_MODULE := true
37
Sanket Agarwal7de92d12017-02-06 15:53:17 -080038LOCAL_CERTIFICATE := platform
39
Keun-young Parka6521cd2016-03-01 19:08:40 -080040LOCAL_PROGUARD_ENABLED := disabled
41
Yao Chen57787b02016-05-13 15:52:42 -070042LOCAL_DEX_PREOPT := false
43
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080044LOCAL_STATIC_ANDROID_LIBRARIES += \
Brad Stenning226a3d82018-02-12 16:39:48 -080045 car-service-lib-for-test \
46 $(ANDROID_SUPPORT_CAR_TARGETS)
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080047
Pavel Maltsev0d07c762016-11-03 16:40:15 -070048LOCAL_STATIC_JAVA_LIBRARIES += \
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080049 android.hidl.base-V1.0-java \
50 android.hardware.automotive.vehicle-V2.0-java \
Paul Duffincb641452017-12-08 00:02:43 +000051 vehicle-hal-support-lib
Keun-young Parka6521cd2016-03-01 19:08:40 -080052
53LOCAL_JAVA_LIBRARIES += android.car
54
Srinivas Visvanathanf8544232017-03-24 11:52:53 -070055include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk
Yao Chen26f5b9c2016-08-29 15:51:43 -070056include packages/services/Car/car-support-lib/car-support.mk
57
Keun-young Parka6521cd2016-03-01 19:08:40 -080058include $(BUILD_PACKAGE)
Keun-young Park2abf3852017-05-17 09:39:54 -070059
60endif #TARGET_BUILD_PDK