From b328992aac7b9639148af13f46ffec454418d92d Mon Sep 17 00:00:00 2001 From: Simone Arpe Date: Fri, 27 Mar 2026 21:10:02 +0100 Subject: [PATCH] Enable CheckJavaStyle on MacOS (#35036) --- PRESUBMIT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 7fb02056f0e..0d3cd657121 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -593,8 +593,8 @@ def CheckJavaStyle(_original_check, input_api, output_api): for f in input_api.AffectedFiles()): return [] - # Android toolchain is only available on Linux. - if not sys.platform.startswith('linux'): + # Android toolchain is only available on Linux and MacOS. + if not sys.platform.startswith(('linux', 'darwin')): return [] with brave_chromium_utils.sys_path('//tools/android/checkstyle'):