diff options
author | Xavier Ducrohet <xav@android.com> | 2009-05-12 17:57:21 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2009-05-12 18:00:44 -0700 |
commit | acd7c6b02a14e8694d0dced56ea37e79707fba1e (patch) | |
tree | b335564ec4df6e38e3be27a68f8069c551228fc6 /products/sample_addon.mk | |
parent | 9ce778f6517c5846168988c68c78bcbe2bb4b197 (diff) | |
download | sample-acd7c6b02a14e8694d0dced56ea37e79707fba1e.tar.gz |
Add the PlatformLibrary sample to the new "sample" vendor
This adds the PlatformLibrary samples previously located in development/samples.
This also creates all the files required to build an add-on including the optional
library provided by PlatformLibrary
Diffstat (limited to 'products/sample_addon.mk')
-rw-r--r-- | products/sample_addon.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/products/sample_addon.mk b/products/sample_addon.mk new file mode 100644 index 0000000..c0d66fe --- /dev/null +++ b/products/sample_addon.mk @@ -0,0 +1,28 @@ +PRODUCT_PACKAGES := \ + PlatformLibraryClient \ + com.example.android.platform_library \ + libplatform_library_jni + +PRODUCT_COPY_FILES := \ + vendor/sample/frameworks/PlatformLibrary/com.example.android.platform_library.xml:system/etc/permissions/com.example.android.platform_library.xml + +PRODUCT_SDK_ADDON_NAME := platform_library + +PRODUCT_SDK_ADDON_COPY_FILES := \ + vendor/sample/sdk_addon/hardware.ini:hardware.ini \ + vendor/sample/sdk_addon/manifest.ini:manifest.ini + + +# Add this to PRODUCT_SDK_ADDON_COPY_FILES to copy the files for an +# emulator skin (or for samples) +# $(call find-copy-subdir-files,*,development/emulator/skins/HVGA,skins/HVGA) + +PRODUCT_SDK_ADDON_COPY_MODULES := \ + com.example.android.platform_library:libs/platform_library.jar + +PRODUCT_SDK_ADDON_DOC_MODULE := platform_library + +$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk.mk) + +# Overrides +PRODUCT_NAME := sample_addon |