-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
32 lines (28 loc) · 858 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# WSO-Vasker: Golang C++ AST Parser Tools
# Copyright (c) 2021 Warriorstar Orion <orion@snowfrost.garden>
# SPDX-License-Identifier: MIT
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
package(default_visibility = ["//visibility:public"])
proto_library(
name = "cc_grammar_proto",
srcs = ["cc_grammar.proto"],
)
go_proto_library(
name = "cc_grammar_go_proto",
importpath = "snowfrost.garden/vasker/cc_grammar",
protos = [":cc_grammar_proto"],
)
go_library(
name = "vasker",
srcs = [
"declarations.go",
"expressions.go",
],
importpath = "snowfrost.garden/vasker",
deps = [
":cc_grammar_go_proto",
"@com_github_golang_protobuf//proto:go_default_library",
],
)