aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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