blob: dacd4a469dc1ad1d26057d4b36897f83f6d47ead [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
filegroup(
name = "hello_world_files",
srcs = [
"aes128_gcm_test_keyset_json.txt",
"hello_world.cc",
"CMakeLists_for_CMakeBuildTest.txt",
],
)
cc_binary(
name = "hello_world",
srcs = ["hello_world.cc"],
deps = [
"//cc",
"//cc:cleartext_keyset_handle",
"//cc/config:tink_config",
"//cc/util:status",
],
)
sh_test(
name = "hello_world_test",
size = "small",
srcs = [
"hello_world_test.sh",
],
data = [
":hello_world",
":hello_world_files",
],
)
sh_test(
name = "non_bazel_build_test",
size = "small",
srcs = [
"non_bazel_build_test.sh",
],
data = [
":hello_world_files",
"//cc:libtink.so",
"//cc:tink_deps_headers",
"//cc:tink_headers",
],
tags = [
"local", # This tests needs g++.
"no_rbe",
],
)