Laurent Tu | ccb4c31 | 2012-12-11 15:45:09 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2010 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 | LOCAL_PATH := $(call my-dir) |
| 17 | |
| 18 | # the library |
| 19 | # ============================================================ |
| 20 | include $(CLEAR_VARS) |
| 21 | |
| 22 | LOCAL_MODULE:= com.android.location.provider |
| 23 | LOCAL_MODULE_TAGS := optional |
| 24 | |
Dan Willemsen | a56e4df | 2018-01-29 16:39:27 -0800 | [diff] [blame] | 25 | LOCAL_SRC_FILES := $(call all-subdir-java-files) |
Laurent Tu | ccb4c31 | 2012-12-11 15:45:09 -0800 | [diff] [blame] | 26 | |
| 27 | include $(BUILD_JAVA_LIBRARY) |
| 28 | |
| 29 | |
| 30 | # ==== com.google.location.xml lib def ======================== |
| 31 | include $(CLEAR_VARS) |
| 32 | |
| 33 | LOCAL_MODULE := com.android.location.provider.xml |
| 34 | LOCAL_MODULE_TAGS := optional |
| 35 | |
| 36 | LOCAL_MODULE_CLASS := ETC |
| 37 | |
| 38 | # This will install the file in /system/etc/permissions |
| 39 | # |
| 40 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions |
| 41 | |
| 42 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 43 | |
| 44 | include $(BUILD_PREBUILT) |
Jiyong Park | eee9998 | 2018-02-27 22:00:23 +0900 | [diff] [blame] | 45 | |
| 46 | # ==== Stub library =========================================== |
| 47 | include $(CLEAR_VARS) |
| 48 | LOCAL_MODULE := com.android.location.provider-stubs-gen |
| 49 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 50 | LOCAL_SRC_FILES := $(call all-java-files-under,java) |
| 51 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/com.android.location.provider.stubs_intermediates/src |
| 52 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 53 | -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 \ |
| 54 | -stubpackages com.android.location.provider \ |
| 55 | -nodocs |
| 56 | LOCAL_UNINSTALLABLE_MODULE := true |
| 57 | include $(BUILD_DROIDDOC) |
| 58 | com_android_nfc_extras_gen_stamp := $(full_target) |
| 59 | |
| 60 | include $(CLEAR_VARS) |
| 61 | LOCAL_MODULE := com.android.location.provider.stubs |
| 62 | LOCAL_SOURCE_FILES_ALL_GENERATED := true |
| 63 | LOCAL_SDK_VERSION := current |
| 64 | LOCAL_ADDITIONAL_DEPENDENCIES := $(com_android_nfc_extras_gen_stamp) |
| 65 | com_android_nfc_extras_gen_stamp := |
| 66 | include $(BUILD_STATIC_JAVA_LIBRARY) |