aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* 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
* Fixes #414: Add rustc + libs to action inputs, add LD_LIBRARY_PATH so that ↵Gravatar Philipp Wollermann2015-09-08
| | | | | | | rustc finds its libs on Linux, too. -- MOS_MIGRATED_REVID=102362939
* Make android_binary use a constant, hard-coded, checked-in debug key. Gravatar Lukacs Berki2015-09-04
| | | | | | | This is because apkbuilder uses $HOME/.android/debug.keystore by default, which does not exist when running within the sandbox, thus, it always generates a new debug key, and thus, "adb install -r" doesn't work. -- MOS_MIGRATED_REVID=102331570
* Fix the name of the android tools dependenciesGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | Fixes #419. -- MOS_MIGRATED_REVID=102248331
* Fix AppEngine build when sandboxed execution is enabledGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | Some inputs were undeclared. -- MOS_MIGRATED_REVID=102238651
* Add missing tools directory in the filegroup to packageGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | A lot of build rules weren't shiped in the Bazel binary because of those missing filegroups -- MOS_MIGRATED_REVID=102223626
* Pass source files to J2ObjC through a temporary source file manifest.Gravatar Rumou Duan2015-09-03
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=102195008
* Get rid of javac warning spam when building java protos.Gravatar Nathan Harmata2015-09-02
| | | | | | | | | Idea courtesy of @pgr0ss. Fixes #416 -- MOS_MIGRATED_REVID=102161620
* Tweak groovy rules to get their dependencies from //external instead of relyingGravatar Erik Kuefler2015-09-02
| | | | | | | | | | | | | on @ targets. This makes them easier to use in third-party repos since the user only has to define bindings in their WORKSPACE to whatever artifacts they want, rather than having to provide artifacts with an exact name. Related to #409. -- Change-Id: Ifc17bc5e7205ce5ce23d2ed1a72dd9ad93e42b97 Reviewed-on: https://bazel-review.googlesource.com/1940 MOS_MIGRATED_REVID=102135202
* Set DYLD_LIBRARY_PATH correctly for rustc.Gravatar David Chen2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102121504