Skip to content

Commit 55fc131

Browse files
committed
Get rid of java_auto macros
1 parent e75a3fc commit 55fc131

3 files changed

Lines changed: 13 additions & 46 deletions

File tree

arrayfire/BUILD

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("//bazel:java.bzl", "java_library_auto", "java_test_auto")
2-
31
package(default_visibility = ["//visibility:public"])
42

53
genrule(
@@ -33,13 +31,22 @@ java_import(
3331
],
3432
)
3533

36-
java_library_auto(
37-
recursive = True,
34+
java_library(
35+
name = "arrayfire",
36+
srcs = glob(
37+
["**/*.java"],
38+
exclude = ["**/*Test.java"],
39+
),
3840
deps = [
3941
":capi",
4042
],
4143
)
4244

43-
java_test_auto(
44-
recursive = True,
45+
java_test(
46+
name = "ArrayFireTest",
47+
srcs = ["ArrayFireTest.java"],
48+
test_class = "arrayfire.ArrayFireTest",
49+
deps = [
50+
":arrayfire",
51+
],
4552
)

bazel/BUILD

Whitespace-only changes.

bazel/java.bzl

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)