aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVairavan Srinivasan <vairav@codeaurora.org>2012-04-29 01:17:39 -0700
committerVairavan Srinivasan <vairav@codeaurora.org>2012-04-29 01:19:03 -0700
commit61f903fd5e01112d5d58702e046036cf5d07fe5b (patch)
treeea8fa24260bb6bb60e1ce7233daa7ccecae3b7a9
parentd771f08bca67cac37f10b9806deb250819c252a8 (diff)
downloadsample-61f903fd5e01112d5d58702e046036cf5d07fe5b.tar.gz
device/sample: Enhanced example to include usage of exposing APIs
Change-Id: Id0c0b2201ecb3d087ec1ae48b6629ee4f403dbfb
-rw-r--r--products/addon_stub_defs1
-rw-r--r--products/sample_addon.mk3
-rw-r--r--sdk_addon/manifest.ini2
3 files changed, 5 insertions, 1 deletions
diff --git a/products/addon_stub_defs b/products/addon_stub_defs
new file mode 100644
index 0000000..2fed57a
--- /dev/null
+++ b/products/addon_stub_defs
@@ -0,0 +1 @@
++com.example.android.platform_library.*
diff --git a/products/sample_addon.mk b/products/sample_addon.mk
index 85c7486..ef15a10 100644
--- a/products/sample_addon.mk
+++ b/products/sample_addon.mk
@@ -27,6 +27,9 @@ PRODUCT_SDK_ADDON_COPY_FILES := \
PRODUCT_SDK_ADDON_COPY_MODULES := \
com.example.android.platform_library:libs/platform_library.jar
+# Rules for public APIs
+PRODUCT_SDK_ADDON_STUB_DEFS := $(LOCAL_PATH)/addon_stub_defs
+
# Name of the doc to generate and put in the add-on. This must match the name defined
# in the optional library with the tag
# LOCAL_MODULE:= platform_library
diff --git a/sdk_addon/manifest.ini b/sdk_addon/manifest.ini
index fc82727..2a0be24 100644
--- a/sdk_addon/manifest.ini
+++ b/sdk_addon/manifest.ini
@@ -13,7 +13,7 @@ vendor=Android Open Source Project
description=sample add-on
# version of the Android platform on which this add-on is built.
-api=3
+api=15
# revision of the add-on. This must be a strict integer.
revision=1