Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
apps/ | 03-May-2024 | - | 2,498 | 1,762 | ||
benchmark_libs/ | 03-May-2024 | - | 207 | 124 | ||
dist/ | 03-May-2024 | - | 114 | 80 | ||
functional_tests/ | 03-May-2024 | - | 2,055 | 1,238 | ||
performance_tests/ | 03-May-2024 | - | 4,313 | 3,223 | ||
tools/ | 03-May-2024 | - | 17 | 2 | ||
Android.mk | D | 03-May-2024 | 3.4 KiB | 83 | 54 | |
AndroidTest.xml | D | 03-May-2024 | 2.5 KiB | 51 | 40 | |
OWNERS | D | 03-May-2024 | 179 | 6 | 5 | |
README | D | 03-May-2024 | 1.1 KiB | 34 | 24 |
README
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