Commit 254e907
authored
java_toolchain: expose JNI headers to C/C++ targets (#17)
* java_toolchain: expose JNI headers to C/C++ targets
If the toolchain is a JDK, this allows the `c_shared_object` and
`cc_shared_object` rules to find the necessary JDK headers when
compiling JNI sources simply by adding the toolchain target to `hdrs`.
* Address comments1 parent 5fb54f6 commit 254e907
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
542 | 552 | | |
543 | 553 | | |
544 | 554 | | |
| |||
555 | 565 | | |
556 | 566 | | |
557 | 567 | | |
| 568 | + | |
558 | 569 | | |
559 | 570 | | |
560 | 571 | | |
| |||
0 commit comments