blob: 50419f489c2e4d30fbd2cf1f007df15340429066 [file] [log] [blame]
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -08001# Copyright (C) 2018 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
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES := $(call all-java-files-under, src)
22
Alan Viverettecde8afe2018-02-08 17:39:17 -050023LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -080024
25LOCAL_PACKAGE_NAME := UxRestrictionsSample
Anton Hansson4cb50c12018-02-23 15:50:29 +000026LOCAL_PRIVATE_PLATFORM_APIS := true
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -080027
28LOCAL_MODULE_TAGS := optional
29
30LOCAL_JAVA_VERSION := 1.8
31
32LOCAL_PROGUARD_ENABLED := disabled
33
34LOCAL_DEX_PREOPT := false
35
36LOCAL_USE_AAPT2 := true
37
Ram Periathiruvadi62eaee72018-03-30 14:36:15 -070038LOCAL_PRIVILEGED_MODULE := true
39
40LOCAL_CERTIFICATE := platform
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -080041
Alan Viverettecde8afe2018-02-08 17:39:17 -050042LOCAL_STATIC_JAVA_LIBRARIES += vehicle-hal-support-lib
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -080043
44LOCAL_STATIC_ANDROID_LIBRARIES += \
Anthony Chend12cd772018-04-16 16:20:44 -070045 androidx.car_car \
Anthony Chen7bd39e92018-04-02 13:13:53 -070046 androidx.legacy_legacy-support-v4 \
47 androidx.appcompat_appcompat
Yao, Yuxinge2fa79d2018-02-02 12:12:08 -080048
49LOCAL_JAVA_LIBRARIES += android.car
50
51include $(BUILD_PACKAGE)
52
53# Use the following include to make our test apk.
54include $(call all-makefiles-under,$(LOCAL_PATH))