| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
inputs/outputs in j2objc_library behind flag --experimental_j2objc_annotation_processing
Also added flag --experimental_zip_tree_artifact to switch on and off the zipping implementation of tree artifact generation.
--
MOS_MIGRATED_REVID=128586669
|
|
|
|
|
|
|
| |
Fixes #1570.
--
MOS_MIGRATED_REVID=128585415
|
|
|
|
|
|
|
| |
inheriting a copy of the server's environment.
--
MOS_MIGRATED_REVID=128584538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for general readability.
Major changes:
- Remove the intermediate Attribute -> LabelAndConfiguration multimap (computed in resolveAttributes). Instead, feed discovered values directly into the final Attribute -> Dependency map via a new RuleResolver interface.
- Remove all references to LabelAndConfiguration. The configuration is always the owning rule's configuration except for two special cases: late-bound attributes with splits and late-bound attributes with LateBoundDefault.useHostConfiguration. The original interface made this very unclear and required a lot of awkward and sometimes incorrect logic. The new interface only involves configurations for the cases that actually need them.
- Remove an ugly hack caused by BuildConfiguration.evaluateTransition mixing poorly with LateBoundDefault.useHostConfiguration (https://github.com/bazelbuild/bazel/blo[]e172693c27f3efc95ed163e43a9f0a7a6fb4017/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java#L488).
- Remove a hack that applies split transitions twice because of BuildConfiguration.evaluateTransition mixing poorly with late-bound split attributes (https://github.com/bazelbuild/bazel/blo[]e172693c27f3efc95ed163e43a9f0a7a6fb4017/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java#L319). This happens to be innocent now but won't be when nested splits are possible.
- Solidifies the API contract for Attribute.LateBoundDefault.useHostConfiguration.
- Applies clearer naming and more consistent ordering to method parameters.
- Better documentation.
This is all also prep work for dynamic split transitions.
tl;dr: late-bound attributes are legitimately special. Treat them that way to make the rest of DependencyResolver cleaner and hack-free.
--
MOS_MIGRATED_REVID=128582618
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128582295
|
|
|
|
|
|
|
|
|
|
| |
Adds a linker flag to set the internal DT_SONAME. This fixes #1578 for
SDK 24 and removes the warnings for previous SDKs. There is no need to
set the linker flag for android_librarys that depend on native code,
because the linker flag will be set by the android_binarys that depend
on that android_library.
Change-Id: I0d4fd78ffaf03c19ae3712bdeb28a52722a22f6f
|
|
|
|
|
|
|
|
|
| |
Fixes #1577
--
Change-Id: I81343d611490263bc7e16dedfbbc56f9f988f63d
Reviewed-on: https://bazel-review.googlesource.com/#/c/4170
MOS_MIGRATED_REVID=128576630
|
|
|
|
|
|
|
|
| |
This test is timeout flaky (#1560) and the flake seems like genuine. While
waiting for a proper fix, deactivate this test on ci.bazel.io.
--
MOS_MIGRATED_REVID=128571273
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128565586
|
|
|
|
|
|
|
| |
the transitive closure instead of having a global environment in the configuration.
--
MOS_MIGRATED_REVID=128559756
|
|
|
|
|
|
|
| |
purposes of license checking instead of having a bespoke method in BuildConfiguration.Fragment and encoding knowledge about static linking in buildtool/ .
--
MOS_MIGRATED_REVID=128557444
|
|
|
|
|
|
|
|
|
| |
Control strict-deps through a rule-level and a package-level attribute, allowing finer-grained migration in conjunction with a global flag.
RELNOTES: java_proto_library: control strict-deps through a rule-level and a package-level attribute.
--
MOS_MIGRATED_REVID=128542363
|
|
|
|
|
|
|
|
|
| |
directory to make documentation changes.
Bug: #579
--
MOS_MIGRATED_REVID=128533607
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128510907
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move all Bazel docs (excluding main page, search page, and blog)
into versions/master directory.
* Replace all original pages with redirects.
* Add Jekyll config with default_version setting to specify the default
version to redirect docs to.
* Add Jekyll config with version_prefix setting specific to pages under
each version directory.
* Update layouts to generate links to pages for the same version with the
version_prefix.
* Update Blaze release script to copy docs from
third_party/bazel/site/versions/master
Changes to follow this CL:
* Separate navigation from layouts so that navigation can be versioned
as well.
* Add tool for cutting a release of Bazel docs and copies them into a new
version directory.
Bug: #579
--
MOS_MIGRATED_REVID=128510319
|
|
|
|
|
|
|
| |
parameters conveying the requesting node (if any), the requested node(s), as well as a reason for the skyframe graph lookup. Alternate graph implementations may be interested in this information.
--
MOS_MIGRATED_REVID=128496089
|
|
|
|
|
|
|
| |
infrastructure to allow other artifact categories (such as debug symbols or compiler outputs) to be defined in other changes.
--
MOS_MIGRATED_REVID=128495797
|
|
|
|
|
|
|
| |
behavior (passing -1 modified time should use system time).
--
MOS_MIGRATED_REVID=128489592
|
|
|
|
|
|
|
| |
inputs/outputs.
--
MOS_MIGRATED_REVID=128485838
|
|
|
|
|
|
|
| |
Also clarify that the returned list is immutable.
--
MOS_MIGRATED_REVID=128482720
|
|
|
|
|
|
|
|
| |
* Re-add proguard mapping file handling to ResourceShrinker to handle the fully Proguarded code, potentially including an obfuscation step.
* Update android_binary to provide the resource shrinker with the standard Proguard jar and obfuscation mapping instead of a custom built shrunk jar.
--
MOS_MIGRATED_REVID=128476602
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128476121
|
|
|
|
|
|
|
|
|
|
| |
AndroidResourceSupportRule. This removes the exports_manifest attribute from
AndroidBinaryBaseRule and its children.
RELNOTES: Removes exports_manifest attribute from android_binary rule.
--
MOS_MIGRATED_REVID=128472120
|
|
|
|
|
|
|
| |
instead of a hardcoded switch. Add action configs to CppConfiguration for each link type.
--
MOS_MIGRATED_REVID=128470872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Address the TODO about using toString in the
TreeMap comparator by using DataKey#compareTo.
Also, use the entrySet to iterate K-V pairs
instead of calling get(key).
Synthetic benchmark w/ 10000 random keys:
Before: 260ms to serialize
After: 33ms to serialize
Less of a difference when there are few keys.
--
MOS_MIGRATED_REVID=128469407
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128468615
|
|
|
|
|
|
|
| |
--
Change-Id: I4926b820dbab3c218ad6ead8bc6eb7b781dedd00
Reviewed-on: https://bazel-review.googlesource.com/#/c/4162
MOS_MIGRATED_REVID=128465857
|
|
|
|
|
|
|
| |
--
Change-Id: I8c0b6adf08a4ca64ad41e0454cb30842c133fa22
Reviewed-on: https://bazel-review.googlesource.com/#/c/4161
MOS_MIGRATED_REVID=128465441
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128463789
|
|
|
|
|
|
|
| |
The structure is now: Platform, installation method.
--
MOS_MIGRATED_REVID=128461668
|
|
|
|
|
|
|
| |
--
Change-Id: I2c5f09b10430963a1668ec7c842992bc89bfd7b4
Reviewed-on: https://bazel-review.googlesource.com/#/c/3982
MOS_MIGRATED_REVID=128453417
|
|
|
|
|
|
|
|
|
|
| |
GetNullaryOption() is a function whose return type is bool, which can
only return two possible values, true or false, and thus can not return NULL.
--
Change-Id: If9fc622d7132b15268bdcc76aed8d04fe5b92bc7
Reviewed-on: https://bazel-review.googlesource.com/#/c/4140/2
MOS_MIGRATED_REVID=128448779
|
|
|
|
|
|
|
| |
class in zip_headers_test.
--
MOS_MIGRATED_REVID=128444529
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128421303
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128405574
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128401550
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128391351
|
|
|
|
|
|
|
|
|
|
|
| |
The new merger doesn't use addToResourceSet(),
modify(), etc.
Also, since modify() is unused, remove the DirectoryModifier
objects and reduce BUILD deps.
--
MOS_MIGRATED_REVID=128387448
|
|
|
|
|
|
|
| |
its deps on "outs" and "executable" because they're not configurable.
--
MOS_MIGRATED_REVID=128385721
|
|
|
|
|
|
|
|
|
|
|
| |
Resolving them shows up as a hotspot in genquery-heavy builds.
Also fix a bug where we would throw a RuntimeException rather than a
checked exception if the query tried to access something outside this
scope.
--
MOS_MIGRATED_REVID=128379113
|
|
|
|
|
|
|
|
|
|
|
|
| |
Address the following warnings from the compiler:
* "control reaches end of non-void function [-Wreturn-type]"
* "dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]"
* "ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]"
* "ignoring return value of 'int ftruncate(int, __off_t)', declared with attribute warn_unused_result [-Wunused-result]"
* "ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result]"
--
MOS_MIGRATED_REVID=128375065
|
|
|
|
|
|
|
| |
and some minor clean-ups.
--
MOS_MIGRATED_REVID=128371398
|
|
|
|
|
|
|
| |
This makes For clauses have the same semantics as For loops.
--
MOS_MIGRATED_REVID=128368124
|
|
|
|
|
|
|
| |
Removes a noticeable hotspot from LabelValidator.validateTargetName().
--
MOS_MIGRATED_REVID=128359980
|
|
|
|
|
|
|
|
| |
This does not affect the loop's iteration. Similar work is needed for
comprehension For clauses.
--
MOS_MIGRATED_REVID=128357769
|
|
|
|
|
|
|
|
|
| |
This is called only from Package$Builder.checkForInputOutputConflicts()
which just wants the name of each input label; there's no need to sort
or deduplicate.
--
MOS_MIGRATED_REVID=128355375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks TensorFlow and rules_go on ci.bazel.io
Fixes #1562.
Fixes #1558.
*** Original change description ***
Refactor CppLinkAction to construct its command line using the crosstool instead of a hardcoded switch. Add action configs to CppConfiguration for each link type.
--
MOS_MIGRATED_REVID=128352435
|
|
|
|
|
|
|
|
|
| |
Fixes #1561.
--
Change-Id: I0527edaca9d429157e0db45e4406288ade12e369
Reviewed-on: https://bazel-review.googlesource.com/#/c/4157
MOS_MIGRATED_REVID=128351878
|
|
|
|
| |
MOS_MIGRATED_REVID=128348972
|
|
|
|
|
|
|
|
|
|
|
| |
It was timeout flaky on ci.bazel.io
Fixes #1559.
--
Change-Id: Ie116fd70cf167ac152782f766b9ae541cc041ab4
Reviewed-on: https://bazel-review.googlesource.com/#/c/4156
MOS_MIGRATED_REVID=128347912
|