skia2/infra/skqp/build_apk.sh

16 lines
442 B
Bash
Raw Normal View History

#!/bin/bash
# Copyright 2018 Google LLC
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Assumes this is in a docker container with a skia repo mounted at /SRC
SKIA_ROOT="$(cd "$(dirname "$0")/../.."; pwd)"
"$SKIA_ROOT"/tools/skqp/make_universal_apk x86
# Clean out previous builds
rm -rf /OUT/*
cp "$SKIA_ROOT"/out/skqp/skqp-universal-debug.apk /OUT/skqp-universal-x86-debug.apk