Skip to content

Commit

Permalink
infra/skqp/docker/README.md: whitespace changes for readability
Browse files Browse the repository at this point in the history
No-Try: true
Change-Id: I34410ebbb924bbcad12e776fc725401482158b77
Reviewed-on: https://skia-review.googlesource.com/c/165308
Auto-Submit: Hal Canary <[email protected]>
Reviewed-by: Kevin Lubick <[email protected]>
Commit-Queue: Kevin Lubick <[email protected]>
  • Loading branch information
HalCanary authored and Skia Commit-Bot committed Oct 29, 2018
1 parent 618decb commit 1de48d8
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions infra/skqp/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,26 @@ installed libraries.
For testing the image locally, the following flow can be helpful:

docker build -t android-skqp ./android-skqp/

# start an emulator
docker run --privileged -d --name android_em -e DEVICE="Samsung Galaxy S6" -v $SKIA_ROOT:/SRC -v $SKIA_ROOT/out/skqp:/OUT android-skqp
docker run --privileged -d --name android_em \
-e DEVICE="Samsung Galaxy S6" \
-v $SKIA_ROOT:/SRC \
-v $SKIA_ROOT/out/skqp:/OUT \
android-skqp

# attach to that emulator
docker exec -it android_em /bin/bash

# Compile SKQP
docker run -it --rm -w /SRC/infra/skqp -v $SKIA_ROOT:/SRC android-skqp ./build_apk.sh
# Run SKQP (can't mount anything with -v here, must do it on original docker run)
docker run -it --rm -w /SRC/infra/skqp \
-v $SKIA_ROOT:/SRC \
android-skqp ./build_apk.sh

# Run SKQP (can't mount anything with -v here, must do it on
# original docker run)
docker exec -it android_em /SRC/infra/skqp/run_skqp.sh

# Cleanup
docker kill android_em
docker rm android_em
docker rm android_em

0 comments on commit 1de48d8

Please sign in to comment.