From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.5 Received: by atuin.qyliss.net (Postfix, from userid 496) id 48E6A41339; Sun, 27 Jun 2021 16:51:01 +0000 (UTC) Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 0943F41391; Sun, 27 Jun 2021 16:50:53 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 9116C4138A; Sun, 27 Jun 2021 16:50:50 +0000 (UTC) Received: from wforward3-smtp.messagingengine.com (wforward3-smtp.messagingengine.com [64.147.123.22]) by atuin.qyliss.net (Postfix) with ESMTPS id F0B9C41389 for ; Sun, 27 Jun 2021 16:50:45 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.west.internal (Postfix) with ESMTP id 896111AC0851; Sun, 27 Jun 2021 12:50:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 27 Jun 2021 12:50:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Y+9nUHMIetYbynOn5 PzjxYe6gIq6N0WZsgQrIof0Cxk=; b=j2fZLa+3MzS4qhD+HloKhyKaPo7zUDMF+ kdfvg1iC3kPkzbWthZImdfX2vhjZdhaUx5lpvZyi+bz5eDlbwmSVlcKD8uNUOeRA uM6F7diVN/snEE/l7/yzBqldKpnJ4cPYSawU+dK2MYnj25KLd76DZ2ioi1tOAdb6 SehhDE+noEsF7aci1wkZ4AfyJgWbaNVAT1X5a54MwrMwZ0hsBRasdf/5HCvSi1ka AJsnjMtTnvVhUP4kxNM4iAyKgmOiwmlQ5yJwddyVdKBkl5gtl5LvXUg/gDjHR3SP 9Cjhi9p8c+Ju8zTuU6gn6ym2QyFyERdf/xim+NYGWR2oYcsU5aSAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehvddguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomheptehlhihsshgr ucftohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhephedvff fghfetieejgfetfedtgffhvdehueehvdejudfggefgleejgfelfeevgfefnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepqhihlhhishhssegvvh gvrdhqhihlihhsshdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Jun 2021 12:50:41 -0400 (EDT) Received: by eve.qyliss.net (Postfix, from userid 1000) id B1C231395; Sun, 27 Jun 2021 16:50:38 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH platform2] vm_tools: proto: fix go_package import path Date: Sun, 27 Jun 2021 16:50:35 +0000 Message-Id: <20210627165035.899276-1-hi@alyssa.is> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: HXK5LJMA6XJQOPQR7QORIOADBTXPB6WM X-Message-ID-Hash: HXK5LJMA6XJQOPQR7QORIOADBTXPB6WM X-MailFrom: qyliss@eve.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Puck Meerburg X-Mailman-Version: 3.3.4 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is required by protoc-gen-go >= 1.4.0. --- I don't really have any idea what I'm doing here -- this is my best guess. If somebody could tell me if it looks sensible I'd be much obliged. vm_tools/proto/common.proto | 1 + vm_tools/proto/tremplin.proto | 2 +- vm_tools/proto/vm_crash.proto | 2 +- vm_tools/proto/vm_guest.proto | 1 + vm_tools/proto/vm_host.proto | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vm_tools/proto/common.proto b/vm_tools/proto/common.proto index 39a3e39528..f11d128ef1 100644 --- a/vm_tools/proto/common.proto +++ b/vm_tools/proto/common.proto @@ -8,6 +8,7 @@ option cc_enable_arenas = true; // Common definitions used by both host and guest messages. package vm_tools; +option go_package = "chromiumos/vm_tools"; // gRPC requires that every RPC has an argument and a return value. This empty // message is used when an argument or return value is not required. diff --git a/vm_tools/proto/tremplin.proto b/vm_tools/proto/tremplin.proto index aac76f7a9e..0a8968fe8d 100644 --- a/vm_tools/proto/tremplin.proto +++ b/vm_tools/proto/tremplin.proto @@ -8,7 +8,7 @@ option cc_enable_arenas = true; // This file defines services for tremplin, the container springboard service. package vm_tools.tremplin; -option go_package = "tremplin_proto"; +option go_package = "chromiumos/vm_tools/tremplin/tremplin_proto"; // This needs to be duplicated because the gyp rule for building // go code makes it difficult to have imports. diff --git a/vm_tools/proto/vm_crash.proto b/vm_tools/proto/vm_crash.proto index 6e4f62fe13..70d620fde8 100644 --- a/vm_tools/proto/vm_crash.proto +++ b/vm_tools/proto/vm_crash.proto @@ -7,7 +7,7 @@ syntax = "proto3"; option cc_enable_arenas = true; package vm_tools.cicerone; -option go_package = "vm_crash"; +option go_package = "chromiumos/vm_tools/cicerone/vm_crash"; import "common.proto"; diff --git a/vm_tools/proto/vm_guest.proto b/vm_tools/proto/vm_guest.proto index 34d2fd3d60..b3a742ec07 100644 --- a/vm_tools/proto/vm_guest.proto +++ b/vm_tools/proto/vm_guest.proto @@ -8,6 +8,7 @@ option cc_enable_arenas = true; // This file defines services that will be running in the guest VM. package vm_tools; +option go_package = "chromiumos/vm_tools"; import "common.proto"; import "google/protobuf/timestamp.proto"; diff --git a/vm_tools/proto/vm_host.proto b/vm_tools/proto/vm_host.proto index a8bd066f61..de31fa747f 100644 --- a/vm_tools/proto/vm_host.proto +++ b/vm_tools/proto/vm_host.proto @@ -8,6 +8,7 @@ option cc_enable_arenas = true; // This file defines services that will be running on the host for the VM. package vm_tools; +option go_package = "chromiumos/vm_tools/vm_host"; import "common.proto"; -- 2.31.1