1Build 2----- 3Note: env setup requires slightly more than a normal Android build, 4so that the path gets adjusted for tradefed.sh: 5 6From the root of your Android tree: 7 8$ . build/envsetup.sh 9$ lunch 2 # generic aosp arm64 eng build 10$ mmma tools/tradefederation/core tools/test/graphicsbenchmark 11 12To run, ensure that `adb` and `aapt` are available on your path, and run from tools/test/graphicsbenchmark dir: 13 14$ tradefed.sh run commandAndExit AndroidTest.xml 15 16Available options include: 17--apk-info An XML file describing the list of APKs for qualifications. 18--apk-dir Directory contains the APKs for qualifications. If --apk-info is not specified and a 19file named 'apk-info.xml' exists in --apk-dir, that file will be used as the apk-info. 20 21Contact a member of the team for alternative test apks. 22 23gamecore.zip 24------------ 25To create a gamecore.zip for distribution, run: 26$ tapas gamecore && make dist DIST_DIR=dist 27 28This will create a gamecore.zip in the 'dist' directory. 29 30Testing 31------- 32To run unit tests: 33$ atest --include-subdirs --test-mapping tools/test/graphicsbenchmark:presubmit 34