This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroid.mk
61 lines (45 loc) · 1.56 KB
/
Android.mk
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
60
61
ifeq ($(strip $(TARGET_USES_NQ_NFC)),true)
LOCAL_PATH:= $(call my-dir)
########################################
# com.nxp.nfc.nq - library
########################################
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := com.nxp.nfc.nq
LOCAL_REQUIRED_MODULES := com.nxp.nfc.nq.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.nq.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.nq
LOCAL_JAVA_LIBRARIES:= com.nxp.nfc.nq
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))
endif