blob: 2159fa376657c28ced8abfac6d20a6bb83b86e38 [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
32
Keun-young Parka6521cd2016-03-01 19:08:40 -080033LOCAL_MODULE_TAGS := optional
34
35LOCAL_PRIVILEGED_MODULE := true
36
Sanket Agarwal7de92d12017-02-06 15:53:17 -080037LOCAL_CERTIFICATE := platform
38
Keun-young Parka6521cd2016-03-01 19:08:40 -080039LOCAL_PROGUARD_ENABLED := disabled
40
Yao Chen57787b02016-05-13 15:52:42 -070041LOCAL_DEX_PREOPT := false
42
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080043LOCAL_STATIC_ANDROID_LIBRARIES += \
44 car-service-lib-for-test
45
Pavel Maltsev0d07c762016-11-03 16:40:15 -070046LOCAL_STATIC_JAVA_LIBRARIES += \
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080047 android.hidl.base-V1.0-java \
48 android.hardware.automotive.vehicle-V2.0-java \
49 vehicle-hal-support-lib
Keun-young Parka6521cd2016-03-01 19:08:40 -080050
51LOCAL_JAVA_LIBRARIES += android.car
52
Srinivas Visvanathanf8544232017-03-24 11:52:53 -070053include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk
Yao Chen26f5b9c2016-08-29 15:51:43 -070054include packages/services/Car/car-support-lib/car-support.mk
55
Keun-young Parka6521cd2016-03-01 19:08:40 -080056include $(BUILD_PACKAGE)
Keun-young Park2abf3852017-05-17 09:39:54 -070057
58endif #TARGET_BUILD_PDK