Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 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 | |
Bryan Eyler | 4bd1d57 | 2017-06-21 17:18:12 -0700 | [diff] [blame] | 17 | ifneq ($(TARGET_BUILD_PDK), true) |
| 18 | |
Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 19 | LOCAL_PATH:= $(call my-dir) |
| 20 | |
| 21 | include $(CLEAR_VARS) |
| 22 | |
| 23 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 24 | |
Aurimas Liutikas | f17e0e4 | 2017-11-15 09:51:51 -0800 | [diff] [blame] | 25 | LOCAL_USE_AAPT2 := true |
| 26 | |
Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 27 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| 28 | |
| 29 | LOCAL_PACKAGE_NAME := CarMapsPlaceholder |
Anton Hansson | 4cb50c1 | 2018-02-23 15:50:29 +0000 | [diff] [blame] | 30 | # TODO(b/73535841): Can build against current once the car stubs exist. |
| 31 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 32 | |
Anthony Chen | 7c6314a | 2018-04-12 17:27:17 -0700 | [diff] [blame] | 33 | LOCAL_STATIC_ANDROID_LIBRARIES := androidx.car_car |
Anthony Chen | afdf2b5 | 2018-01-11 17:11:41 -0800 | [diff] [blame] | 34 | |
Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 35 | LOCAL_CERTIFICATE := platform |
| 36 | |
| 37 | LOCAL_MODULE_TAGS := optional |
| 38 | |
| 39 | LOCAL_PROGUARD_ENABLED := disabled |
| 40 | |
| 41 | LOCAL_DEX_PREOPT := false |
| 42 | |
Anthony Chen | 90e5744 | 2016-10-20 11:50:11 -0700 | [diff] [blame] | 43 | include $(BUILD_PACKAGE) |
Bryan Eyler | 4bd1d57 | 2017-06-21 17:18:12 -0700 | [diff] [blame] | 44 | |
| 45 | endif |