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