| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
external site.
--
MOS_MIGRATED_REVID=106135529
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
RELNOTES: [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
--
MOS_MIGRATED_REVID=106040951
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105876178
|
|
|
|
|
|
|
| |
--
Change-Id: I6b76e1fe76ae8a640b2ab7d70cc8bfda50801b74
Reviewed-on: https://bazel-review.googlesource.com/#/c/2160
MOS_MIGRATED_REVID=105854761
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105760024
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
RELNOTES: [jsonnet] Update to Jsonnet 0.8.1.
--
MOS_MIGRATED_REVID=105303487
|
|
|
|
|
|
|
| |
properly.
--
MOS_MIGRATED_REVID=105301992
|
|
|
|
|
|
|
| |
--
Change-Id: I81b4e688b8cf57b2e4a3078f3460c323acd65097
Reviewed-on: https://bazel-review.googlesource.com/#/c/2130
MOS_MIGRATED_REVID=105301546
|
|
|
|
|
|
|
| |
--
Change-Id: Icd13926ff293c0db36d7731e0d961eb42bbaca6d
Reviewed-on: https://bazel-review.googlesource.com/#/c/2122/1
MOS_MIGRATED_REVID=105217047
|
|
|
|
|
|
|
| |
--
Change-Id: Idece9ef559e2553960da2a0459cb6b69544e3bd0
Reviewed-on: https://bazel-review.googlesource.com/#/c/2061/1
MOS_MIGRATED_REVID=105214947
|
|
|
|
|
|
|
| |
Fixes #490.
--
MOS_MIGRATED_REVID=105205371
|
|
|
|
|
|
|
| |
This requires changing all "//tools/language:target" implicit dependencies to "@tools//tools/language:target".
--
MOS_MIGRATED_REVID=105193805
|
|
|
|
|
|
|
|
| |
Now in the android_manifest_merge rule, the newly introduced <use-permission-sdk-23> tag
is not merged.
--
MOS_MIGRATED_REVID=105104945
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105076173
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105062625
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105018560
|
|
|
|
|
|
|
| |
appengine.bzl depends on it, but it was missing.
--
MOS_MIGRATED_REVID=104984668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
RELNOTES:
--
MOS_MIGRATED_REVID=104826820
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke internal builds
--
MOS_MIGRATED_REVID=104801084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104673050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_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
|
|
|
|
|
|
|
|
| |
This ensure to correctly detect duplicate for directory entries
that might or might not contains ending slash.
--
MOS_MIGRATED_REVID=104502468
|
|
|
|
|
|
|
|
| |
This attribute specifies the default repository for the generated
image.
--
MOS_MIGRATED_REVID=104408398
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104150148
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/458
MOS_MIGRATED_REVID=103943941
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/482
MOS_MIGRATED_REVID=103931458
|
|
|
|
|
|
|
| |
Previously, dotted files were though of having the './' prefix.
--
MOS_MIGRATED_REVID=103864015
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103745334
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: Support for build with libsass.
--
Change-Id: I2a24212d9466e2e2a8b653027f1cc9579b4d4221
Reviewed-on: https://bazel-review.googlesource.com/#/c/1990/
MOS_MIGRATED_REVID=103740130
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|