upb: add :test_srcs targets for cmake on GH

PiperOrigin-RevId: 593854176
pull/15186/head
Eric Salo 1 year ago committed by Copybara-Service
parent f50ea84d19
commit 3c3d77158f
  1. 12
      upb/hash/BUILD
  2. 21
      upb/json/BUILD
  3. 12
      upb/lex/BUILD
  4. 12
      upb/mem/BUILD
  5. 21
      upb/message/BUILD
  6. 12
      upb/mini_descriptor/BUILD
  7. 12
      upb/mini_table/BUILD
  8. 22
      upb/test/BUILD
  9. 21
      upb/util/BUILD
  10. 12
      upb/wire/BUILD

@ -54,3 +54,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -107,3 +107,24 @@ upb_c_proto_library(
# ],
# )
# end:google_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
filegroup(
name = "test_utils",
srcs = glob(
[
"**/*test.proto",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -51,3 +51,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -68,3 +68,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -423,3 +423,24 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
filegroup(
name = "test_utils",
srcs = glob(
[
"**/*test.proto",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -85,3 +85,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -90,3 +90,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -299,3 +299,25 @@ cc_test(
"@com_google_googletest//:gtest_main",
],
)
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*.cc",
"**/*.h",
],
),
visibility = ["//pkg:__pkg__"],
)
filegroup(
name = "test_utils",
srcs = glob(
[
"**/*.proto",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -182,3 +182,24 @@ filegroup(
visibility = ["//python/dist:__pkg__"],
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
filegroup(
name = "test_utils",
srcs = glob(
[
"**/*test.proto",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

@ -96,3 +96,15 @@ filegroup(
]
)
# end:github_only
# begin:github_only
filegroup(
name = "test_srcs",
srcs = glob(
[
"**/*test.cc",
],
),
visibility = ["//pkg:__pkg__"],
)
# end:github_only

Loading…
Cancel
Save