summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Prasad <anprasad@nvidia.com>2015-10-25 21:44:10 -0700
committerDavid Riley <davidriley@google.com>2015-11-03 19:03:10 +0000
commit3c4cbf7f9434f54f8d306c059fcb7007ecb4a937 (patch)
tree028410259fa8d772ead1e4eefd4af6a22b0729de
parente547f93b0089f12c78d33b83e5f49fdb0e0c85bc (diff)
downloadgatekeeper-android-6.0.1_r24.tar.gz
Add a static library that exports gatekeeper source so that it can be used in the Gatekeeper TLK task. Change-Id: I66abcdba860a75c29bdc5a67ad8f0aee5de872cf (cherry picked from commit 9be92ed1b5a470cb824516a9b950256a138533f8)
-rw-r--r--Android.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 20ebbcb..0d7e1b6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,4 +31,17 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_SHARED_LIBRARY)
+###
+# libgatekeeper_static is an empty static library that exports
+# all of the files in gatekeeper as includes.
+###
+include $(CLEAR_VARS)
+LOCAL_MODULE := libgatekeeper_static
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+ $(LOCAL_PATH) \
+ $(LOCAL_PATH)/include
+LOCAL_MODULE_TAGS := optional
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+include $(BUILD_STATIC_LIBRARY)
+
include $(call first-makefiles-under,$(LOCAL_PATH))