diff --git a/build/android/gyp/compile_java.py b/build/android/gyp/compile_java.py index 5fee0d77c3ef4..a9fd12425f612 100755 --- a/build/android/gyp/compile_java.py +++ b/build/android/gyp/compile_java.py @@ -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: