Files
godot-angle-static/gni
Cody Northrop 35461e60bd Android: Build traces outside of APK
Our trace list has gotten too large for a single APK (2GB).

To continue supporting compiled traces, we can now place the
libraries in the test application's home directory, which
is discoverable and executable without root.

To build and run with all traces, use `angle_trace_perf_tests`
as your build target, then use the local Android helper script:

$ autoninja -C out/<config> angle_trace_perf_tests
$ (cd out/<config>; ../../src/tests/run_angle_android_test.py \
   angle_trace_tests --filter='*among_us' \
   --verbose --local-output --verbose-logging \
   --fixed-test-time-with-warmup 10)

To continue using bundled libraries, specify your trace list in
GN args using `angle_restricted_traces` and use steps that
match other platforms:

$ autoninja -C out/<config> angle_trace_tests
$ out/Android/angle_trace_tests --gtest_filter='*among_us*' \
   --verbose --local-output --verbose-logging \
   --fixed-test-time-with-warmup 10

Bug: b/276474703
Change-Id: I3829cf7016e21894eee8890e2b0d527e8214f04e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4420279
Reviewed-by: Roman Lavrov <romanl@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2023-04-25 22:15:49 +00:00
..
2023-04-25 22:15:49 +00:00