diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2014-01-19 19:07:46 +0000 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 20:00:32 +0200 |
commit | 1ea749b1ca31d3bc6b2e8eed735734124b107b76 (patch) | |
tree | fbcf8567d6bd8c7cad672ebf58f966f6a15137aa | |
parent | 966718070251445944854802bdf1096162dcecb9 (diff) | |
download | android_hardware_qcom_fm-1ea749b1ca31d3bc6b2e8eed735734124b107b76.tar.gz android_hardware_qcom_fm-1ea749b1ca31d3bc6b2e8eed735734124b107b76.tar.bz2 android_hardware_qcom_fm-1ea749b1ca31d3bc6b2e8eed735734124b107b76.zip |
Allow library to be used by apps directly
Change-Id: Ib74be626471d73817d644c7777a2b18a32712f8a
-rw-r--r-- | Android.mk | 12 | ||||
-rw-r--r-- | qcom/fmradio/qcom.fmradio.xml | 5 |
2 files changed, 17 insertions, 0 deletions
@@ -14,8 +14,20 @@ LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni LOCAL_MODULE:= qcom.fmradio +LOCAL_ADDITIONAL_DEPENDENCIES := qcom.fmradio.xml + include $(BUILD_JAVA_LIBRARY) +include $(CLEAR_VARS) + +LOCAL_MODULE := qcom.fmradio.xml +LOCAL_SRC_FILES := qcom/fmradio/$(LOCAL_MODULE) +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/permissions + +include $(BUILD_PREBUILT) + ifeq ($(BOARD_HAS_QCA_FM_SOC), "cherokee") LOCAL_CFLAGS += -DFM_SOC_TYPE_CHEROKEE endif diff --git a/qcom/fmradio/qcom.fmradio.xml b/qcom/fmradio/qcom.fmradio.xml new file mode 100644 index 0000000..6a55cc6 --- /dev/null +++ b/qcom/fmradio/qcom.fmradio.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<permissions> + <library name="qcom.fmradio" + file="/system/framework/qcom.fmradio.jar" /> +</permissions> |