blob: f9526ce300e7779e1259e2c2798a8b96986c2db4 [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 -080026LOCAL_USE_AAPT2 := true
27
Keun-young Parka6521cd2016-03-01 19:08:40 -080028LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
29
30LOCAL_PACKAGE_NAME := EmbeddedKitchenSinkApp
Anton Hansson4cb50c12018-02-23 15:50:29 +000031LOCAL_PRIVATE_PLATFORM_APIS := true
Keun-young Parka6521cd2016-03-01 19:08:40 -080032
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 += \
tadvanaf7746cd2019-10-04 16:02:56 -070044 car-service-test-static-lib \
Tomasz Wasilczyk55ee7962019-04-25 09:41:22 -070045 com.google.android.material_material \
46 androidx.appcompat_appcompat \
Ram Parameswaran07dbebc2020-03-24 15:19:24 -070047 car-ui-lib
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080048
Pavel Maltsev0d07c762016-11-03 16:40:15 -070049LOCAL_STATIC_JAVA_LIBRARIES += \
Aurimas Liutikasf17e0e42017-11-15 09:51:51 -080050 android.hidl.base-V1.0-java \
51 android.hardware.automotive.vehicle-V2.0-java \
Yan Zhu4eb9d942019-10-22 14:15:30 -070052 vehicle-hal-support-lib-for-test \
Roberto Perezfa884352018-09-24 19:11:06 -070053 com.android.car.keventreader-client \
tadvanab7190e12019-05-22 15:49:19 -070054 guava \
Keun young Park9a91efb2019-11-15 18:10:47 -080055 android.car.cluster.navigation \
56 car-experimental-api-static-lib
Keun-young Parka6521cd2016-03-01 19:08:40 -080057
Dean Harding8bc07732018-08-24 16:04:53 -070058LOCAL_JAVA_LIBRARIES += android.car
Yao Chen26f5b9c2016-08-29 15:51:43 -070059
Nicholas Sauer2d95e9b2019-03-19 12:46:50 -070060LOCAL_REQUIRED_MODULES := privapp_whitelist_com.google.android.car.kitchensink
61
Keun-young Parka6521cd2016-03-01 19:08:40 -080062include $(BUILD_PACKAGE)
Keun-young Park2abf3852017-05-17 09:39:54 -070063
Roberto Perezfa884352018-09-24 19:11:06 -070064include $(CLEAR_VARS)
65
Roberto Perezfa884352018-09-24 19:11:06 -070066include $(BUILD_MULTI_PREBUILT)
67
68include $(CLEAR_VARS)
69
Keun-young Park2abf3852017-05-17 09:39:54 -070070endif #TARGET_BUILD_PDK