| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Also inject the EventHandler all the way through to the SkyframeExecutor.
--
MOS_MIGRATED_REVID=104094731
|
|
|
|
|
|
|
| |
It seems unused, and the Bazel dashboard is more useful, as can persist results.
--
MOS_MIGRATED_REVID=104085798
|
|
|
|
|
|
|
|
|
|
| |
These outputs are a jar and source jar for the results of aidl processing.
This is used to add aidl output to IDEs separate from the source code,
similar to annotation output (gen jars).
--
MOS_MIGRATED_REVID=104024453
|
|
|
|
|
|
|
|
|
| |
It doesn't contain any state anymore, so creating a new instance per command
is safe. On the other hand, it would be just as safe to merge the remaining
code into SkyframeBuildView, which we might do in the future.
--
MOS_MIGRATED_REVID=104010694
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104009600
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was mainly used for testing during the transition phase to Skyframe. The
only reason I can see to keep it would be to have test coverage that changing
the configuration drops the configured targets. However, do we even want that?
I tried to find out whether it's safe to remove that check (the corresponding
comment is outdated), but couldn't find where (if anywhere) we're doing
garbage collection of old configured targets.
--
MOS_MIGRATED_REVID=104009210
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104008237
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103986912
|
|
|
|
|
|
|
| |
This means we no longer need an event handler on the object itself.
--
MOS_MIGRATED_REVID=103982299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The only implementation of TransitivePackageLoader at this point is in
SkyframeLabelVisitor, which by itself does not keep any state; it relies on
Skyframe to do all the caching.
Creating a new one per run should ensure that we don't accidentally keep state
there, and also reduces memory consumption (a little), because it can now be
garbage collected after the loading phase. As a side effect, we no longer need
to create an instance if we're using the simplified loading phase.
--
MOS_MIGRATED_REVID=103979794
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103977080
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103975426
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103975222
|
|
|
|
|
|
|
|
|
|
| |
This unfortunately requires injecting an EventHandler into the
getTargetForLabel call, which is not super nice. On the other hand, it's not
clear how this can be much better - looking up targets in the cycle reporter
doesn't lend itself to prettiness.
--
MOS_MIGRATED_REVID=103965373
|
|
|
|
|
|
|
| |
In preparation for removing SkyframeExecutor.errorEventListener.
--
MOS_MIGRATED_REVID=103960561
|
|
|
|
|
|
|
| |
Gah.
--
MOS_MIGRATED_REVID=103959841
|
|
|
|
|
|
|
|
|
|
|
| |
Any rule in that black list will be skipped during build encyclopedia
generation.
This is for supporting outside documentation of rules that have a
different documentation internally.
--
MOS_MIGRATED_REVID=103958542
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103947930
|
|
|
|
|
|
|
|
| |
This is another case of uninterruptible evaluation, which directly accesses
SkyframeExecutor.errorEventListener.
--
MOS_MIGRATED_REVID=103946310
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: labels in "linkopts" may match any label in either "deps" or "srcs" to be considered valid.
--
MOS_MIGRATED_REVID=103945104
|
|
|
|
|
|
|
|
| |
The scanner only looks for C preprocessor directives, but most assemblers allow '.include' assembly directives, and those aren't found by the scanner.
So skip the include scanner for assembly files that don't want C preprocessing, because correctly declared inclusions are to be preferred anyway.
--
MOS_MIGRATED_REVID=103944189
|
|
|
|
|
|
|
| |
This is necessary so that the existence of a script //tools/test:test-setup.sh is not hardcoded into Bazel, which is in turn necessary so that the Bazel tools (//tools/...) are not required to be in the main repository.
--
MOS_MIGRATED_REVID=103943618
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This limits the exposure of LoadedPackageProvider, such that there will be
no regressions in the use of getLoadedTarget. Unfortunately, fully removing
LoadedPackageProvider is more work than I'm willing to take on right now, and
this is the cleanest intermediate solution I could come up with.
This unblocks my other work (removing SkyframeExecutor.errorEventHandler).
Someone else will have to shave this yak.
--
MOS_MIGRATED_REVID=103943375
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103942611
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103942367
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
|
|
| |
take absolute paths and labels are labels.
This makes them work with labels not in the main repository (i.e. @repo//pkg:target). The alternative would have been to simply add .startsWith("@"), but why try to parse labels in a lame and limited way if we can do the right thing.
--
MOS_MIGRATED_REVID=103934380
|
|
|
|
|
|
|
|
| |
- Unified duplicate code from RuleContext and RuleContext.Builder in a new class, RuleContext.ErrorReporter
- Added the BUILD file location to error/warning messages if the offending rule was created by a macro
--
MOS_MIGRATED_REVID=103934375
|
|
|
|
|
|
|
| |
I don't know why it was implemented like that in the first place.
--
MOS_MIGRATED_REVID=103934038
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103932279
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103931317
|
|
|
|
|
|
|
| |
during "mobile install --split_apks".
--
MOS_MIGRATED_REVID=103927507
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103926575
|
|
|
|
|
|
|
|
|
| |
that naked RepositoryName objects can also be serialized properly.
Also store the initial offset a target pattern was parsed with.
--
MOS_MIGRATED_REVID=103921930
|
|
|
|
|
|
|
| |
both an "error" and "success" state.
--
MOS_MIGRATED_REVID=103897656
|
|
|
|
|
|
|
| |
message if a previously known direct dep isn't done.
--
MOS_MIGRATED_REVID=103880990
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to Attribute.skipPrereqValidatorCheck.
This is to disambiguate the concept of "constraints" and keep
the word consciously focused on Bazel's *new* constraint system.
The changed methods refer to checks done by PrerequisiteValidator,
which is basically an adhoc version of the "old" system (e.g.
checking visibility)
--
MOS_MIGRATED_REVID=103872412
|
|
|
|
|
|
|
| |
RELNOTES:
--
MOS_MIGRATED_REVID=103869828
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103850879
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103847305
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nio.channels.ReadableByteChannel is unbuffered, so this causes HTTP
downloads to read and write in 1 byte increments. To boot,
InputStream#read and OutputStream#write are simpler.
Fixes #478.
--
Change-Id: Ic4854e03f5d48e47fb8cc58bbbdc459b831b16f3
Reviewed-on: https://bazel-review.googlesource.com/#/c/2040
MOS_MIGRATED_REVID=103844552
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103839895
|
|
|
|
|
|
|
| |
Removes mutable global state.
--
MOS_MIGRATED_REVID=103837106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rollforward with fix
*** Original change description ***
Automated [] rollback of [].
*** Reason for rollback ***
Breaks tests.
*** Original change description ***
Remove gen jar implicit output.
This allows us to only create a jar for libraries that use annotation processing.
It also increases our flexibility by reducing the visibility of these gen jars
to an undocumented output group.
--
MOS_MIGRATED_REVID=103833283
|
|
|
|
|
|
|
|
|
| |
Instead, pass an appropriate EventHandler instance in. This is in preparation
for creating a per-command EventHandler, in preparation for allowing multiple
commands to run in parallel. This is removal of shared global state.
--
MOS_MIGRATED_REVID=103828963
|
|
|
|
|
|
|
|
|
|
|
| |
specify which classes should go into the main dex.
This mode uses Proguard to determine the dependencies of these classes, which means that no error-prone manual listing required like in multidex="manual" mode.
RELNOTES: android_binary now has a main_dex_proguard_specs attribute to specify which classes should be in the main dex.
--
MOS_MIGRATED_REVID=103824119
|
|
|
|
|
|
|
|
|
| |
target pattern parsing just a tiny little bit.
This wounds #389 dealing 4d6 fire damage (recursive wildcards, e.g. /... and friends still don't work)
--
MOS_MIGRATED_REVID=103822319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks tests.
*** Original change description ***
Remove gen jar implicit output.
This allows us to only create a jar for libraries that use annotation processing.
It also increases our flexibility by reducing the visibility of these gen jars
to an undocumented output group.
--
MOS_MIGRATED_REVID=103800137
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103798663
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103793399
|