Convert input/Android.mk to Android.bp

1. Converted the Make file to a Soong one;
2. The apk built with Soong has more files than that built with Make in
the res/ directory, due to that Soong includes more properties or files
than Make, which is considered OKay for the conversion.

Bug: 203606453
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: Ib5fc8fd0876ff5cd6f9a7ab46cf1ccf824359249
2 files changed
tree: 6823ff48cffcfdcd5a52bb7135c365c96b66fb68
  1. assets/
  2. common/
  3. jni/
  4. libs/
  5. material_res/
  6. partner_support/
  7. ratings/
  8. res/
  9. src/
  10. tests/
  11. tuner/
  12. .gitignore
  13. Android.bp
  14. AndroidManifest.xml
  15. build.gradle
  16. com.android.tv.xml
  17. gradle.properties
  18. lint-baseline.xml
  19. OWNERS
  20. proguard.flags
  21. README.md
  22. settings.gradle
  23. version.mk
README.md

Live TV

Live TV is the Open Source reference application for watching TV on Android TVs.

Live TV is a system app for Android TV. It should be compiled with Android TV platform.

How to build:

  1. Enable the feature PackageManager.FEATURE_LIVE_TV.
  2. Put this project under Android platform repository if required.
  3. Include this package inside platform build.
  4. Build the platform. https://source.android.com/source/building.html

NOTE: This is a reference application and should not be used with further hardening.

Build just Live Tv

To install LiveTv

echo "Compiling"
m -j LiveTv
echo  "Installing"
adb install -r ${OUT}/system/priv-app/LiveTv/LiveTv.apk

If it is your first time installing LiveTv you will need to do

adb root
adb remount
adb push ${OUT}/system/priv-app/LiveTv/LiveTv.apk /system/priv-app/LiveTv/LiveTv.apk
adb reboot