| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Fixes #352.
RELNOTES: Files in external repositories are now treated as mutable, which will make the correctness guarantees of using external repositories stronger (existent), but may cause performance penalties.
--
MOS_MIGRATED_REVID=109676408
|
|
|
|
|
|
|
|
|
| |
They accumulate indefinitely and take up space.
--
Change-Id: I74c7ffd795b21793f8654e0e30785e1b8ba99ca4
Reviewed-on: https://bazel-review.googlesource.com/#/c/2510/
MOS_MIGRATED_REVID=109656651
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109649366
|
|
|
|
|
|
|
| |
auto-complete flags
--
MOS_MIGRATED_REVID=109595089
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109587887
|
|
|
|
|
|
|
|
| |
We wind up hitting this code path each time we call a user defined function
to calculate a pretty string for profiling purposes.
--
MOS_MIGRATED_REVID=109580385
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109579490
|
|
|
|
|
|
|
|
|
|
|
|
| |
We achieve this by computing the directory symlink's metadata hash, which the
Google-internal Fileset rule writes in the fileset_manifest file, from the
hashes of all files under it. This adds complexity but is necessary, because
the symlink's FileStateValue remains the same even if the directory's contents
change, so the FileStateValue alone is inadequate to compute the metadata for
the fileset_manifest.
--
MOS_MIGRATED_REVID=109577723
|
|
|
|
|
|
|
|
|
| |
filter on edge types (eg, implicit deps).
In this case we can avoid doing an iteration over a potential reverse dependency's dependencies, since all edges are assumed to be valid.
--
MOS_MIGRATED_REVID=109575545
|
|
|
|
|
|
|
|
|
|
|
| |
and InvalidResourcePath.
Mainly to make the error handling in the Android code more similar to the rest of the code. There are a few more if statements, but I think the fact that AndroidIdeInfoProvider#addResourceSource didn't catch this unchecked exception vindicates this decision.
DIFFBASE=108487079
--
MOS_MIGRATED_REVID=109566747
|
|
|
|
|
|
|
|
|
|
| |
This is a subtle change that'll go a long way: there's a bug in the handling of
directory symlinks (changes in the link target are not picked up) which I'll
fix by combining the metadata hashes of all items in the directory, and use
that as the directory symlink's metadata hash.
--
MOS_MIGRATED_REVID=109564943
|
|
|
|
|
|
|
|
| |
Using this class it's easier to create ResolvedFile instances for tests that
don't care about metadata eqality.
--
MOS_MIGRATED_REVID=109562578
|
|
|
|
|
|
|
| |
Also remove unnecessary `type` members; they are constant.
--
MOS_MIGRATED_REVID=109560348
|
|
|
|
|
|
|
|
|
| |
The code changes are mostly due to dslomov, not me, although I refactored
the Jvm class a bit based on his changes. I set dslomov as the author.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/688
MOS_MIGRATED_REVID=109536553
|
|
|
|
|
|
|
| |
RELNOTES: Fix resource handling for exported android_library rules
--
MOS_MIGRATED_REVID=109532253
|
|
|
|
|
|
|
| |
As a prerequisite, AnalysisUtils.checkProvider now accepts non-final classes, as long as they have a private/package-private parameterless constructor, which offers similar protection - the provider can't be subclassed outside of its package.
--
MOS_MIGRATED_REVID=109447292
|
|
|
|
|
|
|
| |
AutoValue_* classes from being provider keys.
--
MOS_MIGRATED_REVID=109440137
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109420721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the class structure, moving from inheritance to implementation
and composition. In particular, it turns the abstract base class ResolvedFile
into an interface which the earlier subclasses now simply implement rather than
extending it.
This change makes the code cleaner: implementors may write more complicated
getters (and that's my plan to do in a subsequent CL) instead of just returning
the members.
--
MOS_MIGRATED_REVID=109405650
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109404922
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109398431
|
|
|
|
|
|
|
| |
Also remove the unnecessary state check.
--
MOS_MIGRATED_REVID=109396856
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109395850
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109337486
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109305952
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109295552
|
|
|
|
|
|
|
|
| |
This is necessary for Bazel to print the path to the log as part of the
test summary at the end of a build.
--
MOS_MIGRATED_REVID=109199512
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109195426
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109019357
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
MOS_MIGRATED_REVID=109005097
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108986856
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108985661
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108964575
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108862983
|
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: Skylark macros are now enabled in WORKSPACE file.
Design document at https://docs.google.com/document/d/1jKbNXOVp2T1zJD_iRnVr8k5D0xZKgO8blMVDlXOksJg/preview
Fixes #337
--
MOS_MIGRATED_REVID=108860301
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108779139
|
|
|
|
|
|
|
|
|
| |
attributes. This might not be the correct behavior in the long run, but it seems like a much better choice
compared to completely ignoring configurable attributes.
--
MOS_MIGRATED_REVID=108778853
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108777987
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108777120
|
|
|
|
|
|
|
|
|
|
|
| |
1. attr.<type> functions return a wrapper object instead of
Attribute.Builder dierctly.
2. RuleClass is created once per the life-time of RuleFunction, during
export
3. Attributes are added to the RuleClass at exporting.
--
MOS_MIGRATED_REVID=108774581
|
|
|
|
|
|
|
| |
Check that the file exists before we try to get its digest and add a flag indicating its existence to the fingerprint.
--
MOS_MIGRATED_REVID=108771918
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108740689
|
|
|
|
|
|
|
| |
Reduces garbage.
--
MOS_MIGRATED_REVID=108707405
|
|
|
|
|
|
|
|
|
| |
This is accomplished by saving a proto of the repository rule in the output tree, then comparing it to that of the previous version. This makes HTTP_DOWNLOAD_CHECKER somewhat superfluous because it only matters if the external repository directory is modified manually.
Local repository implementations are not included, mainly because the symlinking is cheap (maybe they should be for reasons of symmetry?)
--
MOS_MIGRATED_REVID=108706396
|
|
|
|
|
|
|
| |
"bin"/"genfiles" instead of the default ones)
--
MOS_MIGRATED_REVID=108699595
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108691743
|
|
|
|
|
|
|
| |
RepositoryValue and not depending it from repository functions.
--
MOS_MIGRATED_REVID=108685867
|
|
|
|
|
|
|
|
|
|
| |
This is necessary to be able to verify that the network sandbox is
active using ifconfig, for example.
--
Change-Id: Ia3ea16e18cf1d280f31870c867e56336bb48e7bd
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2361
MOS_MIGRATED_REVID=108685498
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108659943
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108645176
|