aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skqp/make_universal_apk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skqp/make_universal_apk')
-rwxr-xr-xtools/skqp/make_universal_apk10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/skqp/make_universal_apk b/tools/skqp/make_universal_apk
index ce0607119c..29c67bd3d9 100755
--- a/tools/skqp/make_universal_apk
+++ b/tools/skqp/make_universal_apk
@@ -22,6 +22,9 @@ locations of the Android NDK and SDK. Current values:
Additionally, \`python\` and \`ninja\` should be in your path.
+If SKQP_EXTRA_MODELS is non-empty, assets unneeded by the CTS tests will be
+included for experimental mode.
+
EOM
exit 1
}
@@ -37,7 +40,14 @@ set -e # Exit immediately
cd "$(dirname "$0")/../.."
+
+git clean -fxd platform_tools/android/apps/skqp
+
python tools/skqp/download_model
+if [ -z "$SKQP_EXTRA_MODELS" ]; then
+ python tools/skqp/remove_unneeded_assets
+fi
+
python tools/skqp/setup_resources
python tools/git-sync-deps