packages: add NeedsChromeSource method
Add support for having the Build API indicate that the InstallPackages
call requires Chrome sources to have been synced.
BUG=chromium:1053703, chromium:1086714
TEST=generate
Change-Id: Ic5443a9b15f5ee030b016ff10ad978ee9cfcbd0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2216237
Reviewed-by: Alex Klein <saklein@chromium.org>
Reviewed-by: George Engelbrecht <engeg@google.com>
Commit-Queue: LaMont Jones <lamontjones@chromium.org>
Tested-by: LaMont Jones <lamontjones@chromium.org>
diff --git a/go/chromite/api/packages.pb.go b/go/chromite/api/packages.pb.go
index 37055b5..68edbb2 100644
--- a/go/chromite/api/packages.pb.go
+++ b/go/chromite/api/packages.pb.go
@@ -25,6 +25,44 @@
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
+type NeedsChromeSourceResponse_Reason int32
+
+const (
+ NeedsChromeSourceResponse_UNSPECIFIED NeedsChromeSourceResponse_Reason = 0
+ // There is no Chrome prebuilt available.
+ NeedsChromeSourceResponse_NO_PREBUILT NeedsChromeSourceResponse_Reason = 1
+ // The builder is compiling from source.
+ NeedsChromeSourceResponse_COMPILE_SOURCE NeedsChromeSourceResponse_Reason = 2
+ // There is a local uprev of Chrome.
+ NeedsChromeSourceResponse_LOCAL_UPREV NeedsChromeSourceResponse_Reason = 3
+ // A follower package lacks prebuilts.
+ NeedsChromeSourceResponse_FOLLOWER_LACKS_PREBUILT NeedsChromeSourceResponse_Reason = 4
+)
+
+var NeedsChromeSourceResponse_Reason_name = map[int32]string{
+ 0: "UNSPECIFIED",
+ 1: "NO_PREBUILT",
+ 2: "COMPILE_SOURCE",
+ 3: "LOCAL_UPREV",
+ 4: "FOLLOWER_LACKS_PREBUILT",
+}
+
+var NeedsChromeSourceResponse_Reason_value = map[string]int32{
+ "UNSPECIFIED": 0,
+ "NO_PREBUILT": 1,
+ "COMPILE_SOURCE": 2,
+ "LOCAL_UPREV": 3,
+ "FOLLOWER_LACKS_PREBUILT": 4,
+}
+
+func (x NeedsChromeSourceResponse_Reason) String() string {
+ return proto.EnumName(NeedsChromeSourceResponse_Reason_name, int32(x))
+}
+
+func (NeedsChromeSourceResponse_Reason) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_40286986e1d9a416, []int{13, 0}
+}
+
// This can easily be generalized to a Builds method if necessary, but
// currently we have no use case for anything but Chrome, and making this
// specifically for Chrome simplifies the calling code significantly.
@@ -863,6 +901,104 @@
return false
}
+type NeedsChromeSourceRequest struct {
+ // The request that will be passed to InstallPackages.
+ InstallRequest *InstallPackagesRequest `protobuf:"bytes,1,opt,name=install_request,json=installRequest,proto3" json:"install_request,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *NeedsChromeSourceRequest) Reset() { *m = NeedsChromeSourceRequest{} }
+func (m *NeedsChromeSourceRequest) String() string { return proto.CompactTextString(m) }
+func (*NeedsChromeSourceRequest) ProtoMessage() {}
+func (*NeedsChromeSourceRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_40286986e1d9a416, []int{12}
+}
+
+func (m *NeedsChromeSourceRequest) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_NeedsChromeSourceRequest.Unmarshal(m, b)
+}
+func (m *NeedsChromeSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_NeedsChromeSourceRequest.Marshal(b, m, deterministic)
+}
+func (m *NeedsChromeSourceRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NeedsChromeSourceRequest.Merge(m, src)
+}
+func (m *NeedsChromeSourceRequest) XXX_Size() int {
+ return xxx_messageInfo_NeedsChromeSourceRequest.Size(m)
+}
+func (m *NeedsChromeSourceRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_NeedsChromeSourceRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NeedsChromeSourceRequest proto.InternalMessageInfo
+
+func (m *NeedsChromeSourceRequest) GetInstallRequest() *InstallPackagesRequest {
+ if m != nil {
+ return m.InstallRequest
+ }
+ return nil
+}
+
+type NeedsChromeSourceResponse struct {
+ // Whethere Chrome source is needed.
+ NeedsChromeSource bool `protobuf:"varint,1,opt,name=needs_chrome_source,json=needsChromeSource,proto3" json:"needs_chrome_source,omitempty"`
+ // Reasons for needing Chrome source.
+ Reasons []NeedsChromeSourceResponse_Reason `protobuf:"varint,2,rep,packed,name=reasons,proto3,enum=chromite.api.NeedsChromeSourceResponse_Reason" json:"reasons,omitempty"`
+ // Packages causing the need for source.
+ Packages []*chromiumos.PackageInfo `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *NeedsChromeSourceResponse) Reset() { *m = NeedsChromeSourceResponse{} }
+func (m *NeedsChromeSourceResponse) String() string { return proto.CompactTextString(m) }
+func (*NeedsChromeSourceResponse) ProtoMessage() {}
+func (*NeedsChromeSourceResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_40286986e1d9a416, []int{13}
+}
+
+func (m *NeedsChromeSourceResponse) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_NeedsChromeSourceResponse.Unmarshal(m, b)
+}
+func (m *NeedsChromeSourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_NeedsChromeSourceResponse.Marshal(b, m, deterministic)
+}
+func (m *NeedsChromeSourceResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NeedsChromeSourceResponse.Merge(m, src)
+}
+func (m *NeedsChromeSourceResponse) XXX_Size() int {
+ return xxx_messageInfo_NeedsChromeSourceResponse.Size(m)
+}
+func (m *NeedsChromeSourceResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_NeedsChromeSourceResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NeedsChromeSourceResponse proto.InternalMessageInfo
+
+func (m *NeedsChromeSourceResponse) GetNeedsChromeSource() bool {
+ if m != nil {
+ return m.NeedsChromeSource
+ }
+ return false
+}
+
+func (m *NeedsChromeSourceResponse) GetReasons() []NeedsChromeSourceResponse_Reason {
+ if m != nil {
+ return m.Reasons
+ }
+ return nil
+}
+
+func (m *NeedsChromeSourceResponse) GetPackages() []*chromiumos.PackageInfo {
+ if m != nil {
+ return m.Packages
+ }
+ return nil
+}
+
// The generic version of HasChromePrebuilt.
type HasPrebuiltRequest struct {
// The chroot where the operations will be executed.
@@ -887,7 +1023,7 @@
func (m *HasPrebuiltRequest) String() string { return proto.CompactTextString(m) }
func (*HasPrebuiltRequest) ProtoMessage() {}
func (*HasPrebuiltRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{12}
+ return fileDescriptor_40286986e1d9a416, []int{14}
}
func (m *HasPrebuiltRequest) XXX_Unmarshal(b []byte) error {
@@ -948,7 +1084,7 @@
func (m *HasPrebuiltResponse) String() string { return proto.CompactTextString(m) }
func (*HasPrebuiltResponse) ProtoMessage() {}
func (*HasPrebuiltResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{13}
+ return fileDescriptor_40286986e1d9a416, []int{15}
}
func (m *HasPrebuiltResponse) XXX_Unmarshal(b []byte) error {
@@ -998,7 +1134,7 @@
func (m *UprevPackagesRequest) String() string { return proto.CompactTextString(m) }
func (*UprevPackagesRequest) ProtoMessage() {}
func (*UprevPackagesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{14}
+ return fileDescriptor_40286986e1d9a416, []int{16}
}
func (m *UprevPackagesRequest) XXX_Unmarshal(b []byte) error {
@@ -1066,7 +1202,7 @@
func (m *UprevVersionedPackageRequest) String() string { return proto.CompactTextString(m) }
func (*UprevVersionedPackageRequest) ProtoMessage() {}
func (*UprevVersionedPackageRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{15}
+ return fileDescriptor_40286986e1d9a416, []int{17}
}
func (m *UprevVersionedPackageRequest) XXX_Unmarshal(b []byte) error {
@@ -1131,7 +1267,7 @@
func (m *UprevVersionedPackageRequest_GitRef) String() string { return proto.CompactTextString(m) }
func (*UprevVersionedPackageRequest_GitRef) ProtoMessage() {}
func (*UprevVersionedPackageRequest_GitRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{15, 0}
+ return fileDescriptor_40286986e1d9a416, []int{17, 0}
}
func (m *UprevVersionedPackageRequest_GitRef) XXX_Unmarshal(b []byte) error {
@@ -1187,7 +1323,7 @@
func (m *UprevPackagesResponse) String() string { return proto.CompactTextString(m) }
func (*UprevPackagesResponse) ProtoMessage() {}
func (*UprevPackagesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{16}
+ return fileDescriptor_40286986e1d9a416, []int{18}
}
func (m *UprevPackagesResponse) XXX_Unmarshal(b []byte) error {
@@ -1233,7 +1369,7 @@
func (m *UprevPackagesResponse_Ebuild) String() string { return proto.CompactTextString(m) }
func (*UprevPackagesResponse_Ebuild) ProtoMessage() {}
func (*UprevPackagesResponse_Ebuild) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{16, 0}
+ return fileDescriptor_40286986e1d9a416, []int{18, 0}
}
func (m *UprevPackagesResponse_Ebuild) XXX_Unmarshal(b []byte) error {
@@ -1273,7 +1409,7 @@
func (m *UprevVersionedPackageResponse) String() string { return proto.CompactTextString(m) }
func (*UprevVersionedPackageResponse) ProtoMessage() {}
func (*UprevVersionedPackageResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_40286986e1d9a416, []int{17}
+ return fileDescriptor_40286986e1d9a416, []int{19}
}
func (m *UprevVersionedPackageResponse) XXX_Unmarshal(b []byte) error {
@@ -1302,6 +1438,7 @@
}
func init() {
+ proto.RegisterEnum("chromite.api.NeedsChromeSourceResponse_Reason", NeedsChromeSourceResponse_Reason_name, NeedsChromeSourceResponse_Reason_value)
proto.RegisterType((*BuildsChromeRequest)(nil), "chromite.api.BuildsChromeRequest")
proto.RegisterType((*BuildsChromeResponse)(nil), "chromite.api.BuildsChromeResponse")
proto.RegisterType((*GetBestVisibleRequest)(nil), "chromite.api.GetBestVisibleRequest")
@@ -1316,6 +1453,8 @@
proto.RegisterType((*GetBuilderMetadataResponse_BuildTargetMetadata)(nil), "chromite.api.GetBuilderMetadataResponse.BuildTargetMetadata")
proto.RegisterType((*HasChromePrebuiltRequest)(nil), "chromite.api.HasChromePrebuiltRequest")
proto.RegisterType((*HasChromePrebuiltResponse)(nil), "chromite.api.HasChromePrebuiltResponse")
+ proto.RegisterType((*NeedsChromeSourceRequest)(nil), "chromite.api.NeedsChromeSourceRequest")
+ proto.RegisterType((*NeedsChromeSourceResponse)(nil), "chromite.api.NeedsChromeSourceResponse")
proto.RegisterType((*HasPrebuiltRequest)(nil), "chromite.api.HasPrebuiltRequest")
proto.RegisterType((*HasPrebuiltResponse)(nil), "chromite.api.HasPrebuiltResponse")
proto.RegisterType((*UprevPackagesRequest)(nil), "chromite.api.UprevPackagesRequest")
@@ -1329,91 +1468,104 @@
func init() { proto.RegisterFile("chromite/api/packages.proto", fileDescriptor_40286986e1d9a416) }
var fileDescriptor_40286986e1d9a416 = []byte{
- // 1333 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xdd, 0x6e, 0x1b, 0xc5,
- 0x17, 0xd7, 0xda, 0xa9, 0x63, 0x1f, 0x3b, 0x8e, 0x3b, 0x69, 0x1a, 0x67, 0x9b, 0xf6, 0x9f, 0x6c,
- 0xff, 0xfd, 0xa0, 0x95, 0x6c, 0x91, 0x56, 0x55, 0x55, 0x2a, 0x24, 0x12, 0x4a, 0x5b, 0xa1, 0x42,
- 0xb5, 0xfd, 0x10, 0x02, 0xa1, 0xd5, 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, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0xbf, 0x8f,
- 0x84, 0x55, 0x12, 0x00, 0x00,
+ // 1541 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0x1b, 0xb7,
+ 0x16, 0xbe, 0x92, 0x1c, 0xd9, 0x3a, 0x92, 0x65, 0x99, 0x8e, 0x63, 0x79, 0xe2, 0xe4, 0xda, 0x93,
+ 0xdf, 0x9b, 0x00, 0x32, 0xae, 0x13, 0x04, 0x41, 0x6e, 0x70, 0x81, 0x58, 0x51, 0x12, 0x23, 0xfe,
+ 0xc3, 0xf8, 0xa7, 0x45, 0x8b, 0x62, 0x40, 0x4b, 0x94, 0x4d, 0x44, 0x1a, 0x4e, 0xc9, 0x91, 0x53,
+ 0x2d, 0xdb, 0xbe, 0x41, 0xbb, 0xeb, 0x03, 0xf4, 0x01, 0xba, 0x69, 0x17, 0x5d, 0xe5, 0x09, 0x8a,
+ 0xee, 0xfb, 0x04, 0x45, 0xde, 0xa0, 0x8b, 0x62, 0x48, 0xce, 0x68, 0x7e, 0x24, 0x47, 0xce, 0xc2,
+ 0xe8, 0x6e, 0x78, 0xce, 0x77, 0x7e, 0x78, 0x0e, 0x79, 0x78, 0xce, 0xc0, 0xd5, 0xe6, 0x09, 0x67,
+ 0x5d, 0xea, 0x91, 0x55, 0xec, 0xd2, 0x55, 0x17, 0x37, 0xdf, 0xe0, 0x63, 0x22, 0x6a, 0x2e, 0x67,
+ 0x1e, 0x43, 0xa5, 0x80, 0x59, 0xc3, 0x2e, 0x35, 0x8c, 0x18, 0xf4, 0x88, 0x3a, 0x27, 0x4c, 0x78,
+ 0x0a, 0x69, 0x2c, 0xc5, 0x79, 0x3d, 0xda, 0x69, 0xd9, 0xd8, 0xa5, 0x9a, 0x1b, 0x97, 0x14, 0x7d,
+ 0xc1, 0x19, 0x0b,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0xf0, 0xb7, 0x93, 0x6a, 0x56, 0x92, 0xdb, 0x19, 0xd5, 0x69,
+ 0x25, 0xb7, 0x33, 0xba, 0xeb, 0xb1, 0xa0, 0x18, 0x79, 0x59, 0xd0, 0x72, 0x4a, 0x2e, 0xa9, 0x79,
+ 0xe5, 0x0c, 0x84, 0xd6, 0xf9, 0x29, 0x5c, 0x92, 0x97, 0x07, 0x99, 0x67, 0xde, 0x28, 0xa5, 0x6f,
+ 0x9c, 0x5b, 0x67, 0xe6, 0xdf, 0xbd, 0x37, 0xb2, 0x95, 0x2c, 0xfa, 0x4a, 0x97, 0x9f, 0xe4, 0xb5,
+ 0x46, 0xf7, 0xc6, 0xaf, 0xb5, 0xc6, 0xfd, 0xb1, 0xb0, 0x71, 0xcb, 0x46, 0xe5, 0xdd, 0x7b, 0xa3,
+ 0x34, 0xe8, 0x7d, 0x2a, 0x99, 0xf5, 0xc7, 0x9f, 0x3d, 0x3a, 0x66, 0x61, 0x39, 0xae, 0x31, 0x7e,
+ 0xbc, 0x1a, 0xf9, 0x97, 0x47, 0x9d, 0x36, 0xc7, 0xab, 0xf2, 0x57, 0xde, 0xea, 0x31, 0x5b, 0x8d,
+ 0xfe, 0x01, 0x3c, 0xca, 0x4b, 0xf2, 0x83, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x21, 0xb9,
+ 0xc4, 0x7d, 0x14, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -1430,6 +1582,9 @@
type PackageServiceClient interface {
// Check if the build target has chrome in its depgraph.
BuildsChrome(ctx context.Context, in *BuildsChromeRequest, opts ...grpc.CallOption) (*BuildsChromeResponse, error)
+ // Check whether the Chrome source tree is needed. Does not compile nor
+ // install any packages.
+ NeedsChromeSource(ctx context.Context, in *NeedsChromeSourceRequest, opts ...grpc.CallOption) (*NeedsChromeSourceResponse, error)
// Find the best (highest) available version of the requested package.
// This must be run after the chroot is set up (for chroot package lookup) or
// after the sysroot is created (for build target package lookup).
@@ -1480,6 +1635,15 @@
return out, nil
}
+func (c *packageServiceClient) NeedsChromeSource(ctx context.Context, in *NeedsChromeSourceRequest, opts ...grpc.CallOption) (*NeedsChromeSourceResponse, error) {
+ out := new(NeedsChromeSourceResponse)
+ err := c.cc.Invoke(ctx, "/chromite.api.PackageService/NeedsChromeSource", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *packageServiceClient) GetBestVisible(ctx context.Context, in *GetBestVisibleRequest, opts ...grpc.CallOption) (*GetBestVisibleResponse, error) {
out := new(GetBestVisibleResponse)
err := c.cc.Invoke(ctx, "/chromite.api.PackageService/GetBestVisible", in, out, opts...)
@@ -1556,6 +1720,9 @@
type PackageServiceServer interface {
// Check if the build target has chrome in its depgraph.
BuildsChrome(context.Context, *BuildsChromeRequest) (*BuildsChromeResponse, error)
+ // Check whether the Chrome source tree is needed. Does not compile nor
+ // install any packages.
+ NeedsChromeSource(context.Context, *NeedsChromeSourceRequest) (*NeedsChromeSourceResponse, error)
// Find the best (highest) available version of the requested package.
// This must be run after the chroot is set up (for chroot package lookup) or
// after the sysroot is created (for build target package lookup).
@@ -1596,6 +1763,9 @@
func (*UnimplementedPackageServiceServer) BuildsChrome(ctx context.Context, req *BuildsChromeRequest) (*BuildsChromeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BuildsChrome not implemented")
}
+func (*UnimplementedPackageServiceServer) NeedsChromeSource(ctx context.Context, req *NeedsChromeSourceRequest) (*NeedsChromeSourceResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method NeedsChromeSource not implemented")
+}
func (*UnimplementedPackageServiceServer) GetBestVisible(ctx context.Context, req *GetBestVisibleRequest) (*GetBestVisibleResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBestVisible not implemented")
}
@@ -1643,6 +1813,24 @@
return interceptor(ctx, in, info, handler)
}
+func _PackageService_NeedsChromeSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(NeedsChromeSourceRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(PackageServiceServer).NeedsChromeSource(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/chromite.api.PackageService/NeedsChromeSource",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(PackageServiceServer).NeedsChromeSource(ctx, req.(*NeedsChromeSourceRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _PackageService_GetBestVisible_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetBestVisibleRequest)
if err := dec(in); err != nil {
@@ -1796,6 +1984,10 @@
Handler: _PackageService_BuildsChrome_Handler,
},
{
+ MethodName: "NeedsChromeSource",
+ Handler: _PackageService_NeedsChromeSource_Handler,
+ },
+ {
MethodName: "GetBestVisible",
Handler: _PackageService_GetBestVisible_Handler,
},
diff --git a/src/chromite/api/packages.proto b/src/chromite/api/packages.proto
index 85971b0..048e321 100644
--- a/src/chromite/api/packages.proto
+++ b/src/chromite/api/packages.proto
@@ -5,6 +5,7 @@
import "chromite/api/binhost.proto";
import "chromite/api/build_api.proto";
+import "chromite/api/sysroot.proto";
import "chromiumos/common.proto";
@@ -161,6 +162,32 @@
bool has_prebuilt = 1;
}
+message NeedsChromeSourceRequest {
+ // The request that will be passed to InstallPackages.
+ InstallPackagesRequest install_request = 1;
+}
+
+message NeedsChromeSourceResponse {
+ // Whethere Chrome source is needed.
+ bool needs_chrome_source = 1;
+ enum Reason {
+ UNSPECIFIED = 0;
+ // There is no Chrome prebuilt available.
+ NO_PREBUILT = 1;
+ // The builder is compiling from source.
+ COMPILE_SOURCE = 2;
+ // There is a local uprev of Chrome.
+ LOCAL_UPREV = 3;
+ // A follower package lacks prebuilts.
+ FOLLOWER_LACKS_PREBUILT = 4;
+ };
+ // Reasons for needing Chrome source.
+ repeated Reason reasons = 2;
+
+ // Packages causing the need for source.
+ repeated chromiumos.PackageInfo packages = 3;
+}
+
// The generic version of HasChromePrebuilt.
message HasPrebuiltRequest {
// The chroot where the operations will be executed.
@@ -259,6 +286,11 @@
// Check if the build target has chrome in its depgraph.
rpc BuildsChrome(BuildsChromeRequest) returns (BuildsChromeResponse);
+ // Check whether the Chrome source tree is needed. Does not compile nor
+ // install any packages.
+ rpc NeedsChromeSource(NeedsChromeSourceRequest)
+ returns (NeedsChromeSourceResponse);
+
// Find the best (highest) available version of the requested package.
// This must be run after the chroot is set up (for chroot package lookup) or
// after the sysroot is created (for build target package lookup).