forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
56 lines (50 loc) · 1.47 KB
/
BUILD.bazel
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
# Copyright 2021 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//build_tools/bazel:build_defs.oss.bzl", "iree_runtime_cc_library")
package(
default_visibility = ["//visibility:public"],
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
#===------------------------------------------------------------------------===#
# Public API
#===------------------------------------------------------------------------===#
iree_runtime_cc_library(
name = "runtime",
hdrs = [
"api.h",
],
deps = [
":impl",
"//runtime/src/iree/base",
],
)
#===------------------------------------------------------------------------===#
# Implementation
#===------------------------------------------------------------------------===#
iree_runtime_cc_library(
name = "impl",
srcs = [
"call.c",
"instance.c",
"session.c",
],
hdrs = [
"call.h",
"instance.h",
"session.h",
],
deps = [
"//runtime/src/iree/base",
"//runtime/src/iree/base/internal",
"//runtime/src/iree/base/internal:file_io",
"//runtime/src/iree/hal",
"//runtime/src/iree/hal/drivers",
"//runtime/src/iree/modules/hal",
"//runtime/src/iree/vm",
"//runtime/src/iree/vm/bytecode:module",
],
)