mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-23 22:49:43 -05:00
25 lines
686 B
Python
25 lines
686 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("//bazel/go:go_test.bzl", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "maa",
|
||
|
srcs = [
|
||
|
"maa.go",
|
||
|
"patch.go",
|
||
|
],
|
||
|
importpath = "github.com/edgelesssys/constellation/v2/internal/maa",
|
||
|
visibility = ["//:__subpackages__"],
|
||
|
deps = [
|
||
|
"@com_github_azure_azure_sdk_for_go//profiles/latest/attestation/attestation",
|
||
|
"@com_github_azure_azure_sdk_for_go_sdk_azcore//policy",
|
||
|
"@com_github_azure_azure_sdk_for_go_sdk_azidentity//:azidentity",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "maa_test",
|
||
|
srcs = ["patch_test.go"],
|
||
|
embed = [":maa"],
|
||
|
deps = ["@com_github_stretchr_testify//assert"],
|
||
|
)
|