blob: 732559f641a98523cb7e85838c1e3ebd79e359ed [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/go/go_library.gni")
import("//third_party/protobuf/proto_library.gni")
proto_library("proto_lib") {
sources = [ "virtual_device.proto" ]
generate_cc = false
generate_go = true
generate_python = false
}
go_library("proto") {
name = "go.fuchsia.dev/fuchsia/tools/virtual_device/proto"
source_dir = "$root_gen_dir/go-proto-gen/src/tools/virtual_device/proto"
sources = [ "virtual_device.pb.go" ]
deps = [ "//third_party/golibs:github.com/golang/protobuf" ]
non_go_deps = [ ":proto_lib" ]
}