aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Tweak styling of Skylark rule READMEs to be consistent when viewed onGravatar David Chen2015-10-23
| | | | | | | external site. -- MOS_MIGRATED_REVID=106135529
* Fix go toolchain reliance on the bazel src directoryGravatar Benjamin Staffin2015-10-22
| | | | | | | | | | | This follows the pattern used in tools/build_defs/d/BUILD and tools/build_rules/rust/BUILD, and makes it possible to use the golang rules in a workspace other than the Bazel source tree itself. -- Change-Id: I2b3cdb3a2cede84bea195bd6530efccbd4fe9714 Reviewed-on: https://bazel-review.googlesource.com/#/c/2190/ MOS_MIGRATED_REVID=106057033
* Set sharding and tmpdir environment variables for googletestGravatar Brian Silverman2015-10-22
| | | | | | | | | | The patch for googletest to prefer GTEST_TMP_DIR is google/googletest#619 and should be merged soon. -- Change-Id: If48220e8e1e4e78a8768aeb14b5b58e4f246c8c3 Reviewed-on: https://bazel-review.googlesource.com/#/c/2170/ MOS_MIGRATED_REVID=106043714
* [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.Gravatar David Chen2015-10-22
| | | | | | | RELNOTES: [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code. -- MOS_MIGRATED_REVID=106040951
* Include memleaks plugin support for experimental_ios_testGravatar Chris Parsons2015-10-21
| | | | | -- MOS_MIGRATED_REVID=105876178
* Add e2e test for Go support.Gravatar Han-Wen Nienhuys2015-10-20
| | | | | | | -- Change-Id: I6b76e1fe76ae8a640b2ab7d70cc8bfda50801b74 Reviewed-on: https://bazel-review.googlesource.com/#/c/2160 MOS_MIGRATED_REVID=105854761
* Use java_import for pre-compiled jarsGravatar Liam Miller-Cushon2015-10-20
| | | | | -- MOS_MIGRATED_REVID=105760024
* Add Spock support to Groovy rules.Gravatar Erik Kuefler2015-10-16
| | | | | | | | | | | | | Spock is a popular unit testing framework for Java and Groovy applications, see https://code.google.com/p/spock/ for details. This build rule is just a wrapper around java and groovy libraries and tests that makes it convenient to define a spock-based test using a single BUILD target containing the test specs and any supporting Groovy and Java code. -- Change-Id: Ia70346a87762f89d587310cf9578daa9d7d9f34a Reviewed-on: https://bazel-review.googlesource.com/#/c/2010/ MOS_MIGRATED_REVID=105529540
* [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to allow ↵Gravatar David Chen2015-10-13
| | | | | | | | | passing external variables to Jsonnet via --var and --code_var. RELNOTES: [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to allow passing external variables to Jsonnet via --var and --code_var. -- MOS_MIGRATED_REVID=105305323
* [jsonnet] Update to Jsonnet 0.8.1Gravatar David Chen2015-10-13
| | | | | | | RELNOTES: [jsonnet] Update to Jsonnet 0.8.1. -- MOS_MIGRATED_REVID=105303487
* Tweak the BUILD file for Damien's .deb rules so that they depend on gflags ↵Gravatar Lukacs Berki2015-10-13
| | | | | | | properly. -- MOS_MIGRATED_REVID=105301992
* Use default_visibility instead of visibility in package()Gravatar Brian Silverman2015-10-13
| | | | | | | -- Change-Id: I81b4e688b8cf57b2e4a3078f3460c323acd65097 Reviewed-on: https://bazel-review.googlesource.com/#/c/2130 MOS_MIGRATED_REVID=105301546
* Added an example that uses resources to scala/test.Gravatar John Sullivan2015-10-13
| | | | | | | -- Change-Id: Icd13926ff293c0db36d7731e0d961eb42bbaca6d Reviewed-on: https://bazel-review.googlesource.com/#/c/2122/1 MOS_MIGRATED_REVID=105217047
* Added support for resources in scala builds.Gravatar John Sullivan2015-10-13
| | | | | | | -- Change-Id: Idece9ef559e2553960da2a0459cb6b69544e3bd0 Reviewed-on: https://bazel-review.googlesource.com/#/c/2061/1 MOS_MIGRATED_REVID=105214947
* Use param files for Linux C(++) toolchains.Gravatar Han-Wen Nienhuys2015-10-12
| | | | | | | Fixes #490. -- MOS_MIGRATED_REVID=105205371
* Make Bazel use tools that are embedded in its binary.Gravatar Lukacs Berki2015-10-12
| | | | | | | This requires changing all "//tools/language:target" implicit dependencies to "@tools//tools/language:target". -- MOS_MIGRATED_REVID=105193805
* The <use-permission-sdk-23> tag is not merged into final manifestGravatar Googler2015-10-12
| | | | | | | | Now in the android_manifest_merge rule, the newly introduced <use-permission-sdk-23> tag is not merged. -- MOS_MIGRATED_REVID=105104945
* Add Darwin toolchain to Go rules.Gravatar Han-Wen Nienhuys2015-10-12
| | | | | -- MOS_MIGRATED_REVID=105076173
* RELNOTES: Go rules for Bazel.Gravatar Han-Wen Nienhuys2015-10-09
| | | | | -- MOS_MIGRATED_REVID=105062625
* Introduce debian and tar packaging rulesGravatar Damien Martin-Guillerez2015-10-09
| | | | | | | | | | | This refactor a bit the docker rules to reuse the tarball construction. Also introduce the debian archive for the release process. RELNOTES[NEW]: Debian and tar packaging is now supported (see tools/build_defs/pkg/README.md). -- MOS_MIGRATED_REVID=105053604
* Removes duplicate arm crosstool toolchain definition.Gravatar Alex Humesky2015-10-09
| | | | | -- MOS_MIGRATED_REVID=105018560
* Add commons-lang artifact to the default appengine WORKSPACEGravatar Kristina Chodorow2015-10-09
| | | | | | | appengine.bzl depends on it, but it was missing. -- MOS_MIGRATED_REVID=104984668
* Rolling-forward with fix:Gravatar Damien Martin-Guillerez2015-10-08
| | | | | | | | | | | | | | | | | | | | | Incremental build and load of Docker layers Previously we were always tar-ing all the layers in the final image. This change does not build the full image except if required. It instead only builds the concerned layer and a loader that loads all the layers that were not previously loaded in your local registry. This is somewhat incompatible with the previous version since the full tar file is not built anymore if not explicitly requested. See https://goo.gl/P6CVyG for an extensive comparison of this change. RELNOTES: [docker_build] incremental loading is default now. Specify explicitly //package:target.tar (with the .tar extension) to obtain the full image. -- MOS_MIGRATED_REVID=104844423
* Delete old java based tools for ibtool, actool, momc, etc.Gravatar Dave MacLachlan2015-10-07
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=104826820
* Rollback of commit fb8ee791d3b39f294bf4e083b972aee2ac6f8e27.Gravatar Damien Martin-Guillerez2015-10-07
| | | | | | | | | *** Reason for rollback *** Broke internal builds -- MOS_MIGRATED_REVID=104801084
* Incremental build and load of Docker layersGravatar Damien Martin-Guillerez2015-10-06
| | | | | | | | | | | | | | | | | | | Previously we were always tar all the layers in the final image. This change do not build the full image except if required. It instead only build the concerned layer and a loader that loads all the layer that were not previously loaded in your local registry. This is somewhat incompatible with the previous version since the full tar file is no more build if not explicitely requested. RELNOTES: [docker_build] incremental loading is default now. Specify explicitly //package:target.tar (with the .tar extension) to obtain the full image. -- Change-Id: I75c96d819f2a0f7c9444723b04b660b4939350ec Reviewed-on: https://bazel-review.googlesource.com/#/c/1820/ MOS_MIGRATED_REVID=104737560
* Embed a tools directory into the Bazel binary.Gravatar Lukacs Berki2015-10-06
| | | | | | | This is currently unused deadweight, but will be used pretty soon to access the tools directory instead the menagerie of various odd mechanism we currently use. -- MOS_MIGRATED_REVID=104737151
* Add prerequisite dependencies to make ios_test work build on bazel.Gravatar Chris Parsons2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104673050
* Allow Java libraries to export and propagate proguard_specs.Gravatar Michael Staib2015-10-06
| | | | | | | | | | | | | | | It may be the case that a library used by Java clients is also used by Android clients, but when used for the latter, it requires a particular Proguard configuration. This change modifies Java library rules to accept Proguard specs and pass them up to Android rules. Note that this does not cause Proguard to be used on normal Java binaries. RELNOTES[NEW]: java_library now supports the proguard_specs attribute for passing Proguard configuration up to Android (not Java) binaries. -- MOS_MIGRATED_REVID=104661799
* [rust] Add rust_bench_test and rust_doc_test rules and improve usability of ↵Gravatar David Chen2015-10-05
| | | | | | | | | | | | | | rust_test rule. * Add rust_bench_test rule to run benchmark tests * Add rust_doc_test rule to run Rust documentation tests. * Enable rust_test and rust_bench_test to depend directly on a rust_library target. * Rename rust_docs rule to rust_doc for consistency. RELNOTES: [rust] Add rust_bench_test and rust_doc_test rules and improve usability of rust_test tule. -- MOS_MIGRATED_REVID=104648497
* [Docker] archive: appends '/' at end of directoriesGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | This ensure to correctly detect duplicate for directory entries that might or might not contains ending slash. -- MOS_MIGRATED_REVID=104502468
* [Docker] add a `repository` attributeGravatar Damien Martin-Guillerez2015-10-01
| | | | | | | | This attribute specifies the default repository for the generated image. -- MOS_MIGRATED_REVID=104408398
* [docker] Enforce the executable flag to directoriesGravatar Damien Martin-Guillerez2015-09-30
| | | | | | | | | | Before this change, adding a directory might leads to non-executable directory if the mode is set to non-executable. This is never a desirable behavior. This enforce the executbale bit when the read bit is on for directory. -- MOS_MIGRATED_REVID=104276003
* [docker] Add workdir attributeGravatar Damien Martin-Guillerez2015-09-30
| | | | | | | | | | | | The workdir attribute set the initial working directory when starting the docker container. Contrary to the WORKDIR directive (see https://docs.docker.com/reference/builder/#workdir), it only affects the entry point. -- MOS_MIGRATED_REVID=104201472
* Replace 'Google Inc' by the 'Bazel Authors'Gravatar Damien Martin-Guillerez2015-09-30
| | | | | | | | | | This is the new conventions for Copyrights line and some were missed in the previous change. Generated by: find -type f -exec sed -i -E 's/Copyright 201([54]) Google Inc/Copyright 201\1 The Bazel Authors/' '{}' ';' -- MOS_MIGRATED_REVID=104189975
* Refactors proguard_whitelister.Gravatar Alex Humesky2015-09-30
| | | | | -- MOS_MIGRATED_REVID=104150148
* Fix broken build under Debian Wheezy.Gravatar Brian2015-09-28
| | | | | | | | | | | With the toolchain under Wheezy (GCC 4.7.2 and binutils 2.22), using both -fPIE and -fPIC does not create pic object files, which the build of Bazel seems to expect as of ee8fcd312eef51d2558c940f00d6381af0d52dff. -- Change-Id: I0a33d1bc6dc0e3cdcffb473d4e78dac1a6b8ab41 Reviewed-on: https://bazel-review.googlesource.com/#/c/1690/ MOS_MIGRATED_REVID=104093416
* Add Android IDL jar outputs.Gravatar Googler2015-09-28
| | | | | | | | | | These outputs are a jar and source jar for the results of aidl processing. This is used to add aidl output to IDEs separate from the source code, similar to annotation output (gen jars). -- MOS_MIGRATED_REVID=104024453
* Quick and dirty fix for #456.Gravatar John Sullivan2015-09-28
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/458 MOS_MIGRATED_REVID=103943941
* Find the test setup script based on its basename and not its precise exec path.Gravatar Lukacs Berki2015-09-28
| | | | | | | This is necessary so that the existence of a script //tools/test:test-setup.sh is not hardcoded into Bazel, which is in turn necessary so that the Bazel tools (//tools/...) are not required to be in the main repository. -- MOS_MIGRATED_REVID=103943618
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* [sass] Fixing typo in README.mdGravatar Derek Perez2015-09-25
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/482 MOS_MIGRATED_REVID=103931458
* [Docker] Correctly append ./ prefix to dotted files in archivesGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | Previously, dotted files were though of having the './' prefix. -- MOS_MIGRATED_REVID=103864015
* Add rust_docs ruleGravatar David Chen2015-09-24
| | | | | | | | | | | | Additional updates to Rust rules: * Consolidate BUILD files for Rust distribution. * Prevent rust_binary from depending directly on cc_library. * Update Rust version to 1.3.0 RELNOTES: [rust] Add rust_docs rule for generating rustdoc. -- MOS_MIGRATED_REVID=103827592
* [Docker] Prevent duplicate entries in a layerGravatar Damien Martin-Guillerez2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103745334
* [Docker] Make all files added via the files attribute executable and read-onlyGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | | | Also adds a `mode` attribute to docker_build so you can specify the mode you prefer. RELNOTES: [docker] docker_build now set the permission to 0555 to files added to the layer, use `mode = "0644"` to use the legacy behavior. -- MOS_MIGRATED_REVID=103743458
* [Docker] Don't replace current uid/gid by root ids for tar filesGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | This was not making any sense since the uid/gid in tar files should be correct not like when importing a file from the exec root. Due to that behavior, the tests were broken when using sandboxing in Bazel. -- MOS_MIGRATED_REVID=103741843
* Initial checkin of sass_binary support for bazelGravatar Derek Perez2015-09-24
| | | | | | | | | RELNOTES[NEW]: Support for build with libsass. -- Change-Id: I2a24212d9466e2e2a8b653027f1cc9579b4d4221 Reviewed-on: https://bazel-review.googlesource.com/#/c/1990/ MOS_MIGRATED_REVID=103740130
* Update d_docs rule to take a dependency on a d_binary, a d_library or ↵Gravatar David Chen2015-09-24
| | | | | | | | | d_source_library. RELNOTES: [d] d_docs rules now depend on a d_binary, a d_library or d_source_library. -- MOS_MIGRATED_REVID=103736167
* [Docker] Take the package of the input as the data pathGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | | | By default all input files path are taken relatively to their declared package and no more relatively to the docker_build package. The old behavior can be restored by specifying `data_path = "."` as an attribute of the docker_build target. -- MOS_MIGRATED_REVID=103731161