-
Notifications
You must be signed in to change notification settings - Fork 10
build_android: Only build replay and layer #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build_android: Only build replay and layer #327
Conversation
Gradle finished but there were CMake errors.
EDIT: Fixed. Needed to build both layer and release explicitly |
Last subtree update, we got two new Android targets: - multi-win-replay - quest_replay As a result, build times doubled. In order to reduce build times, only compile parts of GFXR that we use. Since replay depends on the capture layer, asking Gradle to build replay will cause both to be built
420001b
to
1825883
Compare
…oid_gfxr_replay_only
replay's dependency on layer will only build AAR in debug. In release, need to build both. Fortunately, building both can be accomplished with one command.
Last main Android build took 27m: https://github.com/google/dive/actions/runs/17959883734/job/51080514162 This Android build took 13m 12s: https://github.com/google/dive/actions/runs/17979996130/job/51143222902?pr=327 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this change!
Last subtree update, we got two new Android targets:
As a result, build times doubled. In order to reduce build times, only compile parts of GFXR that we use. This also means that we don't compile the test apps