diff --git a/DEPS b/DEPS index 760de3db8c..9772adcc85 100644 --- a/DEPS +++ b/DEPS @@ -50,7 +50,7 @@ vars = { # https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/goma/client 'goma_version': ' git_revision:41b3bcb64014144a844153fd5588c36411fffb56', - 'reclient_version': 'git_revision:f3883c2237b0eb9cc9524cb571b5ab8378f257e4', + 'reclient_version': 'git_revision:f61c232b70bc425f0b562480312b114c444d460d', 'gcloud_version': 'version:2@444.0.0.chromium.3', @@ -274,7 +274,10 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '71c9a9987171ef3f8b60a9e0b346bce30ee65933', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + '4c8d0040fca0fff675b487618ebaa8b7a8259858', + + 'src/flutter/third_party/depot_tools': + Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '580b4ff3f5cd0dcaa2eacda28cefe0f45320e8f7', 'src/flutter/third_party/rapidjson': Var('flutter_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b', @@ -942,11 +945,22 @@ deps = { 'dep_type': 'cipd', }, + 'src/buildtools/windows-x64/reclient': { + 'packages': [ + { + 'package': 'infra/rbe/client/${{platform}}', + 'version': Var('reclient_version'), + } + ], + 'condition': 'use_rbe and download_windows_deps', + 'dep_type': 'cipd', + }, + 'src/flutter/build/rbe': { 'packages': [ { 'package': 'flutter_internal/rbe/reclient_cfgs', - 'version': 'U42C0v8jI-_YREjd8rbDEt0evvqvLWJ_NTkaiJ_Clt8C', + 'version': 'CWmlhStMKG4dZhy-dW1ZQbnEB7ZhBS04itNBL-0yLvEC', } ], 'condition': 'use_rbe', diff --git a/engine/src/flutter/ci/builders/standalone/windows_unopt.json b/engine/src/flutter/ci/builders/standalone/windows_unopt.json index 2508f4507d..cf3a5a36ee 100644 --- a/engine/src/flutter/ci/builders/standalone/windows_unopt.json +++ b/engine/src/flutter/ci/builders/standalone/windows_unopt.json @@ -4,7 +4,8 @@ "os=Windows-10" ], "gclient_variables": { - "download_android_deps": false + "download_android_deps": false, + "use_rbe": true }, "dependencies": [ { @@ -16,7 +17,9 @@ "--runtime-mode", "debug", "--unoptimized", - "--prebuilt-dart-sdk" + "--prebuilt-dart-sdk", + "--rbe", + "--no-goma" ], "name": "host_debug_unopt", "ninja": { diff --git a/engine/src/flutter/ci/licenses_golden/excluded_files b/engine/src/flutter/ci/licenses_golden/excluded_files index b6c99713fd..03144b461e 100644 --- a/engine/src/flutter/ci/licenses_golden/excluded_files +++ b/engine/src/flutter/ci/licenses_golden/excluded_files @@ -456,6 +456,7 @@ ../../../flutter/third_party/accessibility/gfx/range/range_unittest.cc ../../../flutter/third_party/accessibility/gfx/test ../../../flutter/third_party/benchmark +../../../flutter/third_party/depot_tools ../../../flutter/third_party/expat/.git ../../../flutter/third_party/expat/.github ../../../flutter/third_party/expat/.gitignore diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index c28fb1b6f6..9e5e7b28ab 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: f835ab00d16b708da196110898b39ac6 +Signature: 7910511393c57825374f577cbf765019 diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index 484bfa002a..37be1854b6 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -215,13 +215,6 @@ def setup_rbe(args): if not args.rbe: return rbe_gn_args - if get_host_os() not in ['linux', 'mac']: - print( - 'The --rbe flag has no effect. RBE is currently only supported on ' - 'macOS and Linux.' - ) - return rbe_gn_args - rbe_gn_args['use_rbe'] = True # When running in CI, the recipes use their own rbe install, and take @@ -237,9 +230,15 @@ def setup_rbe(args): 'reclient', ) bootstrap_path = os.path.join(cipd_reclient_dir, 'bootstrap') + bootstrap_path = bootstrap_path + '.exe' if get_host_os( + ) == 'win' else bootstrap_path reproxy_path = os.path.join(cipd_reclient_dir, 'reproxy') rbe_cfg_path = os.path.join( - SRC_ROOT, 'flutter', 'build', 'rbe', 'reclient.cfg' + SRC_ROOT, + 'flutter', + 'build', + 'rbe', + 'reclient-' + get_host_os() + '.cfg', ) bootstrap_cmd = [ bootstrap_path, diff --git a/engine/src/flutter/tools/licenses/lib/paths.dart b/engine/src/flutter/tools/licenses/lib/paths.dart index 441d2cb1da..7a85d28fcc 100644 --- a/engine/src/flutter/tools/licenses/lib/paths.dart +++ b/engine/src/flutter/tools/licenses/lib/paths.dart @@ -30,6 +30,7 @@ final Set skippedPaths = { r'flutter/prebuilts', r'flutter/sky/packages/sky_engine/LICENSE', r'flutter/third_party/benchmark', // only used by tests + r'flutter/third_party/depot_tools', // only used for the Windows build system. r'flutter/third_party/expat/expat/doc', r'flutter/third_party/expat/expat/win32/expat.iss', r'flutter/third_party/flatbuffers/android',