Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 1 | # 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 22 | |
Alan Viverette | cde8afe | 2018-02-08 17:39:17 -0500 | [diff] [blame] | 23 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 24 | |
| 25 | LOCAL_PACKAGE_NAME := UxRestrictionsSample |
Anton Hansson | 4cb50c1 | 2018-02-23 15:50:29 +0000 | [diff] [blame] | 26 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 27 | |
| 28 | LOCAL_MODULE_TAGS := optional |
| 29 | |
| 30 | LOCAL_JAVA_VERSION := 1.8 |
| 31 | |
| 32 | LOCAL_PROGUARD_ENABLED := disabled |
| 33 | |
| 34 | LOCAL_DEX_PREOPT := false |
| 35 | |
| 36 | LOCAL_USE_AAPT2 := true |
| 37 | |
Ram Periathiruvadi | 62eaee7 | 2018-03-30 14:36:15 -0700 | [diff] [blame] | 38 | LOCAL_PRIVILEGED_MODULE := true |
| 39 | |
| 40 | LOCAL_CERTIFICATE := platform |
Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 41 | |
Alan Viverette | cde8afe | 2018-02-08 17:39:17 -0500 | [diff] [blame] | 42 | LOCAL_STATIC_JAVA_LIBRARIES += vehicle-hal-support-lib |
Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 43 | |
| 44 | LOCAL_STATIC_ANDROID_LIBRARIES += \ |
Anthony Chen | d12cd77 | 2018-04-16 16:20:44 -0700 | [diff] [blame] | 45 | androidx.car_car \ |
Anthony Chen | 7bd39e9 | 2018-04-02 13:13:53 -0700 | [diff] [blame] | 46 | androidx.legacy_legacy-support-v4 \ |
| 47 | androidx.appcompat_appcompat |
Yao, Yuxing | e2fa79d | 2018-02-02 12:12:08 -0800 | [diff] [blame] | 48 | |
| 49 | LOCAL_JAVA_LIBRARIES += android.car |
| 50 | |
| 51 | include $(BUILD_PACKAGE) |
| 52 | |
| 53 | # Use the following include to make our test apk. |
| 54 | include $(call all-makefiles-under,$(LOCAL_PATH)) |