Skip to content

Commit

Permalink
Cherry-pick a40b631 from chromium (#4881)
Browse files Browse the repository at this point in the history
The fix was previously applied via making "java" a wrapper script.
However, "javac" does not invoke "java"

(cherry picked from commit a40b631)

b/374150391

Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5444666
  • Loading branch information
oxve authored Feb 12, 2025
2 parents 91b7da9 + acd7c39 commit c2e4b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/android/gyp/compile_java.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,8 @@ def main(argv):
# protobuf-generated files fail this check (javadoc has @deprecated,
# but method missing @Deprecated annotation).
'-Xlint:-dep-ann',
# https://crbug.com/1441023
'-J-XX:+PerfDisableSharedMem',
]

if options.enable_errorprone:
Expand Down

0 comments on commit c2e4b4e

Please sign in to comment.