@@ -53,7 +53,7 @@ vars = {
5353 # https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/goma/client
5454 'goma_version' : ' git_revision:41b3bcb64014144a844153fd5588c36411fffb56' ,
5555
56- 'reclient_version' : 'git_revision:81e819b39d4743462857cc55430d898b9fcca1af ' ,
56+ 'reclient_version' : 'git_revision:f3883c2237b0eb9cc9524cb571b5ab8378f257e4 ' ,
5757
5858 'gcloud_version' :
'version:[email protected] ' ,
5959
@@ -126,6 +126,10 @@ vars = {
126126 # specified by GOMA_DIR, or installed in the default goma install location.
127127 'use_cipd_goma' : False ,
128128
129+ # When this is true, the Flutter Engine's configuration files and scripts for
130+ # RBE will be downloaded from CIPD. This option is only usable by Googlers.
131+ 'use_rbe' : False ,
132+
129133 # This is not downloaded be default because it increases the
130134 # `gclient sync` time by between 1 and 3 minutes. This option is enabled
131135 # in flutter/ci/builders/mac_impeller_cmake_example.json, and is likely to
@@ -266,7 +270,7 @@ allowed_hosts = [
266270]
267271
268272deps = {
269- 'src' : 'https://github.com/flutter/buildroot.git' + '@' + '8c274b21f1ad4f2aec0a5e0ae8f4264393045b4b ' ,
273+ 'src' : 'https://github.com/flutter/buildroot.git' + '@' + 'a43582b52d361bc3da156a8e6eab6dd947ca339d ' ,
270274
271275 'src/flutter/third_party/rapidjson' :
272276 Var ('flutter_git' ) + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b' ,
@@ -843,7 +847,7 @@ deps = {
843847 'version' : Var ('clang_version' ),
844848 }
845849 ],
846- 'condition' : 'host_os == "linux" and host_cpu == "x64 "' ,
850+ 'condition' : 'host_os == "linux" or host_os == "mac "' ,
847851 'dep_type' : 'cipd' ,
848852 },
849853
@@ -903,15 +907,48 @@ deps = {
903907 'dep_type' : 'cipd' ,
904908 },
905909
906- # reclient .
910+ # RBE binaries and configs .
907911 'src/buildtools/linux-x64/reclient' : {
908912 'packages' : [
909913 {
910914 'package' : 'infra/rbe/client/${{platform}}' ,
911915 'version' : Var ('reclient_version' ),
912916 }
913917 ],
914- 'condition' : 'host_os == "linux" and host_cpu == "x64"' ,
918+ 'condition' : 'use_rbe and host_os == "linux" and host_cpu == "x64"' ,
919+ 'dep_type' : 'cipd' ,
920+ },
921+
922+ 'src/buildtools/mac-arm64/reclient' : {
923+ 'packages' : [
924+ {
925+ 'package' : 'infra/rbe/client/${{platform}}' ,
926+ 'version' : Var ('reclient_version' ),
927+ }
928+ ],
929+ 'condition' : 'use_rbe and host_os == "mac" and host_cpu == "arm64"' ,
930+ 'dep_type' : 'cipd' ,
931+ },
932+
933+ 'src/buildtools/mac-x64/reclient' : {
934+ 'packages' : [
935+ {
936+ 'package' : 'infra/rbe/client/${{platform}}' ,
937+ 'version' : Var ('reclient_version' ),
938+ }
939+ ],
940+ 'condition' : 'use_rbe and host_os == "mac" and host_cpu == "x64"' ,
941+ 'dep_type' : 'cipd' ,
942+ },
943+
944+ 'src/flutter/build/rbe' : {
945+ 'packages' : [
946+ {
947+ 'package' : 'flutter_internal/rbe/reclient_cfgs' ,
948+ 'version' : 'U42C0v8jI-_YREjd8rbDEt0evvqvLWJ_NTkaiJ_Clt8C' ,
949+ }
950+ ],
951+ 'condition' : 'use_rbe' ,
915952 'dep_type' : 'cipd' ,
916953 },
917954
@@ -923,7 +960,18 @@ deps = {
923960 'version' : Var ('gcloud_version' ),
924961 }
925962 ],
926- 'condition' : 'host_os == "linux" and host_cpu == "x64"' ,
963+ 'condition' : 'use_rbe and host_os == "linux" and host_cpu == "x64"' ,
964+ 'dep_type' : 'cipd' ,
965+ },
966+
967+ 'src/buildtools/mac-arm64/gcloud' : {
968+ 'packages' : [
969+ {
970+ 'package' : 'infra/3pp/tools/gcloud/${{platform}}' ,
971+ 'version' : Var ('gcloud_version' ),
972+ }
973+ ],
974+ 'condition' : 'use_rbe and host_os == "mac" and host_cpu == "arm64"' ,
927975 'dep_type' : 'cipd' ,
928976 },
929977
0 commit comments