Move protobuf to //flutter/third_party (flutter/engine#50997)

For https://github.com/flutter/flutter/issues/67373

Currently the files in the secondary buildroot for protobuf are checked
out from their own git repo. Flutter owns a mirror of that repo. To move
protobuf to `//flutter/third_party`, we can land a change in that repo,
and then revert it after we're done with the buildmoot. Alternately, in
this PR, I've just copied the files into the flutter/engine repo under
the secondary buildroot and made the changes.
This commit is contained in:
Zachary Anderson
2024-02-27 16:37:21 +00:00
committed by GitHub
parent 70e24583ba
commit 827e920f48
17 changed files with 1623 additions and 8 deletions

8
DEPS
View File

@@ -328,11 +328,13 @@ deps = {
'src/third_party/perfetto':
Var('flutter_git') + "/third_party/perfetto" + '@' + Var('dart_perfetto_rev'),
'src/third_party/protobuf':
'src/flutter/third_party/protobuf':
Var('flutter_git') + '/third_party/protobuf' + '@' + Var('dart_libprotobuf_rev'),
'src/flutter/build/secondary/third_party/protobuf':
Var('flutter_git') + '/third_party/protobuf-gn' + '@' + Var('dart_protobuf_gn_rev'),
# TODO(67373): These are temporarily checked in, but this dep can be restored
# once the buildmoot is completed.
# 'src/flutter/build/secondary/third_party/protobuf':
# Var('flutter_git') + '/third_party/protobuf-gn' + '@' + Var('dart_protobuf_gn_rev'),
'src/third_party/dart':
Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'),