aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/native
diff options
context:
space:
mode:
authorGravatar Xin Gao <xingao@google.com>2017-06-21 17:13:23 +0200
committerGravatar Philipp Wollermann <philwo@google.com>2017-06-22 11:55:28 +0200
commit33d05f6b551cf2fdb257cb536a5e864d095144a1 (patch)
tree166729a7b64ef00b44004d4dd2cd7e462e47648b /src/main/native
parent524b90d9e5acc4fa568f215c9415eaa902e979f8 (diff)
Make source code of singlejar and ijar available from @bazel_tools. ,
Please refer to patch set 9 and its CI run for usage and test results. In practice, users should create their own java_toolchain rule in their project's BUILD file, and set the two attributes like above instead of modifying //tools/jdk/BUILD. Change-Id: Ic880f243086b00a58d453a8139ba4c957fe54bc7 PiperOrigin-RevId: 159694649
Diffstat (limited to 'src/main/native')
-rw-r--r--src/main/native/BUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/native/BUILD b/src/main/native/BUILD
index 653b595ad2..3799a109cf 100644
--- a/src/main/native/BUILD
+++ b/src/main/native/BUILD
@@ -108,3 +108,12 @@ filegroup(
srcs = glob(["**"]),
visibility = ["//src:__pkg__"],
)
+
+# TODO(laszlocsomor): move the common parts needed both by the Windows JNI lib
+# and the Bazel client into a separate library, and only copy those to the
+# embedded tools folder.
+filegroup(
+ name = "embedded_tools",
+ srcs = glob(["*.cc"]) + glob(["*.h"]) + ["BUILD"],
+ visibility = ["//visibility:public"],
+)