Skip to content

Commit

Permalink
Get rid of java_auto macros
Browse files Browse the repository at this point in the history
  • Loading branch information
lewish committed Feb 5, 2024
1 parent e75a3fc commit 55fc131
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 46 deletions.
19 changes: 13 additions & 6 deletions arrayfire/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
load("//bazel:java.bzl", "java_library_auto", "java_test_auto")

package(default_visibility = ["//visibility:public"])

genrule(
Expand Down Expand Up @@ -33,13 +31,22 @@ java_import(
],
)

java_library_auto(
recursive = True,
java_library(
name = "arrayfire",
srcs = glob(
["**/*.java"],
exclude = ["**/*Test.java"],
),
deps = [
":capi",
],
)

java_test_auto(
recursive = True,
java_test(
name = "ArrayFireTest",
srcs = ["ArrayFireTest.java"],
test_class = "arrayfire.ArrayFireTest",
deps = [
":arrayfire",
],
)
Empty file removed bazel/BUILD
Empty file.
40 changes: 0 additions & 40 deletions bazel/java.bzl

This file was deleted.

0 comments on commit 55fc131

Please sign in to comment.