| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
the documentation.
--
MOS_MIGRATED_REVID=101357875
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101348687
|
|
|
|
|
|
|
| |
ctx.fragments.{cpp,java,jvm} instead.
--
MOS_MIGRATED_REVID=101348294
|
|
|
|
|
|
|
| |
artifact with the given name instead of appending a suffix
--
MOS_MIGRATED_REVID=101348273
|
|
|
|
|
|
|
|
|
|
| |
This is an easy way to deal with other code that names scripts as such,
rather than requiring that scripts be renamed to end in ".lds"
RELNOTES[NEW]: deps of a cc_binary may contain linker script files ending in ".ldscript"
--
MOS_MIGRATED_REVID=101346375
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101346366
|
|
|
|
|
|
|
|
|
|
|
| |
big fat warning that that
method shouldn't be used anymore.
Ideally, I'd mark it as deprecated, but it's legitimately used by RuleContext. I could just forbid access to AnalysisEnvironment to rule implementations, but, sadly, almost every method on it is called at a few oddball places in implementations of various rules, so we can't do it just yet.
--
MOS_MIGRATED_REVID=101345484
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101344826
|
|
|
|
|
|
|
| |
The build-in rules also use it.
--
MOS_MIGRATED_REVID=101343109
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101245691
|
|
|
|
|
|
|
| |
Use stripped launcher when Fission is enabled.
--
MOS_MIGRATED_REVID=101244628
|
|
|
|
|
|
|
| |
RELNOTES: For Objective-C make -DDEBUG part of the -c fastbuild options
--
MOS_MIGRATED_REVID=101243825
|
|
|
|
|
|
|
|
|
|
| |
Don't expect FLOW events if the compile policy is set to stop before FLOW
(e.g. with -proc:only).
Fixes google/bazel#379
--
MOS_MIGRATED_REVID=101242866
|
|
|
|
|
|
|
| |
getAllowedDeps calls on the same batch call
--
MOS_MIGRATED_REVID=101238126
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101235139
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101233095
|
|
|
|
|
|
|
|
|
| |
specifying the
class of the provider object.
--
MOS_MIGRATED_REVID=101227127
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101221537
|
|
|
|
|
|
|
| |
non-sandboxing spawn strategy (this is a no-op until sandboxing is there).
--
MOS_MIGRATED_REVID=101219854
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101218746
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101218538
|
|
|
|
|
|
|
|
|
| |
of the artifacts in a way that checks that they are under the package directory.
The exception is nativedeps, whose link actions are shared, and thus they cannot be at a package-specific location.
--
MOS_MIGRATED_REVID=101216949
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101216575
|
|
|
|
|
|
|
| |
fix the Skylark rules and tests that so far failed to declare dependencies on the JVM.
--
MOS_MIGRATED_REVID=101215495
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101210076
|
|
|
|
|
|
|
| |
This improves the coverage of the legality check in RuleContext.getFragment.
--
MOS_MIGRATED_REVID=101208822
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101208507
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101204982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With -XDshouldStopPolicyIfError=INIT (the default) and -XDcompilePolicy=byfile
(not the default), javac will stop compiling after emitting no.such.pkg and
before any missing symbol errors are reported. The reduced classpath builder
needs to fall back to the transitive classpath in this case.
This currently works because with -XDcompilePolicy=todo (the default), javac
attributes compilation units even if they have with syntax errors to avoid
"surprising existing users". [1]
[1] http://hg.openjdk.java.net/jdk9/dev/langtools/file/7fd155b7041c/test/tools/javac/policy/test3/Test.java
--
MOS_MIGRATED_REVID=101175706
|
|
|
|
|
|
|
| |
in RuleConfiguredTarget.
--
MOS_MIGRATED_REVID=101166333
|
|
|
|
|
|
|
| |
[]FIXED=23350182
--
MOS_MIGRATED_REVID=101158691
|
|
|
|
|
|
|
|
|
| |
SkyQueryEnvironment.
rbuildfiles returns the packages (in the form of BUILD files) that depend on the given source files as BUILD files or subincludes.
--
MOS_MIGRATED_REVID=101157700
|
|
|
|
|
|
|
| |
traversal values) from queries.
--
MOS_MIGRATED_REVID=101151407
|
|
|
|
|
|
|
| |
Implicit attributes start with '_' to make the output parsable.
--
MOS_MIGRATED_REVID=101151243
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101150250
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The EvaluationProgressReceiver#evaluated method took a SkyValue,
but that parameter was only used by some of its implementations,
and only under some conditions.
Outside of tests, the main users are SkyframeBuildView's
ConfiguredTargetValueInvalidationReceiver and SkyframeBuilder's
ExecutionProgressReceiver.
The former builds up a set of built ConfiguredTarget keys when the
SkyValue is non-null and the EvaluationState is BUILT, and so its
nullity check can live behind those two conditions.
The latter cares about builting up a set of ConfiguredTargets, and
raising events on the eventBus when a TARGET_COMPLETION or
ASPECT_COMPLETION value is evaluated and is non-null. The extraction
of these values can live behind the conditions that check the type of
the SkyKey.
By making the SkyValue parameter lazy, this change enforces that it's
only accessed under these conditions.
This CL introduces a semantic change that should be small in effect.
The SkyframeBuildView keeps track of a set, dirtiedConfiguredTargetKeys,
and ConfiguredTarget keys evaluated as CLEAN were removed from it if
they had a non-null value. With this change, ConfiguredTarget keys
evaluated as CLEAN get removed regardless of whether their values are
null or non-null. The set is used to determine whether artifact conflict
search has to be rerun, and the extra removals that result from this CL
could cause fewer artifact conflict searches to run, but the only
affected searches would be those that were caused by dirtied configured
target values in error all of which were subsequently marked as clean,
which is probably rare.
--
MOS_MIGRATED_REVID=101144655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Maven API has two options for parsing pom files: getting the "raw model"
(which parses the pom to ensure it is correct, but doesn't do any resolution nor
variable substitution) and getting the "effective model," which does all
resolution. Before this CL, generate_workspace was just getting the effective
model immediately, which is easily foiled by having an artifact that depends on
a "sibling" (the parent cannot be resolved until the siblings are and the
siblings can only be resolved if they happen to arrive in the right order).
This changes the code to get the raw models first to get locations of all
artifacts, then fully resolve them.
This fixes #383.
--
MOS_MIGRATED_REVID=101129094
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks skylark macros that call skylark rules that declare an 'args'
attribute.
--
MOS_MIGRATED_REVID=101118137
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101118095
|
|
|
|
|
|
|
| |
RuleContext.getShareableArtifact() calls where the former method is used to create the outputs of shared actions.
--
MOS_MIGRATED_REVID=101116694
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101113563
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101111724
|
|
|
|
|
|
|
|
|
|
| |
Ref equality for same-name SkyFunctionNames is not guaranteed. These
were some instances I missed in my previous sweep. I searched for
references to the SkyFunctions and SkyFunctionNames classes throughout
the project to catch these remaining instances.
--
MOS_MIGRATED_REVID=101061352
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, after a server shutdown they would fail because the
repository already exists. This change fixes that and avoids
re-downloading if the local repository is already the correct version
and unmodified.
An example of the error before:
$ bazel fetch ...
.......
INFO: Loading package: tools/cpp
java.lang.RuntimeException: Unrecoverable error while evaluating node 'GIT_CLONE:file:///tmp/gtest-1.7.0 -> /home/brian/.cache/bazel/_bazel_brian/46af2c6e62e13aca9af015360f8fb1da/external/gtest_repo (091e69312f2c133860e71e6b01118c1f5a8c943d) submodules: false' (requested by nodes 'NEW_GIT_REPOSITORY:@gtest_repo')
at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:745)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$1.run(AbstractQueueVisitor.java:346)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Destination path "gtest_repo" already exists and is not an empty directory
at org.eclipse.jgit.api.CloneCommand.init(CloneCommand.java:152)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:132)
at com.google.devtools.build.lib.bazel.repository.GitCloneFunction.compute(GitCloneFunction.java:68)
at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:709)
... 4 more
--
Change-Id: Ifca46302537248106740941b70bc5bd11fa1eeb1
Reviewed-on: https://bazel-review.googlesource.com/#/c/1650
MOS_MIGRATED_REVID=101045419
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101033383
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101033236
|
|
|
|
|
|
|
|
|
| |
file is in both srcs and hdrs.
This uses a very restrictive definition of private headers. They may only imported by sources in the same target and other private headers. They are not transitively available to dependers, even indirectly, though this may change in the future.
--
MOS_MIGRATED_REVID=101028706
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101021838
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101015647
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101014733
|