forked from firka/flutter
Supports building with RBE on a Windows host. (flutter/engine#49877)
Requires https://github.com/flutter/buildroot/pull/820
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Signature: f835ab00d16b708da196110898b39ac6
|
||||
Signature: 7910511393c57825374f577cbf765019
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -30,6 +30,7 @@ final Set<String> skippedPaths = <String>{
|
||||
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',
|
||||
|
||||
Reference in New Issue
Block a user