workspace(name = "cilium") # # We grep for the following line to generate SOURCE_VERSION file for non-git # distribution builds. This line must start with the string ENVOY_SHA followed by # an equals sign and a git SHA in double quotes. # # No other line in this file may have ENVOY_SHA followed by an equals sign! # ENVOY_SHA = "4ef8562b2194f222ce8a3d733fb04c629eaf0667" ENVOY_SHA256 = "bbb09ff2048bb2b14d8fb9ec957c6ddc7bfee147cca8d51f3d42b4e8084860bf" local_repository( name = "envoy", path = "../envoy-proxy-1.8.0+git20181105", ) # # Bazel does not do transitive dependencies, so we must basically # include all of Envoy's WORKSPACE file below, with the following # changes: # - Skip the 'workspace(name = "envoy")' line as we already defined # the workspace above. # - loads of "//..." need to be renamed as "@envoy//..." # load("@envoy//bazel:repositories.bzl", "envoy_dependencies") load("@envoy//bazel:cc_configure.bzl", "cc_configure") envoy_dependencies( path = "@envoy//ci/prebuilt", ) cc_configure() load("@envoy_api//bazel:repositories.bzl", "api_dependencies") api_dependencies() load("@io_bazel_rules_go//go:def.bzl", "go_host_sdk", "go_register_toolchains", "go_rules_dependencies") go_host_sdk(name = "go_sdk") go_rules_dependencies() go_register_toolchains() # Dependencies for Istio filters. # Cf. https://github.com/istio/proxy. local_repository( name = "istio_proxy", path = "../istio-proxy-1.1.0snapshot.2+git20181106", ) load("@istio_proxy//:repositories.bzl", "mixerapi_dependencies") mixerapi_dependencies() bind( name = "boringssl_crypto", actual = "//external:ssl", )