forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWORKSPACE
More file actions
98 lines (85 loc) · 3.23 KB
/
WORKSPACE
File metadata and controls
98 lines (85 loc) · 3.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
# Copyright 2018 The Project Oak Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
workspace(name = "oak")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
http_archive(
name = "com_google_absl",
urls = [
# Head commit on 2019-05-23.
"https://github.com/abseil/abseil-cpp/archive/27c30ec671cb7b5ba84c4e79feff7fd0b0ac6338.zip"],
strip_prefix = "abseil-cpp-27c30ec671cb7b5ba84c4e79feff7fd0b0ac6338",
sha256 = "cd4dd948bfe3655269656277eb83dbeefcb1368d7c6b329e93cc8ca9a688e5e6",
)
# Asylo Framework.
http_archive(
name = "com_google_asylo",
urls = ["https://github.com/google/asylo/archive/v0.4.0.tar.gz"],
strip_prefix = "asylo-0.4.0",
sha256 = "9dd8063d1a8002f6cc729f0115e2140a2eb1b14a10c111411f6b554e14ee739c",
)
# Google Protocol Buffers.
http_archive(
name = "com_google_protobuf",
urls = [
"https://github.com/protocolbuffers/protobuf/archive/v3.7.1.tar.gz",
],
strip_prefix = "protobuf-3.7.1",
sha256 = "f1748989842b46fa208b2a6e4e2785133cfcc3e4d43c17fecb023733f0f5443f",
)
# Google APIs for Cloud Spanner protos.
# TODO: Switch from fork after https://github.com/googleapis/googleapis/pull/553 is merged.
http_archive(
name = "com_google_googleapis",
urls = [
"https://github.com/michael-kernel-sanders/googleapis/archive/66d43496b46c26915d7d37302cddbd81481302d7.zip"
],
strip_prefix = "googleapis-66d43496b46c26915d7d37302cddbd81481302d7",
sha256 = "3a426981242af9c05dbc3cdfc72f6627516232bbccaebaab1711397606184973",
)
# TODO: Create a deps function for the googleapis repo.
http_archive(
name = "io_grpc_grpc_java",
urls = [
"https://github.com/grpc/grpc-java/archive/v1.20.0.zip",
],
strip_prefix = "grpc-java-1.20.0",
sha256 = "9d23d9fec84e24bd3962f5ef9d1fd61ce939d3f649a22bcab0f19e8167fae8ef",
)
# TODO: Create a deps function for the googleapis repo.
http_archive(
name = "com_google_api_codegen",
urls = ["https://github.com/googleapis/gapic-generator/archive/8e930b79e846b9d4876462be9dc4c1dbc04e2903.zip"],
strip_prefix = "gapic-generator-8e930b79e846b9d4876462be9dc4c1dbc04e2903",
sha256 = "ba19948ebc4ea39358ba07fc0253f8927d7a2c9ba3462e8f34faad7ad5ac4142",
)
# WebAssembly Binary Toolkit (forked by tiziano88).
git_repository(
name = "wabt",
commit = "2d31cda394fc67c7969a9bd44066cb8eafa82e23",
remote = "https://github.com/tiziano88/wabt",
)
load(
"@com_google_asylo//asylo/bazel:asylo_deps.bzl",
"asylo_deps",
"asylo_go_deps",
)
asylo_deps()
asylo_go_deps()
load("@com_google_asylo//asylo/bazel:sgx_deps.bzl", "sgx_deps")
sgx_deps()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()