1#!/bin/bash 2 3SCRIPT_DIR="$(dirname $0)" 4DIST_DIR="$1" 5 6STUDIO_JDK=${SCRIPT_DIR}"/../../../../prebuilts/jdk/jdk17/linux-x86" 7OUT_INTERMEDIATES=${SCRIPT_DIR}"/../../../../out/soong/.intermediates" 8 9${STUDIO_JDK}/bin/java -ea \ 10 -cp ${OUT_INTERMEDIATES}/external/junit/junit/linux_glibc_common/javac/junit.jar:${OUT_INTERMEDIATES}/external/hamcrest/hamcrest-core/hamcrest/linux_glibc_common/javac/hamcrest.jar:${OUT_INTERMEDIATES}/frameworks/layoutlib/create/layoutlib_create/linux_glibc_common/combined/layoutlib_create.jar:${OUT_INTERMEDIATES}/frameworks/layoutlib/create/tests/layoutlib-create-tests/linux_glibc_common/combined/layoutlib-create-tests.jar:${SCRIPT_DIR}/res \ 11 org.junit.runner.JUnitCore \ 12 com.android.tools.layoutlib.create.AllTests 13 14