aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Rename proto_java_library to java_proto_library.Gravatar Julio Merino2016-02-19
| | | | | | | | RELNOTES[INC]: Renamed proto_java_library to java_proto_library. The former is now deprecated and will print out a warning when used. -- MOS_MIGRATED_REVID=115012027
* Use ctx.executable to get references to the binaries.Gravatar Julio Merino2016-02-19
| | | | | | | | | | This fixes the build of Bazel with itself. Using ctx.file instead of executable may yield a reference of the form external/blahblah/ which does not exist in the file system. Using ctx.executable does point to the right binary. -- MOS_MIGRATED_REVID=114990955
* Fix issues with commit 650533fffccb97910338f335939de76922c9f679Gravatar Michael Zhou2016-02-19
| | | | | | | | | | Change --closure_entry_point to the new --entry_point that is required to be used with --dependency_mode. Remove the default --language_in=ECMASCRIPT5_STRICT. Closure Compiler now defaults to ECMASCRIPT6. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/926 MOS_MIGRATED_REVID=114980140
* Split out Java proto compilation logic to a helper script.Gravatar Julio Merino2016-02-19
| | | | | | | | This is just for clarity and should be a no-op. Maintaining long shell command lines embedded in genrules is not pretty. -- MOS_MIGRATED_REVID=114967410
* Adds export and runtime_deps support to scala ruleGravatar Oscar Boykin2016-02-18
| | | | | | | | | This brings the scala rules a step closer to feature parity with java. -- Change-Id: I21e6929a36f5084a29b230f1b91307dd5b012d4c Reviewed-on: https://github.com/bazelbuild/bazel/pull/916 MOS_MIGRATED_REVID=114947019
* Use a specific release of the Closure Compiler instead of referencing -latestGravatar Kamil Jiwa2016-02-18
| | | | | -- MOS_MIGRATED_REVID=114906474
* Update Closure Tools dependencies and add arguments to closure_js_binary()Gravatar Michael Zhou2016-02-17
| | | | | | | | | | | | | | | | | Update Closure Compiler to v20160208 Update Closure Library to v20160208 Update Closure Stylesheets to 1.1.0 Add "--language_in" and "--language_out" to closure_js_binary.bzl With these flags users can transpile their closure_js_binary() from ES6 to ES3. Change "--manage_closure_dependencies" to "--dependency_mode=LOOSE" because the former has been deprecated in Closure Compiler v20160208. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/910 MOS_MIGRATED_REVID=114898222
* Turn //tools/build_rules into a package.Gravatar Julio Merino2016-02-17
| | | | | | | | | This is in preparation for another change that will add a new helper script to the tools/build_rules directory, and such script requires a BUILD rule of its own. -- MOS_MIGRATED_REVID=114898083
* Don't import API functions you don't useGravatar Francois-Rene Rideau2016-02-17
| | | | | | | This prevents a refactoring in said API -- MOS_MIGRATED_REVID=114889925
* Revert "Merge pull request #910 from Dominator008/closure"Gravatar Damien Martin-Guillerez2016-02-17
| | | | | | | This reverts commit 3f7057789df337db4da3006b14e14c9c245c3a00, reversing changes made to cbbbf2e461396d3817a00c4bd4d26b9b43b68ce3. Accidental merge, merged pull request have to go through googlesource first
* Merge pull request #910 from Dominator008/closureGravatar Kamil Jiwa2016-02-17
|\ | | | | Update Closure Tools dependencies and add language arguments to closure_js_binary()
| * Add "--language_in" and "--language_out" to closure_js_binary.bzlGravatar Michael Zhou2016-02-17
| | | | | | | | | | | | | | | | With these flags users can transpile their closure_js_binary() from ES6 to ES3. Change "--manage_closure_dependencies" to "--dependency_mode=LOOSE" because the former has been deprecated in Closure Compiler v20160208.
* | Reformat genproto.bzl to comply with the style guide.Gravatar Julio Merino2016-02-17
| | | | | | | | | | | | | | | | This is a preparatory change for a follow-up commit so that the diff of that commit is easy to review. -- MOS_MIGRATED_REVID=114857369
* | Stop bundling ijar's sources in bazel_toolsGravatar Damien Martin-Guillerez2016-02-17
| | | | | | | | | | | | | | | | | | | | Instead bundle ijar's zipper binary so the skylark rules that depends on it can use it from @bazel_tools. A commit introducing windows config settings broke our appengine tutorial. -- MOS_MIGRATED_REVID=114857080
* | Replace dummy.c with dummy.m to allow preprocessing of objc source code to ↵Gravatar Cal Peyser2016-02-17
| | | | | | | | | | | | | | import objc frameworks. -- MOS_MIGRATED_REVID=114761121
| * Update dependencies in closure_repositories.bzlGravatar Michael Zhou2016-02-16
|/ | | | | | Update Closure Compiler to v20160208 Update Closure Library to v20160208 Update Closure Stylesheets to 1.1.0
* Delete unused bazel.rc file.Gravatar Lukacs Berki2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114681356
* Fix default XML file generated by testsGravatar Damien Martin-Guillerez2016-02-15
| | | | | | | Fixes #888. -- MOS_MIGRATED_REVID=114671702
* Updates the appengine_war() rule to include the transitive dependencies of ↵Gravatar Alex Humesky2016-02-15
| | | | | | | | | the input rules in the output war. Fixes #895 -- MOS_MIGRATED_REVID=114615465
* Add scala tests to CIGravatar Oscar Boykin2016-02-15
| | | | | | | -- Change-Id: If286a9718e036d2bd555baf78600e9208ba5a990 Reviewed-on: https://github.com/bazelbuild/bazel/pull/872 MOS_MIGRATED_REVID=114563576
* Use build_file_content attribute of new_* repositories instead of build_file ↵Gravatar Damien Martin-Guillerez2016-02-12
| | | | | | | | | | | | in Skylark rules Loading those skylark rules where failing now they are in a remote repository because the build file could not be found. Fixes #883. -- MOS_MIGRATED_REVID=114528630
* Make Bazel be able to reach ijar on Windows where it's called "ijar.exe" .Gravatar Lukacs Berki2016-02-11
| | | | | | | A small step towards the resolution of #276. -- MOS_MIGRATED_REVID=114330517
* docker: Exclude .changes files when collecting debsGravatar Benjamin Staffin2016-02-11
| | | | | | | -- Change-Id: I7badee212bd05178a30a6ff4c73c8d62258d2c1d Reviewed-on: https://bazel-review.googlesource.com/#/c/2841 MOS_MIGRATED_REVID=114330213
* Add scala_test to loadGravatar Oscar Boykin2016-02-10
| | | | | | | -- Change-Id: Ifbbda9bb01cd2d7350521183b7754c5004b2ab3d Reviewed-on: https://github.com/bazelbuild/bazel/pull/862 MOS_MIGRATED_REVID=114213645
* Update documentation of skylark rules: correct load statementsGravatar Damien Martin-Guillerez2016-02-10
| | | | | | | Fixes #864. -- MOS_MIGRATED_REVID=114208872
* Add supportsDynamicLinker to CppConfigurationGravatar Googler2016-02-09
| | | | | | | | | Rather than a new protobuf field, this enabling flag is presence of a section with DYNAMIC linking mode in the CROSSTOOL file, whether or not it needs to specify any linker flags. RELNOTES[NEW]: Better support for toolchains that don't have a dynamic linker. -- MOS_MIGRATED_REVID=114110200
* When building Groovy jars, read the list of classes from a file instead of ↵Gravatar Erik Kuefler2016-02-07
| | | | | | | | | | | | passing them on the command line. This helps avoid problems when the OS rejects the command line for getting too long, which is particularly likely on OS X. -- Change-Id: I84c7102f15b0162291664df4869f92232d010c8d Reviewed-on: https://bazel-review.googlesource.com/2820 MOS_MIGRATED_REVID=113982499
* Move ObjC compilation actions for J2ObjC-translated code from binary level ↵Gravatar Rumou Duan2016-02-05
| | | | | | | | | | | | to the edges (J2ObjcAspect and J2ObjcProtoAspect). RELNOTES[INC]: ObjC compile actions for J2ObjC-translated code now only has access to headers from the java deps of the associated original java rule. These compile actions no longer takes the compiler options specified in "copts" attribute on objc_binary/ios_test rules. J2ObjC dead code removal (enabled through flag "--j2objc_dead_code_removal") now happens *after* ObjC compilation. -- MOS_MIGRATED_REVID=113910545
* [d] Update D rules to DMD 2.070.0.Gravatar David Chen2016-02-04
| | | | | | | | | Fixes #830 RELNOTES: [d] Update to DMD 2.070.0 -- MOS_MIGRATED_REVID=113830766
* [rust] Update Rust rules to Rust 1.6Gravatar David Chen2016-02-04
| | | | | | | RELNOTES: [rust] Update to Rust 1.6 -- MOS_MIGRATED_REVID=113822518
* Now that rules find their tools via runfiles, remove unneeded dependencies ↵Gravatar Dave MacLachlan2016-02-04
| | | | | | | | | in rules/tests and move them into the build files. Fix up environment_plist so it works like the other scripts. -- MOS_MIGRATED_REVID=113799298
* Make xctest extension for test bundles that have xctest=true defined. (It ↵Gravatar Dave MacLachlan2016-02-03
| | | | | | | used to be .app) -- MOS_MIGRATED_REVID=113775781
* Introduce a special CPU for Windows and add msys compiler toolchain.Gravatar Dmitry Lomov2016-02-03
| | | | | | | | We might revisit what the default toolchain for Windows should be, but this CL uses msys to simplify bootstrapping. -- MOS_MIGRATED_REVID=113665255
* Fix a reference to a local-jdk target.Gravatar Erik Kuefler2016-02-02
| | | | | | | | | Looks like this was missed in 88821141d6812bbde64f0d49087533f87ca6f331 -- Change-Id: Ib7709722ae3b07ef7e24bcbbab642204134fa062 Reviewed-on: https://bazel-review.googlesource.com/#/c/2810/ MOS_MIGRATED_REVID=113611789
* Fix build on FreeBSD (again).Gravatar Piotr Sikora2016-02-02
| | | | | | | | Broken by commit 763f1397, which added -fno-canonical-system-headers flag to clang (used on FreeBSD), which doesn't support it. -- MOS_MIGRATED_REVID=113535032
* Change j2objc_wrapper.py to also write out a mapping file between generated ↵Gravatar Rumou Duan2016-02-02
| | | | | | | | | | | | | static library to associated original objc source files. Change j2objc_dead_code_pruner.py to support pruning static library. The purpose of this changelist is to support moving ObjC compilation actions of J2ObjC-translated code to the edges (J2ObjC java and proto aspects). RELNOTES:None. -- MOS_MIGRATED_REVID=113529738
* Add a scala_test rule to BazelGravatar Dino Wernli2016-02-02
| | | | | | | | | | | | This implements a scala_test rule analogous to the java_test rule. It uses the standard scalatest library, and adds the corresponding jar(s) to the WORKSPACE file. The rule is tested by adding a proof-of-concept test target to the scala examples. Link to discussion thread: https://groups.google.com/d/msg/bazel-dev/5Kbbwr11XOA/znTY-H1DBgAJ Fixes #503. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/657 MOS_MIGRATED_REVID=113526680
* Use labels in load statementsGravatar Damien Martin-Guillerez2016-02-02
| | | | | | | | | | | | This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
* Update appengine repository rule namesGravatar Kristina Chodorow2016-01-29
| | | | | | | Use _ instead of -. -- MOS_MIGRATED_REVID=113307540
* Always declare dependency on xcode gcov.Gravatar Peter Schmitt2016-01-28
| | | | | | | RELNOTES[INC]: Removes --objc_gcov_binary flag. -- MOS_MIGRATED_REVID=113190035
* Don't load dumpsyms in configurations.Gravatar Peter Schmitt2016-01-28
| | | | | | | RELNOTES[INC]: Removed --objc_dump_syms_binary. -- MOS_MIGRATED_REVID=113186554
* Add Android targets back into embedded toolsGravatar Kristina Chodorow2016-01-28
| | | | | | | Accidentally removed in the previous change to this file. -- MOS_MIGRATED_REVID=113170839
* Add pkg and various other skylark rules to the embedded toolsGravatar Damien Martin-Guillerez2016-01-27
| | | | | | | | We should delete the package-srcs filegroup at some point and just use the same for both but we are about to remove the package-srcs so let just make this change for now. -- MOS_MIGRATED_REVID=113163035
* Support transitive deps in GroovyGravatar Erik Kuefler2016-01-27
| | | | | | | | | | This just requires passing the specified deps through to the java_import wrapping the Groovy jar -- Change-Id: Ib453d560a721fdb31217f8e604703fa6bc362328 Reviewed-on: https://bazel-review.googlesource.com/2600 MOS_MIGRATED_REVID=113149555
* Convert skylark rules and tests to use _ in repo namesGravatar Kristina Chodorow2016-01-27
| | | | | -- MOS_MIGRATED_REVID=113081497
* Convert j2objc workspace name to use _, not -Gravatar Kristina Chodorow2016-01-27
| | | | | | | | | | We're restricted repository names in preparation for improving the runfiles situation. RELNOTES: j2objc tools can now be accessed via @bazel_j2objc, not @bazel-j2objc. -- MOS_MIGRATED_REVID=113071304
* Make local-jdk conform to workspace name rulesGravatar Kristina Chodorow2016-01-27
| | | | | | | | RELNOTES: JDK-related targets are now available via @local_jdk (instead of @local-jdk). -- MOS_MIGRATED_REVID=113067049
* Add the @bazel_tools prefix to docker and pkg toolingGravatar Damien Martin-Guillerez2016-01-27
| | | | | -- MOS_MIGRATED_REVID=113052852
* Fix appengine rule to use all @bazel_tools targetsGravatar Kristina Chodorow2016-01-21
| | | | | | | | I didn't notice that I had neglected to add these lines to the changelist yesterday because there were so many style changes around them. -- MOS_MIGRATED_REVID=112701694
* Update appengine.bzl rules to use remote reposGravatar Kristina Chodorow2016-01-21
| | | | | | | Instead of depending on //tools and //third_party in the base workspace. -- MOS_MIGRATED_REVID=112599883