Allow building emulator as an sdk-addon

This can be imported into Android Studio more easily, eventually even
as a repository of LineageOS emulator images.

(Build with `m sdk_addon`, it will end up in out/host/linux-x86/sdk_addon)

Change-Id: Ia78524dd729b0f2ccc96f5a6eb2503cdc8b4d253
This commit is contained in:
Tim Schumacher
2019-09-11 16:14:28 +02:00
committed by Paul Keith
parent ee283b0857
commit cc6f30cf6b
2 changed files with 10 additions and 0 deletions

View File

@@ -19,3 +19,6 @@ PRODUCT_COPY_FILES += \
# Allow building otatools
TARGET_FORCE_OTA_PACKAGE := true
PRODUCT_SDK_ADDON_NAME := lineage
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties

View File

@@ -0,0 +1,7 @@
Pkg.Desc=LineageOS System Image API ${PLATFORM_VERSION} ${TARGET_CPU_ABI}
Pkg.Revision=1
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
SystemImage.Abi=${TARGET_CPU_ABI}
SystemImage.TagId=lineage
SystemImage.TagDisplay=LineageOS