1# 2# Copyright (C) 2016 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17ifneq ($(TARGET_BUILD_PDK), true) 18 19LOCAL_PATH:= $(call my-dir) 20 21include $(CLEAR_VARS) 22 23LOCAL_SRC_FILES := $(call all-java-files-under, src) 24 25LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res 26 27LOCAL_PACKAGE_NAME := CarHvacApp 28LOCAL_PRIVATE_PLATFORM_APIS := true 29 30LOCAL_CERTIFICATE := platform 31 32LOCAL_MODULE_TAGS := optional 33 34LOCAL_PRIVILEGED_MODULE := true 35 36LOCAL_JAVA_LIBRARIES += android.car 37 38LOCAL_STATIC_JAVA_LIBRARIES += jsr305 \ 39 android.support.car 40 41LOCAL_STATIC_ANDROID_LIBRARIES += \ 42 androidx.car_car \ 43 androidx.legacy_legacy-support-v4 44 45LOCAL_USE_AAPT2 := true 46 47LOCAL_PROGUARD_ENABLED := disabled 48 49LOCAL_DEX_PREOPT := false 50 51include $(BUILD_PACKAGE) 52 53endif 54