mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
26 lines
572 B
Python
26 lines
572 B
Python
load("//swift:rules.bzl", "swift_cc_binary")
|
|
load("//misc/bazel/cmake:cmake.bzl", "generate_cmake")
|
|
|
|
swift_cc_binary(
|
|
name = "assert-false",
|
|
srcs = ["AssertFalse.cpp"],
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//swift/logging",
|
|
],
|
|
)
|
|
|
|
py_test(
|
|
name = "test",
|
|
size = "small",
|
|
srcs = ["test.py"],
|
|
deps = ["//swift/integration-tests:integration_tests"],
|
|
data = [":assert-false", "diagnostics.expected"],
|
|
)
|
|
|
|
generate_cmake(
|
|
name = "cmake",
|
|
targets = [":assert-false"],
|
|
visibility = ["//visibility:public"],
|
|
)
|