aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
Commit message (Collapse)AuthorAge
* distfile: pack the archives needed later in the buildGravatar Klaus Aehlig2018-05-24
| | | | | | | | | | | | ...and point --experimental_distdir there, so that offline builds are again possible out of the distribution archive. Related #5175. Fixes #5202. To be cherry-picked for #5056. Change-Id: I634296e9d83e4e18ed966b42f35acc63061259d9 PiperOrigin-RevId: 197866998
* add Bazel's Buildkite configurationGravatar Jakob Buchgraber2018-03-22
| | | | | | Closes #4900. PiperOrigin-RevId: 190043375
* Remove Bazel's Docker tests.Gravatar Philipp Wollermann2018-01-24
| | | | | | | | | | | | | | We'll just replace them with either native support for running tests inside Docker containers on CI or with VMs running the operating system. This gets rid of the "let's download 8 GB of Docker images" step when running `bazel build //...`. RELNOTES: None. Closes #4506. PiperOrigin-RevId: 183078052
* Update pin for bazel-toolchains to latest versionGravatar xingao2018-01-16
| | | | | | https://github.com/bazelbuild/bazel-toolchains/releases/tag/f3b0970 PiperOrigin-RevId: 182058527
* Attempt #4 Adds FakeAutoCodecProcessor to bazel-distfile.Gravatar Shahan Yang2017-12-19
| | | | | Change-Id: Ie8dd0aa0ed6234fc3fd2e337fd50f9f7d5c7d2c1 PiperOrigin-RevId: 179607524
* Update pin for bazel-toolchains to latest versionGravatar yiyu2017-12-07
| | | | | | https://github.com/bazelbuild/bazel-toolchains/releases/tag/b49ba36 PiperOrigin-RevId: 178294425
* Prevent git filegroup from choking on gitk temporary files.Gravatar Andreas Bergmeier2017-12-01
| | | | | | Closes #4168. PiperOrigin-RevId: 177589539
* Use configs for container v0.2.0 bazel v0.7.0Gravatar Googler2017-10-27
| | | | PiperOrigin-RevId: 173548492
* Update bazel-toolchains repo to use Bazel 0.6.0 toolchain configs.Gravatar xingao2017-10-06
| | | | PiperOrigin-RevId: 171048721
* Make the srcs test be a Bazel testGravatar Damien Martin-Guillerez2017-08-23
| | | | | | | | | | | | | | | | ./compile.sh srcs has been broken at several time because this test cannot run on our internal presubmit (more precisely, don't see most breakage on our internal presubmit). Making this test a Bazel test should fix that at the same time reducing the scope of ./compile.sh (with the other move of the determinism test, this make compile.sh being only the bootstrapping script). To do so, we fetch the list of sources in the repository through a skylark repository and use genquery to interrogate the list of sources in //:srcs filegroup. Change-Id: If83af28a366cc0c52a7327ce9ed2489c7e88532f PiperOrigin-RevId: 166064682
* Rewrite //:combine_distfiles.sh in PythonGravatar László Csomor2017-08-11
| | | | | | | | | | | | | | | | It can only pack to zip for now (packing to tar is not trivial and I haven't figured it out yet). This allows building //:bazel-distfile on Windows. Previously it was either timing out or taking so long that it was unbearable (over 10 minutes). I never waited long enough to see it build. The new Python version runs under just a few seconds. Change-Id: I3264eb7132dd58c581c4216e5bbab035a79d716d PiperOrigin-RevId: 164954162
* Update files attribute on pkg_tar.Gravatar John Cater2017-08-10
| | | | | Change-Id: I37bb40cae9d8a6ca99460df83b33541972926766 PiperOrigin-RevId: 164726294
* Added a dummy target for fetching toolchains, used for remote execution.Gravatar Googler2017-07-26
| | | | | | This is a temporary workaround for toolchain fetching (https://github.com/bazelbuild/bazel/issues/3246). PiperOrigin-RevId: 163103317
* Move the docker tests in src/test/dockerGravatar dmarting2017-06-27
| | | | | | | | | | | | This is a better location and tools/cpp is packaged in embedded_tools that make the test ends-up in embedded_tools, which is requiring network access to build embedded_tools! Side-effect: have to correctly mock the bazel workspace file on a couple of tests. This is blocking on https://bazel-review.googlesource.com/c/12350/ PiperOrigin-RevId: 160265524
* Update BUILD filesGravatar Ulf Adams2017-06-13
| | | | | | | | | | | We're currently maintaining two sets of BUILD files; one at Google, and one in the Git repository. We'd like to not do that. This change makes some of the Bazel BUILD files more closely match their counterparts, in preparation for removing the internal ones. Closes #3094. PiperOrigin-RevId: 158820490
* protobuf: Use bazel's native java_proto_library rules.Gravatar Jakob Buchgraber2017-06-06
| | | | | | | | | Additional changes: - Introduce a Skylark macro java_library_srcs that provides the source jars of a java_*_library rule. - Remove bazel's own java_proto_library implementation. Change-Id: I18f2259bc75ca0fb32dcd8a6a857c609bd2c7773 PiperOrigin-RevId: 158146210
* Simplify the steps needed to run android_integration_test.Gravatar Adam Michael2017-03-24
| | | | | | | | | | | | As of Bazel 0.4.5, the android_sdk_for_test and android_ndk_for_test are bound in android.WORKSPACE, so we do not need to include them in the main Bazel WORKSPACE file. I've update the comments to reflect that all that is needed to run the tests is android_sdk_repository and android_ndk_repository and the environment variables that they read. Also, delete scripts/workspace_user.sh. All of its functionality (reading environment variables, detecting api levels, build tools versions) is now part of android_{s,n}dk_repository. Fixes https://github.com/bazelbuild/bazel/issues/2284. -- PiperOrigin-RevId: 151032551 MOS_MIGRATED_REVID=151032551
* Add a new command "bazel license" that prints the license files of Bazel and ↵Gravatar Philipp Wollermann2017-03-20
| | | | | | | | all embedded open-source components. -- PiperOrigin-RevId: 150435047 MOS_MIGRATED_REVID=150435047
* Move debian package building into its own package. Gravatar John Cater2017-01-31
| | | | | | | | | | | | | | | As more package options are added, it's confusing that the debian package is generated in scripts/package/BUILD, but scripts/package/debian/ contains the related files (and isn't itself a Bazel package). This change makes the file locations more predictable, and also makes it easier to see what is happening in scripts/packages. -- Change-Id: Id8c445fc164a1a4aa09c52559a5143578cfdea88 Reviewed-on: https://cr.bazel.build/8510 PiperOrigin-RevId: 146003934 MOS_MIGRATED_REVID=146003934
* Make //tols/cpp/test start from the distribution artifactGravatar Klaus Aehlig2016-11-24
| | | | | | | | | | | | | The docker tests in //tools/cpp/test still assume that the sources are enough to just compile.sh to bootstrap a bazel binary. Fix this, by using the distribution archive instead. While there, also add a target for the distribution archive as tar. -- Change-Id: Ic31bb95da0165f83a14537a1719c27e5067d0d65 Reviewed-on: https://cr.bazel.build/7531 MOS_MIGRATED_REVID=140134322
* Add the distribution artifact to the list of release filesGravatar Klaus Aehlig2016-11-11
| | | | | | | -- Change-Id: I09053cbd476e5f8bb5bdb9f272ad414d165f6d9f Reviewed-on: https://bazel-review.googlesource.com/#/c/7131 MOS_MIGRATED_REVID=138855685
* Create a distribution artifactGravatar Klaus Aehlig2016-10-24
| | | | | | | | | | | ...containing, besides the original sources, all generated machine-independent files needed for creating a bootstrap bazel without the need of having a protoc installed. -- Change-Id: Ib90e7896615b4067175a23fe2c942dbac4b71e4a Reviewed-on: https://bazel-review.googlesource.com/#/c/6730 MOS_MIGRATED_REVID=136910561
* Move bazel apple tests into a separate package.Gravatar Dmitry Shevchenko2016-10-11
| | | | | -- MOS_MIGRATED_REVID=135686367
* Build Bazel debian source package using BazelGravatar Yun Peng2016-07-27
| | | | | | | -- Change-Id: I8c0b6adf08a4ca64ad41e0454cb30842c133fa22 Reviewed-on: https://bazel-review.googlesource.com/#/c/4161 MOS_MIGRATED_REVID=128465441
* Add all the sources to //:srcs filegroup and add a check to detectGravatar Damien Martin-Guillerez2016-07-01
| | | | | | | | | | | missing file to it. We need to activate this check on presubmits -- Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970 Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/ MOS_MIGRATED_REVID=126404792
* Bind path to xcrunwrapper in workspace files.Gravatar Cal Peyser2016-04-22
| | | | | -- MOS_MIGRATED_REVID=120558192
* Rollback of commit 9dc24effb614f3695c962c4e1d1012e9e2aeb453.Gravatar Cal Peyser2016-04-19
| | | | | | | | | | | | | *** Reason for rollback *** looks like this is probably break [] *** Original change description *** Bind path to xcrunwrapper in workspace files. -- MOS_MIGRATED_REVID=120167193
* Bind path to xcrunwrapper in workspace files.Gravatar Cal Peyser2016-04-19
| | | | | -- MOS_MIGRATED_REVID=120124909
* Do not recursively globs in the root BUILD file of BazelGravatar Damien Martin-Guillerez2016-04-15
| | | | | | | | | This is triggering some weird errors on ci.bazel.io where it tries to look at files under the convenience symlink. Instead just glob files on the top-level path, the other files are all in sub-package anyway. -- MOS_MIGRATED_REVID=119941636
* Remove deprecated Skylark rulesGravatar Kristina Chodorow2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117968196
* Fix root BUILD fileGravatar Damien Martin-Guillerez2016-03-23
| | | | | | | This should fix current ci.bazel.io breakage. -- MOS_MIGRATED_REVID=117924148
* Make specific options win over common onesGravatar Klaus Aehlig2016-03-23
| | | | | | | | | | | When specifying which command names to parse options for, given the command annotation, ensure that "common" comes first, so that it can be overridden by more specific options. -- Change-Id: I20cd90c098e993580c32297d1e36c8a6c939873a Reviewed-on: https://bazel-review.googlesource.com/#/c/3091 MOS_MIGRATED_REVID=117821257
* Exclude out/** from the source glob.Gravatar Lukacs Berki2016-03-23
| | | | | | | This directory is used by IntelliJ if scripts/setup-intellij.sh is used to generate the .iml file. -- MOS_MIGRATED_REVID=117801566
* 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
* 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
* Use labels in load statementsGravatar Damien Martin-Guillerez2016-02-02
| | | | | | | | | | | | This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
* Provide an example for the Go rules, eg.Gravatar Han-Wen Nienhuys2015-10-09
| | | | | | | | bazel test examples/go/lib:lib_test bazel build examples/go/bin:bin -- MOS_MIGRATED_REVID=105070940
* Add an integration test for Android rules.Gravatar Lukacs Berki2015-09-03
| | | | | | | Currently only building them is tested, not running them or mobile-install, but it's still a good start. -- MOS_MIGRATED_REVID=102237496
* Bazel release notes creationGravatar Damien Martin-Guillerez2015-07-27
This script uses the RELNOTES: tag (RELNOTES for a simple change, RELNOTES[NEW] for a new feature, RELNOTES[INC] for an incompatible change) to create the CHANGELOG.md file. -- Change-Id: If457a0a85f4a9ceddf822393d0aeb8b60c54136b Reviewed-on: https://bazel-review.googlesource.com/#/c/1583/ MOS_MIGRATED_REVID=99020942