forked from BYVoid/OpenCC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
36 lines (32 loc) · 758 Bytes
/
Copy pathBUILD.bazel
File metadata and controls
36 lines (32 loc) · 758 Bytes
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
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_python//python:py_library.bzl", "py_library")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "opencc_lib",
hdrs = [
"//src:ConversionInspection.hpp",
"//src:Export.hpp",
"//src:ResourceProvider.hpp",
"//src:SimpleConverter.hpp",
"//src:opencc.h",
],
data = [
"//data/config",
"//data/dictionary:binary_dictionaries",
"//data/dictionary:text_dictionaries",
],
strip_include_prefix = "src",
deps = [
"//src:opencc_lib",
],
)
alias(
name = "opencc",
actual = ":opencc_lib",
)
py_library(
name = "py_opencc",
deps = [
"//python/opencc",
],
)