 +        **kwargs
 +    )
 +
++    kwargs = {k: v for k, v in kwargs.items() if k in ["visibility"]}
 +    _sgx_debug_sign_enclave(
 +        name = name,
 +        unsigned = unsigned_name,
 +        config = config,
 +        testonly = testonly,
++        **kwargs
 +    )
 +
 +    return name

+)
--- /dev/null
+++ sgx_sdk.bzl
@@ -0,0 +1,249 @@
+"""Build tools for supporting Intel's SDK."""
+
+load("@com_google_asylo_backend_provider//:enclave_info.bzl", "EnclaveInfo")

+    # Create rule to build unsigned enclave.
+    native.cc_binary(
+        name = name,
+        **kwargs
+    )
+
