summaryrefslogtreecommitdiff
path: root/sdk
diff options
context:
space:
mode:
authorOrlin Georgiev <orlin@google.com>2021-04-06 13:46:07 +0200
committerOrlin Georgiev <orlin@google.com>2021-04-06 12:30:12 +0000
commit5cc4bb1415bb5d68d2686a620a4e0d7d7ab8dd2a (patch)
tree9af982e3304ab8f7620821079a7a924b85b42a21 /sdk
parent9050424f47b550fec0d9021a9857df4eb951a4dd (diff)
downloadatv-5cc4bb1415bb5d68d2686a620a4e0d7d7ab8dd2a.tar.gz
Add source.properties file generation to TV emulators
The file wasn't being generated as part of the system image, leading to problems with Android Studio publishing of the image The tag and display name of the image depends on the specific TV emulator flavour - Watson or Amati Bug: 183502224 Test: Run this and check that source.properties exists in the image zip: unset USE_GOMA && source build/make/rbesetup.sh && lunch sdk_google_atv_amati_x86-userdebug && make -j && make -j goog_emu_imgs && emulator -no-snapshot-load & Change-Id: I1a8525d2dcec37ed5e529187cae1104ca52df4f7
Diffstat (limited to 'sdk')
-rw-r--r--sdk/images_source.prop_template (renamed from sdk/images_x86_source.prop_template)6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdk/images_x86_source.prop_template b/sdk/images_source.prop_template
index 2395179..a05bc28 100644
--- a/sdk/images_x86_source.prop_template
+++ b/sdk/images_source.prop_template
@@ -4,7 +4,7 @@ Pkg.Revision=3
Pkg.Dependencies=emulator#28.1.6
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
AndroidVersion.CodeName=${PLATFORM_VERSION_CODENAME}
-SystemImage.Abi=x86
+SystemImage.Abi=${TARGET_CPU_ABI}
SystemImage.GpuSupport=true
-SystemImage.TagId=android-tv
-SystemImage.TagDisplay=Android TV
+SystemImage.TagId=${SYSTEM_IMAGE_TAG_ID}
+SystemImage.TagDisplay=${SYSTEM_IMAGE_TAG_DISPLAY}