-
Notifications
You must be signed in to change notification settings - Fork 41
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
Does Bazel support R8? #31
Comments
Any updates on this? |
Hi, the rules do not currently support R8. We'll be adding support, unfortunately I can't give a concrete timeline on that yet. |
Any updates? Found a fatal proguard error in androidx.fragment:fragment:1.3.6
The file contents are this:
|
We have an internal implementation that enables R8 flag guarded behind a configuration flag (--experimental_enable_r8). We can contribute our implementation and the proguard_compat binary (thinking it could live in src/tools/android/java/com/google/devtools/build/android/r8/BUILD.tools). Does this sound reasonable or is there some ongoing work in the starlark rules that duplicates? This would also help the R8 team to contribute directly to bazel. |
bazelbuild/bazel#14741 adds basic support for calling the R8. |
@mauriciogg can we create a gist that contains an example of the shim binary setup? |
FYI @sgjesse here is the patch we've been using for R8 support in Bazel. |
FYI @ahumesky, @timpeut and @lizkammer well. |
https://gist.github.com/mauriciogg/6e7217f03a19a40979f23ca1e5eff297 |
There's some related discussion about Bazel support for r8 in bazelbuild/bazel#14966 (comment) |
bazelbuild/bazel#18239 #31 #105 PiperOrigin-RevId: 559196543 Change-Id: Id2a6aea5079a14f305ca48d79d292b166677befa
bazelbuild/bazel#18239 bazelbuild#31 bazelbuild#105 PiperOrigin-RevId: 559196543 Change-Id: Id2a6aea5079a14f305ca48d79d292b166677befa
Didn't find any direct info to this.
If support, is there any guideline?
If not, is it on schedule?
I found a Bazel compile fail with Proguard 5.3.3, it would be nice if someone would share some suggestions.
https://stackoverflow.com/questions/65182300/bazel-build-android-demo-fail-with-proguard
Thank you
The text was updated successfully, but these errors were encountered: