| # Copyright 2022 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//common-mk/proto_library.gni") |
| |
| # This group is only used for go tast tests. |
| group("all") { |
| deps = [ ":libsecagentd-goprotos" ] |
| } |
| |
| proto_library("security_xdr_events_proto") { |
| proto_in_dir = "//secagentd/proto" |
| proto_out_dir = "include/secagentd/proto" |
| standalone = true |
| sources = [ "security_xdr_events.proto" ] |
| } |
| |
| goproto_library("libsecagentd-goprotos") { |
| proto_in_dir = "//secagentd/proto" |
| proto_out_dir = "go/src/" |
| import_mapping = [ "security_xdr_events.proto=go.chromium.org/chromiumos/xdr/secagentd" ] |
| sources = [ "security_xdr_events.proto" ] |
| } |