aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules
Commit message (Collapse)AuthorAge
* Add initial Rust rules to Bazel.Gravatar David Chen2015-06-18
| | | | | | | | | | | | | Todo: * Implement rust_bench_test for running benchmarks * Enable rust_test to depend solely on a rust_library (since many projects intermix #[test] methods in lib source). * Improve error checking and handling and prevent rust_binary from directly depending on cc_library. * Implement rust_doc for generating rustdoc. -- MOS_MIGRATED_REVID=96297772
* Use JDK's jar instead on relying on the one on the path in Java Skylark rules.Gravatar Damien Martin-Guillerez2015-06-15
| | | | | | | | | The current rule was breaking if jar was not present on the path. Fixes #245 -- MOS_MIGRATED_REVID=95991168
* Remove tools/jdk/jdk symbolic link creationGravatar Damien Martin-Guillerez2015-06-11
| | | | | | | | | | Skylark rules now depends completely on the external repository to access the JDK tooling. -- Change-Id: I48d461524d63d556bcd4af49f6ba2aecf1ed7068 Reviewed-on: https://bazel-review.googlesource.com/#/c/1500/ MOS_MIGRATED_REVID=95720688
* Bootstrapping tools using BazelGravatar Damien Martin-Guillerez2015-06-05
| | | | | | | | | | | | Added target to use java skylark rules to bootstrap JavaBuilder and SingleJar. Uses thoses target to bootstrap JavaBuilder and SingleJar and compiles all tools using Bazel. -- Change-Id: I5142917c8b31e04015fbab89382df36b4892d8c6 Reviewed-on: https://bazel-review.googlesource.com/#/c/1451/ MOS_MIGRATED_REVID=95281092
* Simplify genproto.bzl.Gravatar Han-Wen Nienhuys2015-06-02
| | | | | | | | | | | | | | | | Generate a srcjar artifact, and use native.java_library to emit the actual jar file. Post-review modifications: - Formatted genproto.bzl - Use //external:jar instead of relying on PATH - Make proto library a java_import instead of a filegroup in test setup. -- Change-Id: I005f801f09439bbca43e483ad4a47da4588fea94 Reviewed-on: https://bazel-review.googlesource.com/1362 MOS_MIGRATED_REVID=94914935
* Skylark cleanup: ctx.target(s) is deprecated, stop using itGravatar Laurent Le Brun2015-05-21
| | | | | | | ctx.attr gives the same result. -- MOS_MIGRATED_REVID=94077958
* Fix issue #82Gravatar Ethan Rublee2015-03-31
| | | | | | | | | | This is the patch which fixes the bug reported in #82 https://github.com/google/bazel/issues/82 Change-Id: Ia007b37a3c6156d4373bac24b1776e62d09daa57 -- MOS_MIGRATED_REVID=89992365
* Make Skylark genproto deterministicGravatar Damien Martin-Guillerez2015-03-31
| | | | | | | | Using JavaBuilder instead of the JDK makes generated jar files timestampless. -- MOS_MIGRATED_REVID=89950774
* Remove experimental Go support until we have a solution which fits the 'go' ↵Gravatar Han-Wen Nienhuys2015-03-25
| | | | | | | tool conventions better. -- MOS_MIGRATED_REVID=89510837
* Fixed Skylark python rule under OS XGravatar Damien Martin-Guillerez2015-03-23
| | | | | | | | find on OS X does not support not provided a path argument. Python example was failing because of it. -- MOS_MIGRATED_REVID=89287951
* Fix forgotten assignment.Gravatar Han-Wen Nienhuys2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88350250
* Productionize Bazel's skylark go rules.Gravatar Han-Wen Nienhuys2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88232883
* Add documentation for Skylark Go rules.Gravatar Han-Wen Nienhuys2015-02-23
| | | | | -- MOS_MIGRATED_REVID=86946740
* Improve Java examplesGravatar Kristina Chodorow2015-02-20
| | | | | -- MOS_MIGRATED_REVID=86787893
* Add symlinks to third_party/ and tools/ to base_workspaceGravatar Kristina Chodorow2015-02-19
While attempting to clean up the Bazel examples, I noticed that the example tests don't actually work because they expect a third_party directory. We could link third_party/ from the top-level bazel directory, but then we'd have crossing symlinks (base_workspace/tools->tools and third_party->base_workspace/third_party). Linking everything in one direction seemed like a better option, but alternative suggestions are welcome. -- MOS_MIGRATED_REVID=86703332