Skip to content

Commit da5331b

Browse files
committed
Migrate noblur library complication to Bazel
This adds a new target //cpp/linux-specific:noblur64 which automatically compiles a shared library using Bazel. This target replaces old //cpp:noblur64. Unfortunately setting up 32-bit toolchain for Bazel is not trivial, so this commit doesn't implement target that replaces //cpp:noblur. However, it should be safe given these libraries are already kept prebuilt in cpp/prebuilt/ and haven't been updated for 4 years.
1 parent d9f2a0a commit da5331b

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

cpp/build.desc

-10
This file was deleted.

cpp/linux-specific/BUILD.bazel

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cc_binary(
2+
name = "noblur64",
3+
srcs = glob([
4+
"*.c",
5+
"*.h",
6+
]),
7+
copts = [
8+
"-Wall",
9+
"-shared",
10+
"-fPIC",
11+
"-Os",
12+
"-fshort-wchar",
13+
"-m64",
14+
],
15+
linkshared = True,
16+
)

0 commit comments

Comments
 (0)