aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Remove deprecated Skylark rulesGravatar Kristina Chodorow2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117968196
* Build the jsonnet tool for the host when cross-compiling.Gravatar Googler2016-03-23
| | | | | | | RELNOTES: Build the jsonnet tool for the host when cross-compiling. -- MOS_MIGRATED_REVID=117927673
* Marking Closure Tools for Bazel as deprecated.Gravatar Googler2016-03-23
| | | | | -- MOS_MIGRATED_REVID=117801004
* Fix go_prefix to resolve to the right repositoryGravatar Kristina Chodorow2016-03-22
| | | | | | | | | This should reference the //:go_prefix rule in the repository the BUILD file using go_* is in, not the repository where def.bzl lives (probably @bazel_tools). -- MOS_MIGRATED_REVID=117733799
* Deprecate built-in Skylark rulesGravatar Kristina Chodorow2016-03-21
| | | | | | | | RELNOTES: Skylark rules that are available from their own repository will now issue a warning when accessed through @bazel_tools. -- MOS_MIGRATED_REVID=117730793
* Adds mcov tool label to IosTest.Gravatar Dmitry Shevchenko2016-03-21
| | | | | | | Adds source files to IosTest runfiles so that mcov/clang has access to them during coverage run. -- MOS_MIGRATED_REVID=117572134
* Add missing filegroups to the srcsGravatar Damien Martin-Guillerez2016-03-18
| | | | | -- MOS_MIGRATED_REVID=117534962
* cc_configure: Fix fallout of renaming ctx to repository_ctx.Gravatar Damien Martin-Guillerez2016-03-18
| | | | | -- MOS_MIGRATED_REVID=117478721
* Add Python protobuf to Bazel third_party and move all protobuf targets intoGravatar David Chen2016-03-17
| | | | | | | //third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
* Enable overriding jsonnet binaries and stdlib for Jsonnet rules.Gravatar David Chen2016-03-15
| | | | | | | RELNOTES: Enable overriding jsonnet binaries and stdlib for Jsonnet rules. -- MOS_MIGRATED_REVID=117267276
* cc_configure: fallback to static crosstool for unsupported platformGravatar Damien Martin-Guillerez2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117258091
* Fix repository names for GroovyGravatar Erik Kuefler2016-03-15
| | | | | | | -- Change-Id: I1831a657552a661a555c7f8bef54e8f46ddd482d Reviewed-on: https://bazel-review.googlesource.com/#/c/3050/ MOS_MIGRATED_REVID=117238730
* Incremental dexing for sharded android_binary targetsGravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117186609
* Move dump_syms from //tools/objc to //tools/osx. This will allow it to be ↵Gravatar Cal Peyser2016-03-15
| | | | | | | referenced from the crosstool without crossing package boundaries. -- MOS_MIGRATED_REVID=117137594
* Use repository_ctx for each usage of repository context.Gravatar Damien Martin-Guillerez2016-03-14
| | | | | | | | This will avoid confusion with the normal Skylark rule context. Also fixed indentation of cc_configure.bzl -- MOS_MIGRATED_REVID=117011107
* Adds a missing default Info.plist in bazel, required by the ios_test rule.Gravatar Googler2016-03-09
| | | | | -- MOS_MIGRATED_REVID=116725042
* cc_configure: fix issues with CentOS 6.7 and custom gccGravatar Damien Martin-Guillerez2016-03-08
| | | | | | | This setup was provided on issue #760. -- MOS_MIGRATED_REVID=116656431
* Set tools/cpp/test tests to exclusiveGravatar Damien Martin-Guillerez2016-03-08
| | | | | | | | These tests require exclusive access to the docker daemon or they sometime fails due to concurrency. -- MOS_MIGRATED_REVID=116653582
* Replace objc_dummy.m with objc_dummy.mm.Gravatar Googler2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116593165
* 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