summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-02-27 05:01:21 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-02-27 05:01:21 +0100
commite04ac4aae94862ca2debd394282e27e522017301 (patch)
treed94609e576101e2a8b0d489efb907f36954ec2e1
parentSnap for 5335706 from 965e5dafd36d284f425378cef26257c0e994d1c5 to qt-release (diff)
parentMerge "Updater updater_sample/README.md - build instructions." am: 52db3dc12e am: 2ee3614be3 (diff)
downloadandroid_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar.gz
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar.bz2
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar.lz
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar.xz
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.tar.zst
android_bootable_recovery-e04ac4aae94862ca2debd394282e27e522017301.zip
-rw-r--r--updater_sample/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/updater_sample/README.md b/updater_sample/README.md
index bc66a9bb4..2070ebc21 100644
--- a/updater_sample/README.md
+++ b/updater_sample/README.md
@@ -191,7 +191,7 @@ privileged system app, so it's granted the required permissions to access
</privapp-permissions>
```
to `frameworks/base/data/etc/privapp-permissions-platform.xml`
-5. Build sample app `mmma -j bootable/recovery/updater_sample`.
+5. Build sample app `make -j SystemUpdaterSample`.
6. Build Android `make -j`
7. [Flash the device](https://source.android.com/setup/build/running)
8. Add update config files; look above at `## Update Config file`;
@@ -225,7 +225,9 @@ privileged system app, so it's granted the required permissions to access
## Running tests
-1. Build `mmma bootable/recovery/updater_sample/`
+The commands are expected to be run from `$ANDROID_BUILD_TOP`.
+
+1. Build `make -j SystemUpdaterSample` and `make -j SystemUpdaterSampleTests`.
2. Install app
`adb install $OUT/system/priv-app/SystemUpdaterSample/SystemUpdaterSample.apk`
3. Install tests