1# List of apps and optional libraries (Java and native) to put in the add-on system image. 2PRODUCT_PACKAGES := \ 3 PlatformLibraryClient \ 4 com.example.android.platform_library \ 5 libplatform_library_jni 6 7# name of the add-on 8PRODUCT_SDK_ADDON_NAME := platform_library 9 10# Copy the manifest and hardware files for the SDK add-on. 11# The content of those files is manually created for now. 12PRODUCT_SDK_ADDON_COPY_FILES := \ 13 device/sample/sdk_addon/manifest.ini:manifest.ini \ 14 device/sample/sdk_addon/hardware.ini:hardware.ini \ 15 $(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi) 16 17 18# Add this to PRODUCT_SDK_ADDON_COPY_FILES to copy the files for an 19# emulator skin (or for samples) 20#$(call find-copy-subdir-files,*,device/sample/skins/WVGAMedDpi,skins/WVGAMedDpi) 21 22# Copy the jar files for the optional libraries that are exposed as APIs. 23PRODUCT_SDK_ADDON_COPY_MODULES := \ 24 com.example.android.platform_library:libs/platform_library.jar 25 26# Rules for public APIs 27PRODUCT_SDK_ADDON_STUB_DEFS := $(LOCAL_PATH)/addon_stub_defs 28 29# Name of the doc to generate and put in the add-on. This must match the name defined 30# in the optional library with the tag 31# LOCAL_MODULE:= platform_library 32# in the documentation section. 33PRODUCT_SDK_ADDON_DOC_MODULES := platform_library 34 35# This add-on extends the arm emulator/sdk product. 36$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_phone_armv7.mk) 37 38# Real name of the add-on. This is the name used to build the add-on. 39# Use 'lunch <PRODUCT_NAME>-userdebug; m sdk_addon' to build the add-on. 40PRODUCT_NAME := sample_addon 41