| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assuming "all" fulfills "foo", these should be exactly the same (and
maybe we should trigger a redundant listing error). In practice, it's
possible to make the first case succeed while the second fails because of
environment refining and lack of static constraint checking for selects.
See changes for details.
Also refactor ConstraintSemantics.checkConstraints to divide and conquer more clearly.
PiperOrigin-RevId: 158047217
|
|
|
|
|
|
| |
https://bazel-review.googlesource.com/c/11690/.
PiperOrigin-RevId: 158046253
|
|
|
|
| |
PiperOrigin-RevId: 158041525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
Cherry picks:
+ c58ba098526b748f9c73e6229cafd74748205aa1:
Release to GCS: put the final release in its own directory
+ 0acead4ea3631240659836ce6ecd6d7f67fd352b:
Update protobuf to latest master at a64497c and apply
@laszlocsomor's latest changes from
https://github.com/google/protobuf/pull/2969 on top of it.
+ d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
Make symlinks consistent
+ d953ca8b87a46decbce385cebb446ae0dd390881:
Clean VanillaJavaBuilder output directories
+ 755669fb5de1f4e762f27c19776cac9f410fcb94:
Pass all the environment variable to Bazel during bootstrapping
+ 6f041661ca159903691fcb443d86dc7b6454253d:
Do not mark the JDK7 installer -without-jdk-installer
+ 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
Fix #2958: Installer should not overwrite bazelrc
+ 511c35b46cead500d4e76706e0a709e50995ceba:
Bootstrap: move the fail function to the top
+ 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
Clean up javac and Error Prone targets
+ 4a404de2c6c38735167e17ab41be45ef6fc4713a:
Update javac version to 9-dev-r4023-2
+ 36ce4b433e19498a78c34540d5a166d4e0006b22:
Update javac version to 9-dev-r4023-2
+ 38949b8526bdb3e6db22f3846aac87162c28c33f:
Migrate off versioned javac and Error Prone targets
+ 1a57d298f8aa6ea8136d93223902104f2479cd2a:
Re-enabling passing -sourcepath via javacopts.
+ eb565f408e03125e92d42b00756e519795be6593:
Make make sure that msys build actually builds msys version
+ 39f328cf392056618d1a3ead4835a138b189a06d:
Fix typo. Also do not override host_cpu for msvc.
+ 624802893f4fe72118f00a78452605d41a2e1c6f:
Select correct JDK for windows_msys
+ c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
Automated g4 rollback of commit
3e5edafa2a04a71cd3596e929e83222da725f3f9.
+ 926180997a0f296a5a009326aead887279ce0a90:
Remove process-tools.cc which I forgot to delete during the last
rollback.
+ baca6e4cb023649920871b74810927d304729e59:
Fix #2982: Bazel installer should not check for installed JDK if
using a bundled JDK.
+ 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
Disable msys path conversion on Windows.
+ cc21998c299b4d1f97df37b961552ff8168da17f:
Rollforward #2 of: Basic open-source crosstool to support
targeting apple platform types.
+ 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
Escape % in strings that will appear in Crosstool
+ 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
Adding feature for linking C Run-Time library on Windows
+ 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
Do not use sed -E in bootstrap/compile.sh
+ c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
Reverts non-xcode-available darwin crosstool generation.
Important changes:
- Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A few changes:
1. Remove the ApkSigningMethod input. We always read this from
AndroidConfiguration, callers shouldn't need to pass it in.
2. Add a signingKey attribute. This will be needed for dex2oat to pass in
whatever key was used to sign the input APKs.
3. Unify the resourceApk and nativeLibsZips into a "addInputZip(s)" methods.
This can also be used for inputting an existing APK, such as the one from
dex2oat.
RELNOTES: None
PiperOrigin-RevId: 157973679
|
|
|
|
|
|
|
|
|
|
|
| |
If a directory that is being bind mounted has a subdirectory that is a mount
point (e.g.: tmpfs on /tmp/tmp), then the MS_BIND mount() call will fail with
invalid argument.
Fixes #3064.
RELNOTES: None.
PiperOrigin-RevId: 157973469
|
|
|
|
|
|
|
|
| |
existing directory writable when running actions.
RELNOTES: Added a new flag --sandbox_writable_path, which asks the sandbox to
make an existing directory writable when running actions.
PiperOrigin-RevId: 157971858
|
|
|
|
|
|
|
| |
classpath. Now it prints the name of the class that is under desugaring.
RELNOTES: n/a
PiperOrigin-RevId: 157889131
|
|
|
|
| |
PiperOrigin-RevId: 157878648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Automated g4 rollback of commit de92f9d8ea093416fae999073bbfcf3cf501ab55).
*** Reason for rollback ***
The problems that forced commit de92f9d8ea093416fae999073bbfcf3cf501ab55 were fixed in commit e6392cd380fce14d719890c78d5eb2657e8a6cfc .
*** Original change description being rolled forward ***
Implement dynamically configured LIPO builds.
Quick overview:
- provide a dynamic interface for getting the artifact owner
configuration
- provide a (dynamic) RuleTransitionFactory LIPO_ON_DEMAND to replace
the (static) RuleClass.Configurator LIPO_ON_DEMAND. Eventually
we'll remove the rule class configurator interface entirely....
***
ROLLBACK_OF=156180015
PiperOrigin-RevId: 157865224
|
|
|
|
|
| |
Change-Id: I98fd671af858c402b10bb5ef59735d83d4003593
PiperOrigin-RevId: 157863146
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157857216
|
|
|
|
|
|
|
| |
thrown when PackageFunction encounters such an IOException when reading the contents of a BUILD file.
RELNOTES: None
PiperOrigin-RevId: 157853283
|
|
|
|
|
|
| |
ObjcProvider.
PiperOrigin-RevId: 157850516
|
|
|
|
|
|
|
| |
This is consistent with other usage.
RELNOTES: NONE.
PiperOrigin-RevId: 157849696
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157847930
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 157837746
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157833033
|
|
|
|
|
|
| |
The C++ implementation of SingleJar, which is available in Bazel, but not yet the default, doesn't support persistent worker mode, so this causes issues when you try to use it.
PiperOrigin-RevId: 157831362
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows `bazel clean` to delete this file.
See https://github.com/bazelbuild/bazel/issues/1586
See https://github.com/bazelbuild/bazel/issues/1906
See https://github.com/bazelbuild/bazel/issues/2480
See https://github.com/bazelbuild/bazel/issues/3043
Change-Id: I245f368c2f2564511bbe6f06193a3ead49724d7b
PiperOrigin-RevId: 157818284
|
|
|
|
| |
PiperOrigin-RevId: 157809651
|
|
|
|
|
| |
Change-Id: I45d0cf8e5096ad4ab516af5ddaa98eea8d516c04
PiperOrigin-RevId: 157788771
|
|
|
|
|
|
|
| |
in the transitive closure of robolectric tests.
RELNOTES: None
PiperOrigin-RevId: 157762190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interrupted eagerly
The original code swallows the InterruptedException, sets the interrupt bit and
stops new tasks from being submitted. However it does not actively send an
interrupt signal to all running and pending tasks already in the pool. It is
partly due to the misleading syntax of awaitTermination, which actually quitely
waits for all tasks to exit even if interruptWorkers is set to true. Both
errors are fixed in this change.
RELNOTES: None
PiperOrigin-RevId: 157762029
|
|
|
|
|
|
|
| |
These do not make sense since aar_import does not compile any java but are inherited from JavaBaseRule.
RELNOTES: None
PiperOrigin-RevId: 157751090
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a subtle integration bug between PatchTransition, ConfiguredTargetFunction, and DependencyResolver.
Short story: ConfiguredTargetFunction.getDynamicConfigurations assumes at most one <Attribute, Label, Transition> entry per configured target dep. DependencyResolver.dependentNodeMap faithfully supplies this by returning an OrderedSetMultimap<Attribute, Dependency>, where each Dependency is a <Label, Transition>. OrderedSetMultimap guarantees no <key, value> repeats, but if you have two semantically equal EnableLipoTransition instances that don't satisfy .equals(), deduping fails.
Most PatchTransitions don't have this problem because they're singletons. But each EnableLipoTransition is instantiated with a Rule, so singletons don't work here.
This problem can only happen when a rule has multiple instances of the same C++ dep under the same attribute. But this isn't actually possible for normal attributes like "deps" because they don't allow duplicates (see RuleClass#checkForDuplicateLabels). Only non-LABEL_LIST attributes can trigger this.
PiperOrigin-RevId: 157733284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Use Java implementation of singlejar on FreeBSD, and roll forward change 157473007.
*** Original change description ***
Automated g4 rollback of commit d894345ed88f8adce600b66a310b5210d0bcb59c.
*** Reason for rollback ***
Breaks Bazel on FreeBSD: http://ci.bazel.io/view/Dashboard/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=freebsd-11/1542/console
*** Original change description ***
Use cc implementation of singlejar except on Windows.
Change-Id: Ie4a2db2a6fa1ea86f4bdd42cd806f6804a0c56d4
PiperOrigin-RevId: 157729503
|
|
|
|
|
|
|
|
|
|
| |
It was already effectively mandatory. The build would fail if you did not have
the manifest attribute set, but this provides a better error message.
Fixes https://github.com/bazelbuild/bazel/issues/3090.
RELNOTES: None
PiperOrigin-RevId: 157719024
|
|
|
|
|
|
|
|
| |
The src/test/java/c/g/dt/build/lib/skyframe/packages was not included in the srcs
and we were not seeing it because the test was dropped at some point from ci.bazel.io.
Change-Id: Ief0f1ce0937e745193f76a3a8942c2049ed66ef5
PiperOrigin-RevId: 157708941
|
|
|
|
|
|
|
|
|
|
|
| |
If console output limiting is enabled in the actual output stream
is wrapped in a CountingOutputStream to hard-limit the number of
bytes written. As on the console, the two streams, stdout and stderr,
might interleave, proper flushing of writes is important. Therefore,
make sure flushing is propagated through the CountingOutputStream.
Change-Id: I591a2a1ae798a9d8ef704118b22960ff9773a59e
PiperOrigin-RevId: 157707049
|
|
|
|
|
|
|
| |
The blog post is stored here: https://github.com/bazelbuild/bazel-blog/blob/master/_posts/2017-05-31-google-summer-of-code-2017.md
RELNOTES: None
PiperOrigin-RevId: 157703951
|
|
|
|
|
|
|
|
|
|
|
| |
When building with timestamps enabled, it is useful to know the date
as well, e.g., when later looking at logs. This, however, is not the
case if the command does not build (e.g., "bazel help", "bazel query"),
or, in general, if the first output is only produced after the command
is completed.
Change-Id: I75ef38fbb98e886b1dc38899efa10188055f87e2
PiperOrigin-RevId: 157700578
|
|
|
|
| |
Change-Id: I2ba2f89828ce21261f9326815d47d8d4bc8d7dce
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Unix system, `ln -s foo bar` will create an dangling symlink bar -> foo
even foo doesn't exist. The current implementation of createSymbolicLink for
Windows fails in this situtation. And this lead to #2474.
In this change, we create a dangling junction when the target doesn't exist
which mimics the behavior on Unix.
Fixed https://github.com/bazelbuild/bazel/issues/2474
Change-Id: I442ca3e2fb20b76c9b5bbfee903299fe51481f43
PiperOrigin-RevId: 157694631
|
|
|
|
|
| |
RELNOTES: Use action_config in crosstool for static library archiving, remove ar_flag.
PiperOrigin-RevId: 157685703
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157685150
|
|
|
|
|
|
|
|
| |
The only call site passes single artifacts. Some of the read sites assert that
the NestedSet contains only one element.
RELNOTES: None
PiperOrigin-RevId: 157635897
|
|
|
|
|
|
|
|
| |
The no_ prefix was initially undocumented, but its support has over time
lead to a number of inconsistencies.
RELNOTES: --no_ prefix no longer recognized.
PiperOrigin-RevId: 157631435
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157630000
|
|
|
|
|
|
|
| |
- Remove reference to SelectorValue: an internal Bazel definition
- Clarify that "select" means configurable attributes
PiperOrigin-RevId: 157629959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will be used to add some tests and targets to the Bazel codebase that build and run successfully when android_sdk_repository is in the WORKSPACE and silently skip if it is not.
Example deps of a library that links against dx.jar:
```
deps = select({
"//external:has_androidsdk": ["//external:android/dx_jar_import"],
"//conditions:default": [],
}),
```
Also adds tests that config_setting works as expected when propagated through an alias or bind rule.
RELNOTES: None
PiperOrigin-RevId: 157627472
|
|
|
|
|
|
|
|
| |
This also guarantees consistency between toString()
calls to lib.syntax.SelectorList and
lib.packages.BuildType.SelectorList.
PiperOrigin-RevId: 157617509
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #3004.
Change-Id: I6dcef92e9f23df574e0874a81b2901754042cf9a
Closes #3085.
Change-Id: I6dcef92e9f23df574e0874a81b2901754042cf9a
PiperOrigin-RevId: 157612661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new docs/ directory in the bazel source tree will only contain the Bazel
docs site, which is hosted at docs.bazel.build. This change deletes the
marketing site and blog, which have been migrated to the bazel-website and
bazel-blog GitHub repositories respectively.
This change also updates the serve-docs.sh and ci/build.sh under scripts/ in
preparation for publishing the docs site.
Note that to help make reviews more manageable, this change is limited to
moving files to their new locations. Here are the follow-up changes:
* Update all links in docs to remove versions/master in paths and to add
correct bazel.build subdomain when linking to pages on the marketing site
or the blog.
* Set up versioned directories on GCS bucket and add tooling for versioning
docs
This change is also coordinated with
https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job
publish to docs.bazel.build rather than www.bazel.build.
Issue #2397
RELNOTES: None
PiperOrigin-RevId: 157612651
|
|
|
|
|
|
| |
Fixes #2960.
PiperOrigin-RevId: 157604844
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Aliases mess with the assumption that
attributeValue.containsKey(target.getLabel())
for every target in the prerequisites of a LABEL_KEYED_STRING_DICT
attribute.
The solution is to use AliasProvider.getDependencyLabel(target) instead.
This fixes it for all current users, including SkylarkRuleContext.
This also adjusts config_setting flag_values and Android feature_flags
to do intelligent things with aliases in their respective attributes.
RELNOTES: None.
PiperOrigin-RevId: 157594095
|
|
|
|
|
|
|
|
|
| |
Setting this flag to false makes Bazel exit with an error on undefined configs. The default value is true, so this change has no impact unless users explicitly pass --noallow_undefined_configs.
This change supersedes an unmerged one, I'm taking the problem from fkp@.
Credit to him for the original change.
PiperOrigin-RevId: 157593338
|
|
|
|
|
|
|
|
| |
On finding a visibility error, report it directly for that target, instead of
relying on the implict "abort" message for targets that have not been built.
Change-Id: I5e45722a1117afca3bc8eeebd05179425b995172
PiperOrigin-RevId: 157592518
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157585956
|
|
|
|
| |
Change-Id: Ic3dfbef70b83f43a2cde352de977a8f23e5e7a54
|