aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* cc_configure: fix various small errorsGravatar Damien Martin-Guillerez2016-03-04
| | | | | | | | | | | - Skylark does not allow implicit concatenation that was added by the linter - osx_cc_wrapper renaming was not applied everywhere - arm toolchain was missing in the toolchain_suite Also fix the test to use the correct cc_configure.bzl file. -- MOS_MIGRATED_REVID=116362768
* Upgrade Apache Commons Collections to v3.2.2Gravatar Googler2016-03-04
| | | | | | | | | | | | | | Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of vulnerability that exists. By merely existing on the classpath, this library causes the Java serialization parser for the entire JVM process to go from being a state machine to a turing machine. A turing machine with an exec() function! https://commons.apache.org/proper/commons-collections/security-reports.html http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/ -- MOS_MIGRATED_REVID=116309858
* Update rust rule to reference deps in @bazel_toolsGravatar Kristina Chodorow2016-03-04
| | | | | | | Fixes #1004. -- MOS_MIGRATED_REVID=116299622
* Update D and Jsonnet rules to reference @bazel_tools.Gravatar David Chen2016-03-04
| | | | | -- MOS_MIGRATED_REVID=116296119
* Fixes typos in the scala rule stubGravatar Damien Martin-Guillerez2016-03-04
| | | | | -- MOS_MIGRATED_REVID=116264418
* Fixed typo in rules for Scala URLGravatar Fedor Korotkov2016-03-04
| | | | | | | | The actual url is https://github.com/bazelbuild/rules_scala and not https://github.com/bazelbuild/scala_rules :-) -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/980 MOS_MIGRATED_REVID=116261238
* Tests for tools/cpp:cc_configure.bzlGravatar Damien Martin-Guillerez2016-03-03
| | | | | | | | | | | | | They test ./compile.sh under various configuration using Docker. Because we miss several stuff from our docker support (docker_pull and docker_test), those test are highly unhermetic. This only includes tests for a few OS. We will add tests for specific use case on-demand. -- MOS_MIGRATED_REVID=116197057
* Use @bazel_tools// to reference tools repository for Sass rules.Gravatar David Chen2016-03-03
| | | | | | | Fixes #1002 -- MOS_MIGRATED_REVID=116183718
* Change //tools/objc:j2objc_dead_code_pruner and ↵Gravatar Rumou Duan2016-03-02
| | | | | | | //tools/j2objc:j2objc_wrapper from py_library to filegroup. They contain executable python scripts, not python libraries. -- MOS_MIGRATED_REVID=116160662
* Add a cc_configure rule to auto-configure C++ crosstoolGravatar Damien Martin-Guillerez2016-03-02
| | | | | | | | | | This is the last step of http://goo.gl/fD4ZsY (issue #893). Tests are in a separate change because they requires pretty complex setup. -- MOS_MIGRATED_REVID=116141979
* Use bind to redirect C++ crosstool configurationGravatar Damien Martin-Guillerez2016-03-02
| | | | | | | | This is a temporary workaround to enable the use of a cc_configure() rules to auto-configure C++ toolchain. -- MOS_MIGRATED_REVID=116140726
* Docker: fix runfiles path when the incremental loader is called from another ↵Gravatar Damien Martin-Guillerez2016-03-01
| | | | | | | | | | Bazel binary. Also add the possibility to select the docker binary using an environment variable. -- MOS_MIGRATED_REVID=115994650
* pkg: use a flag file instead of passing the list of arguments in the command ↵Gravatar Damien Martin-Guillerez2016-03-01
| | | | | | | | | line Big pkg can run over the command line limit. -- MOS_MIGRATED_REVID=115950963
* Fix load paths in Groovy documentationGravatar Erik Kuefler2016-03-01
| | | | | | | -- Change-Id: Iedfdf4e0e1e274a90a5c12c2caedbecccb9c0eff Reviewed-on: https://bazel-review.googlesource.com/#/c/2992/ MOS_MIGRATED_REVID=115863226
* Add a bazel-srcs target to the top-level package containing all Bazel sourcesGravatar Damien Martin-Guillerez2016-02-29
| | | | | | | | This target include all non tests targets of Bazel to do integration tests of bootstrapping. -- MOS_MIGRATED_REVID=115830741
* Fix references to @bazel_tools// repository in Go rules.Gravatar David Chen2016-02-28
| | | | | | | Issue #976 -- MOS_MIGRATED_REVID=115720030
* Change the path of gcc for Windows to c:\tools\msys64 , because that's where ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | Chocolatey installs msys2. This is only a temporary hack to get our continuous build up and running, because we can't assume that everyone will install their C++ compiler there. But then again, msys2 is not a very useful target for Windows, so maybe we should fix that first. -- MOS_MIGRATED_REVID=115449817
* Add design doc for Go rules as markdown.Gravatar Han-Wen Nienhuys2016-02-24
| | | | | | | -- Change-Id: Id14500fa6febb9c7a58a8f093146d4d9771b44aa Reviewed-on: https://bazel-review.googlesource.com/#/c/3007 MOS_MIGRATED_REVID=115438488
* Remove scala rules from the Bazel source treeGravatar Damien Martin-Guillerez2016-02-24
| | | | | | | | | They have now moved to https://github.com/bazelbuild/scala_rules RELNOTES[INC]: Scala rules were deleted from the @bazel_tools repository, see https://github.com/bazelbuild/rules_scala#scala-rules-for-bazel -- MOS_MIGRATED_REVID=115432354
* Use SSL for scala repositoryGravatar Michajlo Matijkiw2016-02-24
| | | | | | | | | | Potentially fixes #968. The http url redirects to https which our redirect logic currently doesn't handle. Confirmed the https location is correct manually. -- MOS_MIGRATED_REVID=115412099
* Restore allow_files and single_file attributes.Gravatar Julio Merino2016-02-23
| | | | | | | | | | | | | | | //src/test/shell/bazel:bazel_example_test broke because of commit a6e448253c289f3d5a353f038a5ea47227515a66, which removed the allow_files and single_file properties of a bunch of attributes in the belief that they were stale. However, //third_party:protoc is in fact a filegroup and thus requires single_file. I still think some of them are unnecessary... but because I do not yet know all possible cases in which these are involved, and to prevent further breakage, let's restore them all just in case. I may reevaluate this at a later stage to clean them up. -- MOS_MIGRATED_REVID=115297686
* Allow preprocessing proto files before compiling them in gensrcjar.sh.Gravatar Julio Merino2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115250659
* Adds the ResourceShrinkerAction. Uses the results of resource processing and ↵Gravatar Andrew Pellegrini2016-02-23
| | | | | | | a dead code removal Proguard pass to create an ap_ without unused resources to be used when building android_binary targets. -- MOS_MIGRATED_REVID=115227385
* Split out Java proto compilation logic to a helper script (take 2).Gravatar Julio Merino2016-02-22
| | | | | | | | | | | | | | | | | | | This is just for clarity and should be a no-op. Maintaining long shell command lines embedded in genrules is not pretty. This change is a combination of commit 8ec3866d9e5d28f6c09546269ec82731c45c28ad and commit ffc891c4efbf498fdb8eaf4d2c922e7e7a58f99d with additional fixes. In particular I have removed unnecessary properties from all rule attributes, have made the rule respect any runfiles, and have reinstanted the explicit dependency on the JDK. The latter is what fixes the breakage we observed in #938, though it seems clear that we are missing a dependency somewhere. I have verified that this now works by running this change on a clean Ubuntu 15.10 VM. -- MOS_MIGRATED_REVID=115081830
* Rollback of commit 8ec3866d9e5d28f6c09546269ec82731c45c28ad.Gravatar Damien Martin-Guillerez2016-02-19
| | | | | | | | | | | | | | | | | | *** Reason for rollback *** Break Jenkins build. See https://github.com/bazelbuild/bazel/issues/938 *** Original change description *** Split out Java proto compilation logic to a helper script. 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=115048759
* 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