aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Allow params files on Windows.Gravatar Lukacs Berki2016-04-08
| | | | | | | Windows currently means msys2, and the tools there do support params files, and BoringSSL cannot be compiled without them because command lines are too long. -- MOS_MIGRATED_REVID=119360154
* Adds the 64 bit library directory for aapt, aidl, and zipalign, which was addedGravatar Alex Humesky2016-04-08
| | | | | | | in Android SDK build tools version 24.0.0. -- MOS_MIGRATED_REVID=119305998
* Add msvc crosstool definitonGravatar Yun Peng2016-04-07
| | | | | | | | | | | | This patch add the msvc crosstool definiton to CROSSTOOL file and BUILD file. Two paths are expected to exist: for msvc: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ for windows sdk: C:/Program Files (x86)/Windows Kits/10/ -- Change-Id: I2b21e566a588459f9fef767c5dc9dab1565d1ae8 Reviewed-on: https://bazel-review.googlesource.com/#/c/3266 MOS_MIGRATED_REVID=119276027
* Add the wrapper script for msvc crosstoolGravatar Yun Peng2016-04-07
| | | | | | | | | | Using batch script to invoke real wrapper script written in python The default python path is expected to be C:/python_27_amd64/files/python.exe -- Change-Id: If47bf668ce4af2b6d28a1852189c061480816833 Reviewed-on: https://bazel-review.googlesource.com/#/c/3265 MOS_MIGRATED_REVID=119275909
* Rollback of commit 3248a5ea6ecb9f5f2080876a70de016825f54707.Gravatar Lukacs Berki2016-04-07
| | | | | | | | | | | | | *** Reason for rollback *** Breaks //src/test/shell/bazel:bazel_example_test because that relies on the protobuf rules depending on @bazel_tools . The correct solution is probably to eliminate the protobuf dependencies from @bazel_tools altogether, but let's make the continuous build green and then think. *** Original change description *** Update our rudimentary proto rules to be able to handle gRPC. -- MOS_MIGRATED_REVID=119271980
* Update our rudimentary proto rules to be able to handle gRPC.Gravatar Lukacs Berki2016-04-07
| | | | | -- MOS_MIGRATED_REVID=119265313
* Enable overriding attributes for Rust binaries.Gravatar David Chen2016-04-07
| | | | | | | RELNOTES: Enable overriding attributes for Rust binaries. -- MOS_MIGRATED_REVID=119244456
* Fix issues with cc_configureGravatar Alpha Lam2016-04-01
| | | | | | | | | | | | | | Fixing a few issues with cc_configure that I encountered. * The argument for rpath should be -Wl,-rpath. * cc_configure should consider CPLUS_INCLUDE_PATH. I ran into this problem when using a crosstool gcc which needs -I/usr/include. * Check if -Wunused-but-set-parameter is available. -- Change-Id: I73198b5b17674ecbf1b511e23fcc9331ca96c8e0 Reviewed-on: https://bazel-review.googlesource.com/#/c/3210/ MOS_MIGRATED_REVID=118763218
* Update octal refs in python script of pkg and docker rulesGravatar Damien Martin-Guillerez2016-03-31
| | | | | | | Fixes #999 -- MOS_MIGRATED_REVID=118675703
* cc_configure.bzl: fix path to static crosstoolGravatar Damien Martin-Guillerez2016-03-31
| | | | | | | | | | | | | | | | Static crosstool where copied in the wrong path, leading to not found package and breaking the Windows build. Also the BUILD.bazel file contains now a reference to @cc_configure// package, so we need another copy. Tested: manually patched the change on the Windows slave and ran ./compile.sh Fixes #1101. -- MOS_MIGRATED_REVID=118674922
* Make C++ autoconfigured toolchain the default for Linux and OS X.Gravatar Damien Martin-Guillerez2016-03-31
| | | | | | | This is done by adding a default workspace suffix. -- MOS_MIGRATED_REVID=118656979
* Correct Bazel's google_play_services built-in custom_package definition, as ↵Gravatar Todd Jeffreys2016-03-25
| | | | | | | | | it is incorrect. Currently when you build an app using the built-in rule, the resources compile to google.bazel.R, but the GMS libs need com.google.android.gms.R, so InflateExceptions occur - AdView for one. -- MOS_MIGRATED_REVID=118204766
* Change android_sdk_repository to use a Skylark-based template.Gravatar Michael Staib2016-03-25
| | | | | | | | | | | This moves logic out of the Java repository function and closer to where it's actually used, while also downplaying the basic templating a bit and allowing the logic to interact better with the build file. The existing logic regarding Apache's HTTP client is migrated as part of this. -- MOS_MIGRATED_REVID=118084016
* Adds Skylark Remote Repository documentationGravatar Damien Martin-Guillerez2016-03-24
| | | | | | | Fixes #1043 -- MOS_MIGRATED_REVID=118039426
* 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