aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 199cfe5f82fa6ea88b55192fa1fea9759947fb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
LOCAL_PATH:= $(call my-dir)

########################################
# com.nxp.nfc - library
########################################
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := com.nxp.nfc
LOCAL_REQUIRED_MODULES := com.nxp.nfc.xml
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
 # Install to system/frameworks
LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES)

LOCAL_SRC_FILES := \
	$(call all-Iaidl-files-under, com) \
	$(call all-java-files-under, com) \
	$(call all-java-files-under, android)

LOCAL_CERTIFICATE := platform

include $(BUILD_JAVA_LIBRARY)
# ====  permissions ========================
include $(CLEAR_VARS)

LOCAL_MODULE := com.nxp.nfc.xml

LOCAL_MODULE_TAGS := optional

LOCAL_MODULE_CLASS := ETC

# Install to /system/etc/permissions
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions

LOCAL_SRC_FILES := $(LOCAL_MODULE)

include $(BUILD_PREBUILT)

# the documentation
# ============================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	$(call all-Iaidl-files-under, com) \
	$(call all-java-files-under, com) \
	$(call all-html-files-under, com) \
	$(call all-java-files-under, android) \
	$(call all-html-files-under, android)

LOCAL_MODULE:= com.nxp.nfc
LOCAL_JAVA_LIBRARIES:= com.nxp.nfc
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_DROIDDOC_USE_STANDARD_DOCLET := true

# include $(BUILD_DROIDDOC)

# uncomment for NXP gsma-nfc-service
# ============================================================
#include $(call all-makefiles-under,$(LOCAL_PATH))