Asylo SDK dependencies

The file bazel/asylo_deps.bzl defines the Bazel repository rules needed to declare a dependency on different aspects of the Asylo SDK. You may include its macros (e.g., asylo_deps) with the following line in your WORKSPACE file:

load("@com_google_asylo//asylo/bazel:asylo_deps.bzl", "asylo_deps")

asylo_deps

The rule used to depend on Asylo's critical dependencies.

Argument Type Description
installation_path string

[optional] The absolute path to the installed Asylo toolchain for building enclave targets. The default value for this path comes either from the user installation path in $HOME/.asylo/default_toolchain_location, /usr/local/share/asylo/default_toolchain_location, or the default path /opt/asylo/toolchains/default (see the installation script for details asylo/distrib/toolchain/install-toolchain).

asylo_testonly_deps

The rule used to depend on Asylo's testing-only dependencies.

asylo_go_deps

The rule used to depend on Asylo's Go dependencies.

asylo_backend_deps

The rule used to depend on Asylo's tools for defining a backend.