|
|
|
@ -8,8 +8,8 @@ load("//build_defs:cpp_opts.bzl", "COPTS") |
|
|
|
|
|
|
|
|
|
cc_library( |
|
|
|
|
name = "names", |
|
|
|
|
hdrs = ["names.h"], |
|
|
|
|
srcs = ["names.cc"], |
|
|
|
|
hdrs = ["names.h"], |
|
|
|
|
copts = COPTS, |
|
|
|
|
include_prefix = "google/protobuf/compiler/csharp", |
|
|
|
|
visibility = ["//visibility:public"], |
|
|
|
@ -71,6 +71,7 @@ cc_library( |
|
|
|
|
":names", |
|
|
|
|
"//src/google/protobuf:protobuf_nowkt", |
|
|
|
|
"//src/google/protobuf/compiler:code_generator", |
|
|
|
|
"//src/google/protobuf/compiler:retention", |
|
|
|
|
"@com_google_absl//absl/container:flat_hash_set", |
|
|
|
|
"@com_google_absl//absl/strings", |
|
|
|
|
], |
|
|
|
@ -125,9 +126,12 @@ pkg_files( |
|
|
|
|
|
|
|
|
|
filegroup( |
|
|
|
|
name = "test_srcs", |
|
|
|
|
srcs = glob([ |
|
|
|
|
srcs = glob( |
|
|
|
|
[ |
|
|
|
|
"*_test.cc", |
|
|
|
|
"*unittest.cc", |
|
|
|
|
], allow_empty = True), |
|
|
|
|
], |
|
|
|
|
allow_empty = True, |
|
|
|
|
), |
|
|
|
|
visibility = ["//src/google/protobuf/compiler:__pkg__"], |
|
|
|
|
) |
|
|
|
|