-
Notifications
You must be signed in to change notification settings - Fork 7
/
BUILD
37 lines (35 loc) · 902 Bytes
/
BUILD
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
load("@rules_cc//cc:defs.bzl", "cc_library")
cc_library(
name = "simplest_ot_portable",
srcs = glob(
[
"simplest_ot_portable/*.c",
],
exclude = [
"simplest_ot_portable/*_test.c",
"simplest_ot_portable/cpucycles.c",
],
),
hdrs = glob(
["simplest_ot_portable/*.h"],
exclude = [
"simplest_ot_portable/cpucycles.h",
],
),
linkstatic = True,
visibility = ["//visibility:public"],
)
cc_library(
name = "simplest_ot_x86_asm",
srcs = glob(
[
"simplest_ot_x86_asm/*.c",
"simplest_ot_x86_asm/*.S",
],
exclude = ["simplest_ot_x86_asm/*_test.c"],
),
hdrs = glob(["simplest_ot_x86_asm/*.h"]),
linkstatic = True,
textual_hdrs = glob(["simplest_ot_x86_asm/*.data"]),
visibility = ["//visibility:public"],
)