diff options
author | Sam Lin <samlin@google.com> | 2020-07-09 17:17:02 -0400 |
---|---|---|
committer | Igor Razumeiko <igorr@google.com> | 2020-07-30 02:49:11 +0000 |
commit | 4ff8206148b5282a291fa10a79d4da5230fe7260 (patch) | |
tree | 0155820d4a6647d9b817647642eb2c9c01693cd1 /RotaryPlayground | |
parent | fcf79e37ad837cdf2c99bf785d0154e66a302e7f (diff) | |
download | tests-4ff8206148b5282a291fa10a79d4da5230fe7260.tar.gz |
Update build files
Disable dex_preopt, remove redundant libs & add a utility script
Bug: 161492279
Test: packages/apps/Car/tests/tools/goRotary.sh b
Change-Id: Ida8f2b6723e1f1e74c63e12c97e7a4aa65e66066
Diffstat (limited to 'RotaryPlayground')
-rw-r--r-- | RotaryPlayground/Android.bp | 6 | ||||
-rw-r--r-- | RotaryPlayground/readme.md | 24 |
2 files changed, 27 insertions, 3 deletions
diff --git a/RotaryPlayground/Android.bp b/RotaryPlayground/Android.bp index b8304ad..03583ba 100644 --- a/RotaryPlayground/Android.bp +++ b/RotaryPlayground/Android.bp @@ -23,14 +23,16 @@ android_app { sdk_version: "system_current", static_libs: [ - "androidx-constraintlayout_constraintlayout", - "car-apps-common", "car-ui-lib", ], owner: "google", certificate: "shared", + dex_preopt: { + enabled: false, + }, + optimize: { enabled: false, } diff --git a/RotaryPlayground/readme.md b/RotaryPlayground/readme.md index ee74185..715e2cc 100644 --- a/RotaryPlayground/readme.md +++ b/RotaryPlayground/readme.md @@ -13,4 +13,26 @@ adb install out/target/product/[hardware]/system/app/RotaryPlayground/RotaryPlay ## Once installed, launch Rotary Playground in the Launcher, or with this adb command: ``` adb shell am start -n com.android.car.rotaryplayground/com.android.car.rotaryplayground.RotaryActivity -```
\ No newline at end of file +``` + +## Tools + +### goRotary.sh +This script helps you to build, install and run the app. + +* To build +``` +cd $ANDROID_BUILD_TOP +packages/apps/Car/tests/tools/goRotary.sh b +``` +The apks and android.car.jar are in /tmp/rotary by default. + +* To install +``` +packages/apps/Car/tests/tools/goRotary.sh i +``` + +* To run +``` +packages/apps/Car/tests/tools/goRotary.sh r +``` |