aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* 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
* Improve error message for INSTALL_FAILED_OLDER_SDK from adb.Gravatar Alex Humesky2015-09-22
| | | | | | | Clean up some tests. -- MOS_MIGRATED_REVID=103600539
* [Docker] Support for adding directories to tarballGravatar Damien Martin-Guillerez2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103527154
* Fix import flags for Jsonnet rules.Gravatar David Chen2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103464733
* [Docker] Strip the identifier in top fileGravatar Damien Martin-Guillerez2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103451349
* Fix an issue in which dependent files of translated package-info.java files ↵Gravatar Rumou Duan2015-09-17
| | | | | | | are incorrectly stripped. -- MOS_MIGRATED_REVID=103235923
* Added support for scalac and jvm_flags in scala_[library|binary]. Fixes #457.Gravatar John Sullivan2015-09-16
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/459 MOS_MIGRATED_REVID=103229152
* Remove commentGravatar Miguel Alcon Pinto2015-09-16
| | | | | | | | | | | | Also includes the following changes: Fix a bug in which the dead code pruner throws if users specify J2ObjC proto classes as entry classes. -- Make skyquery more optimal. -- MOS_MIGRATED_REVID=103213483
* Requires JDK 8Gravatar Damien Martin-Guillerez2015-09-15
| | | | | | | | | | | | This change deprecate JDK 7 as JavaBuilder follow changes in Java 9 and might use Java 8 features. We will maintain a build with the JDK 7 as long as possible but this build won't include updates in JavaBuilder. RELNOTES[INC]: Bazel requires JDK 8 to run. -- MOS_MIGRATED_REVID=103069207
* Fix small typo in exampleGravatar Roland Huß2015-09-15
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/455 MOS_MIGRATED_REVID=103068929
* Make --split_apk mobile-install work with a pristine device.Gravatar Lukacs Berki2015-09-15
| | | | | -- MOS_MIGRATED_REVID=103068396
* Support data and resource attributes in Groovy testsGravatar Erik Kuefler2015-09-15
| | | | | | | -- Change-Id: If79677c963f4991d1ffca2a0878c845df59a6a64 Reviewed-on: https://bazel-review.googlesource.com/#/c/1970/ MOS_MIGRATED_REVID=103016420
* Add Jsonnet rules to Bazel.Gravatar David Chen2015-09-14
| | | | | | | RELNOTES: Add Jsonnet rules to Bazel -- MOS_MIGRATED_REVID=102895524
* Scala rules: Implement scala_binaryGravatar Laurent Le Brun2015-09-11
| | | | | -- MOS_MIGRATED_REVID=102837474
* Scala rules: Make main_class optionalGravatar Laurent Le Brun2015-09-11
| | | | | -- MOS_MIGRATED_REVID=102758930
* Enable compression for Groovy and AppEngine rules.Gravatar Erik Kuefler2015-09-09
| | | | | | | -- Change-Id: I22c82e4a24839e0832cf5148e13fc6f0eafc0f2b Reviewed-on: https://bazel-review.googlesource.com/#/c/1952/ MOS_MIGRATED_REVID=102640555
* Fix the installer and fixing the package shiped into binary version of Bazel.Gravatar Damien Martin-Guillerez2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102567966
* Fix Groovy rules to work with sandboxingGravatar Erik Kuefler2015-09-08
| | | | | | | -- Change-Id: Id6b14c65e5737f31001fcbdd0d8e1cf34f21336b Reviewed-on: https://bazel-review.googlesource.com/1953 MOS_MIGRATED_REVID=102513900
* Add initial D rules to Bazel.Gravatar David Chen2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102513092