aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Minor refactoring in SkylarkUtilsGravatar Laurent Le Brun2016-11-22
| | | | | | | Next step will be to move Environment.Phase to SkylarkUtils.BazelInfo -- MOS_MIGRATED_REVID=139902745
* Delete the old prebuild guava jars. SeeGravatar Nathan Harmata2016-11-22
| | | | | | https://bazel-review.googlesource.com/#/c/7270/. Change-Id: Ie2cc95521bb1c6287dcdfb083e35bf4c15c7abd3
* Rollback of commit 7f8e0456efe58711aae98c95c6a9dfb57824b9c2.Gravatar Dmitry Lomov2016-11-22
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel tests: http://ci.bazel.io/job/bazel-tests/331/#showFailuresLink *** Original change description *** Improve reliability/performance of Bazel downloads 1. We now retry on connection failures. a. With exponential backoff. b. While recovering quickly from ephemeral failures. c. While still working if internet or web server is slow. 2. We now request gzip responses from web server. Fixed #1760 Fixed #1910 RELNOTES: External downloads now retry with exponential backoff and support gzip content-encoding. -- MOS_MIGRATED_REVID=139899835
* Bazel client: fix compiler warningsGravatar Laszlo Csomor2016-11-22
| | | | | -- MOS_MIGRATED_REVID=139899429
* Bazel: make PathWindowsTest more robustGravatar Laszlo Csomor2016-11-22
| | | | | | | | | | | Also don't create "C:/first", tests don't really need it. Motivation: test failure in http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/331/console -- MOS_MIGRATED_REVID=139897644
* Refactor LegacyLoadingPhaseRunner to be more like SkyframeLoadingPhaseRunner.Gravatar Ulf Adams2016-11-22
| | | | | | | | This is in preparation for extracting some common reporting code, and also a step towards interleaving target pattern eval and config creation. -- MOS_MIGRATED_REVID=139890205
* Bazel client: reduce dependency on POSIX APIGravatar Laszlo Csomor2016-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can now compile blaze_util_windows.cc with MSVC, yay! (when building //src:bazel --cpu=x64_windows_msvc -k). There are a lot of #ifdef's and TODOs so this is a modest victory for now. In this change: - change blaze::MakeDirectories to return bool instead of int, since that's how it was used anyway, and to expect the permission mask as unsigned int instead of mode_t, since the former is good enough and compatible with mode_t on POSIX while mode_t is not defined on Windows - move blaze::MakeDirectories into blaze_util_<platform> - implement envvar-handling in blaze_util_<platform> and use it everywhere See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=139887503
* Add Gerrit Code Review to the list of usersGravatar David Pursehouse2016-11-22
| | | | | | | -- Change-Id: I024cc6062bf2a167e38fdb5cacde63eb062a9703 Reviewed-on: https://cr.bazel.build/7430 MOS_MIGRATED_REVID=139887482
* Roadmap: slide the milestones for 0.5 and 0.6 to realistic datesGravatar Damien Martin-Guillerez2016-11-22
| | | | | | | This is just a quick update before revamping the roadmap for 2017 -- MOS_MIGRATED_REVID=139886797
* Allow labels like @foo//:foo to be shortened @fooGravatar Justine Tunney2016-11-22
| | | | | | | | | Fixes #1924 RELNOTES: Labels like "@foo//:foo" can now be written as "@foo" in build files -- MOS_MIGRATED_REVID=139848658
* try using default bootclasspath for android desugaring if ↵Gravatar Googler2016-11-22
| | | | | | | JavaCompilationInfoProvider is missing -- MOS_MIGRATED_REVID=139842250
* WatchOS1 watch apps no longer bundle at the top level as well as the ↵Gravatar Chris Parsons2016-11-22
| | | | | | | extension level. -- MOS_MIGRATED_REVID=139839573
* Fix test_http_to_https_redirect testGravatar Justine Tunney2016-11-22
| | | | | | | RELNOTES: n/a -- MOS_MIGRATED_REVID=139818617
* Rollback of commit cc3d79cca775cad9e9193d38bedf4df51a5c8a50.Gravatar Dmitry Lomov2016-11-21
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks bazel: http://ci.bazel.build/job/bazel-tests/329/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console *** Original change description *** Support gold linker -- MOS_MIGRATED_REVID=139810019
* Rollback of commit 1ff6d480d02ab8189ac12f8fedfbed1222b86a43.Gravatar Kristina Chodorow2016-11-21
| | | | | | | | | | | | | | | | | | | *** Reason for rollback *** This test doesn't pass *** Original change description *** Add a test verifying that bazel can be bootstrapped from the distfile To verify that the distribution artifact is complete, add a test that tries to bootstrap bazel from that artifact. -- MOS_MIGRATED_REVID=139801796
* Adds internal data binding support to Bazel, although thisGravatar Greg Estren2016-11-21
| | | | | | | | | | | | | | | | | | | | | | is not yet exposed at the user level. (https://developer.android.com/topic/libraries/data-binding/index.html). See comments in DataBinding.java for the high-level overview of how this works. This does not yet work with --experimental_use_parallel_android_resource_processing. Exposing this at the user level additionally requires: 1) making the data binding support libraries available at an expected place in the depot 2) Opting in android_binary / android_library rules through a new "enable_data_binding" attribute. -- MOS_MIGRATED_REVID=139797558
* Move intellij_info.bzl to a tool packaged with bazel.Gravatar Googler2016-11-21
| | | | | | | | This will allow use of the Skylark IDE aspect in bazel, unblocking the migration away from the native aspect. -- MOS_MIGRATED_REVID=139796095
* Use find instead of match for client_env filteringGravatar Michajlo Matijkiw2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139794968
* Provide a parallel implementation of "e1 - e2 - e3" by noting its ↵Gravatar Nathan Harmata2016-11-21
| | | | | | | equivalence to "e1 - (e2 + e3)" and the fact that we already have a parallel implementation of "e2 + e3". -- MOS_MIGRATED_REVID=139792288
* Enable parallel evaluation of 'e' in query expressions of the form ↵Gravatar Nathan Harmata2016-11-21
| | | | | | | 'buildfiles(e)'. -- MOS_MIGRATED_REVID=139787078
* Support ordering constraints on build eventsGravatar Klaus Aehlig2016-11-21
| | | | | | | | | | | | | | In the build event protocol, we promise to respect certain ordering constraints that come naturally by causality anyway (e.g., the root cause of a failure has to come before the failure). However, in the way the call structure is organized, events might occur on the event bus in wrong order. So allow events to specify that order and make the streamer honor it. -- Change-Id: I1fbe9b93681f0ddfa35d9d00d5d1b02103da38a5 Reviewed-on: https://bazel-review.googlesource.com/#/c/7370 MOS_MIGRATED_REVID=139774946
* Cut the dependency of singlejar on Bazel (the test still depend on it, but ↵Gravatar Lukacs Berki2016-11-21
| | | | | | | that's OK) -- MOS_MIGRATED_REVID=139774407
* Provide a SplitCommandLine method in the option processorGravatar Luis Fernando Pino Duque2016-11-21
| | | | | | | | | | | | | that takes a given command line args and splits it into the corresponding {binary, startup_args, command, command_args}. The purpose of this function is to help split the responsibilities of the ParseOptions function by processing the startup options independently (i.e. rc files detection and processing) from the command options. This will be combined with ParseOptions in a subsequent CL. -- MOS_MIGRATED_REVID=139773786
* Make LineBufferedOutputStream resistant to exceptions thrown while flushing ↵Gravatar Lukacs Berki2016-11-21
| | | | | | | its buffer. -- MOS_MIGRATED_REVID=139771073
* Turn on j2objc's -g flag (source debugging) by defaultGravatar Patrick Donelan2016-11-21
| | | | | | | | | Can be disabled via: --j2objc_translation_flags=-g:none -- MOS_MIGRATED_REVID=139738308
* Rollback of commit e860316559eac366d47923a8eb4b5489a661aa35.Gravatar Alex Humesky2016-11-21
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=139640949
* Skylark implementations of http_archive, new_http_archive, and http_file rules.Gravatar David Chen2016-11-21
| | | | | | | RELNOTES: Skylark implementations of http_archive, new_http_archive, and http_file. -- MOS_MIGRATED_REVID=139633771
* Update documentation of native workspace rules.Gravatar David Chen2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139615907
* ProtoCompileActionBuilder can create strict-deps-checking command lines.Gravatar Carmi Grushko2016-11-21
| | | | | | | No behavior changes, for now. -- MOS_MIGRATED_REVID=139614509
* Using an ActionFileInputCache for SHA1 digests used with remote execution.Gravatar Ola Rozenfeld2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139613925
* Provide a parallel implementation of "e1 + e2".Gravatar Nathan Harmata2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139613681
* Fixes test infrastructure bug that wrongly trims output pathsGravatar Greg Estren2016-11-21
| | | | | | | for untrimmed dynamic configs. -- MOS_MIGRATED_REVID=139612917
* Improve reliability/performance of Bazel downloadsGravatar Justine Tunney2016-11-21
| | | | | | | | | | | | | | | | 1. We now retry on connection failures. a. With exponential backoff. b. While recovering quickly from ephemeral failures. c. While still working if internet or web server is slow. 2. We now request gzip responses from web server. Fixed #1760 Fixed #1910 RELNOTES: External downloads now retry with exponential backoff and support gzip content-encoding. -- MOS_MIGRATED_REVID=139612882
* Adds support for multiple top-level dynamic configurationsGravatar Greg Estren2016-11-21
| | | | | | | (e.g. --experimental_multi_cpu). -- MOS_MIGRATED_REVID=139607063
* Sign app and frameworks in simulator builds.Gravatar Peter Schmitt2016-11-21
| | | | | | | | | This has become necessary starting with Xcode 8 although we apply the signature in all cases. Signing is done without entitlements and with signing identity "-". -- MOS_MIGRATED_REVID=139606540
* Pass direct jars to Jack.Gravatar Michael Staib2016-11-21
| | | | | | | | | | | | The R class generator produces a compiled jar, not a java source file. This means all android libraries/binaries with resources will need to convert this jar to jack to ensure that they have access to jars. This change will not fix Jack builds, but it is a necessary step toward fixing them. -- MOS_MIGRATED_REVID=139599250
* Better error message for experimental_objc_library targets built with aGravatar Cal Peyser2016-11-21
| | | | | | | crosstool that does not support objc. -- MOS_MIGRATED_REVID=139598484
* Extra-actions originating in Aspects are reported even if the rule we attach ↵Gravatar Carmi Grushko2016-11-21
| | | | | | | | | | | | | | | | | to also registers extra-actions. ExtraActionArtifactsProvider was using a set of ExtraArtifactSet, whose key was derived from the label of the owner of the extra-action. Since actions registered by Aspects have the same label as those registered by the base rule, the former ones would disappear from the set. An alternative to this CL would be to use an ArtifactOwner instead of a label as the key of the ExtraArtifactSet, but 1. BuildView only has access to ConfiguredTarget's, which lack the information to manipulate ArtifactOwner's; and 2. I don't see what ExtraArtifactSet gains us. In particular, ExtraArtifactSet.getLabel() is not used by anything outside of ExtraArtifactSet. The only disadvantage of this CL is that filtering (--experimental_extra_action_filter) can be slower if targets register a massive number of actions. Before this CL, we would match a single label per rule, while after this CL we match a single label per action. -- MOS_MIGRATED_REVID=139591862
* Fix a test case that didn't trigger Swift runtime packagingGravatar Dmitry Shevchenko2016-11-21
| | | | | | | * The fact that this test case did not have any real Swift code caused swift-stdlib-tool to avoid packaging any runtime libraries. This situation, while virtually impossible in real world applications, is blocking the new signing logic introduced in -- MOS_MIGRATED_REVID=139591619
* Remove 'test' prefix from test names in SkylarkAspectTest.Gravatar Dmitry Lomov2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139583908
* Implement structural equality for structsGravatar Vladimir Moskva2016-11-21
| | | | | | | RELNOTES: Structs in Skylark are tested for structural equality instead of reference equality. -- MOS_MIGRATED_REVID=139583726
* Have Bazel use the the prebuilt guava jars from the 21.0-20161101 daily ↵Gravatar Nathan Harmata2016-11-21
| | | | | | | build. See https://bazel-review.googlesource.com/#/c/7270/ for details. -- MOS_MIGRATED_REVID=139580987
* Release script: add a --force_rc command to override the candidate numberGravatar Damien Martin-Guillerez2016-11-21
| | | | | | | -- Change-Id: I9eb4897dd65e1f63fb4a1ff59ba901f81cd2e6c0 Reviewed-on: https://cr.bazel.build/7336 MOS_MIGRATED_REVID=139580860
* Implement 'output_groups' provider.Gravatar Dmitry Lomov2016-11-21
| | | | | | | | | | This behavior - that 'output_groups' is a provider available on targets and aspects - has been accidental, but people already depend on it. This CL keeps that behavior, while fixing the bug that two aspects could not both provide output groups. -- MOS_MIGRATED_REVID=139578378
* Move Bazel-specific functions in a separate file.Gravatar Laurent Le Brun2016-11-21
| | | | | | | | "type", "set" and "select" should not be part of the standalone Skylark library. -- MOS_MIGRATED_REVID=139578095
* The fully link action in experimental_objc_binary has crosstool inputs.Gravatar Cal Peyser2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139576152
* Add a test verifying that bazel can be bootstrapped from the distfileGravatar Klaus Aehlig2016-11-21
| | | | | | | | | | To verify that the distribution artifact is complete, add a test that tries to bootstrap bazel from that artifact. -- Change-Id: I40ea0054efee9a4fa11f2c9088a076ad07d03ff2 Reviewed-on: https://bazel-review.googlesource.com/#/c/7452 MOS_MIGRATED_REVID=139575188
* Add a design doc on how to invalidate (Skylark) remote repositoriesGravatar Damien Martin-Guillerez2016-11-21
| | | | | | | -- Change-Id: I86660a0101261b42a06bb94afe0bc9f0bc5e5528 Reviewed-on: https://cr.bazel.build/6697 MOS_MIGRATED_REVID=139574326
* Allow labels in the '--aspects' parameter.Gravatar Dmitry Lomov2016-11-21
| | | | | -- MOS_MIGRATED_REVID=139573590
* compile_windows.sh: Fix zipping Windows Bazel binaryGravatar Yun Peng2016-11-18
| | | | | -- MOS_MIGRATED_REVID=139573133