From 61f903fd5e01112d5d58702e046036cf5d07fe5b Mon Sep 17 00:00:00 2001 From: Vairavan Srinivasan Date: Sun, 29 Apr 2012 01:17:39 -0700 Subject: device/sample: Enhanced example to include usage of exposing APIs Change-Id: Id0c0b2201ecb3d087ec1ae48b6629ee4f403dbfb --- products/addon_stub_defs | 1 + products/sample_addon.mk | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 products/addon_stub_defs (limited to 'products') 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 -- cgit v1.2.3