| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91216722
|
|
|
|
|
|
|
|
|
| |
Many of the @VisibleForTesting annotations didn't actually apply. Remove
them, apply the annotation to places where it applies, and change
visibility of mttehods to be more restrictive.
--
MOS_MIGRATED_REVID=91208297
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91192716
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91181886
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91175430
|
|
|
|
|
|
|
| |
Make 'iPhone 5s' the default sim device until ios_simulator_version is bumped up to 8.2.
--
MOS_MIGRATED_REVID=91122850
|
|
|
|
|
|
|
|
|
| |
multiple selects run the risk of exponential value growth, so we shouldn't
request a full iteration of possible values unless that's really what the
caller needs.
--
MOS_MIGRATED_REVID=91118257
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91100927
|
|
|
|
|
|
|
| |
We don't need to store object methods, just global values.
--
MOS_MIGRATED_REVID=91094780
|
|
|
|
|
|
|
|
|
| |
Previously it would show the relative path within the external dep (e.g., in the
given test, "** Please add the following dependencies: x to //a:a"). Fixes
https://github.com/google/bazel/issues/112.
--
MOS_MIGRATED_REVID=91093258
|
|
|
|
|
|
|
| |
Type information for methods is not needed anymore.
--
MOS_MIGRATED_REVID=91088042
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91084448
|
|
|
|
|
|
|
| |
This fixes https://github.com/google/bazel/issues/66.
--
MOS_MIGRATED_REVID=91083724
|
|
|
|
|
|
|
| |
Also removed useless bazel-constants-srcjar.sh
--
MOS_MIGRATED_REVID=91075224
|
|
|
|
|
|
|
|
| |
Move some functionality to its only current client SkylarkShell,
mark some accessor @VisibleForTesting and remove those not currently used for testing.
--
MOS_MIGRATED_REVID=91033050
|
|
|
|
|
|
|
| |
We already have them as artifacts, so it's less work, and this facilitates Skyframe-native include scanning.
--
MOS_MIGRATED_REVID=91020322
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change, the following syntax:
deps = [':always'] + select({':a': [':adep'], ':b': [':bdep']})
or
deps = select({':a': [':adep'], ':b': [':bdep']})
+ select({':c': [':cdep'], ':d': [':ddep']})
works.
--
MOS_MIGRATED_REVID=91016337
|
|
|
|
|
|
|
| |
metadata handlers, we can just unconditionally discard all output metadata with this call.
--
MOS_MIGRATED_REVID=91008004
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91007686
|
|
|
|
|
|
|
| |
the same header twice in their BUILD file.
--
MOS_MIGRATED_REVID=90995905
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90994953
|
|
|
|
|
|
|
|
|
|
|
|
| |
Runtime.availableProcessors. Previously, the fallback was a hardcoded
3G / 2 CPUs.
This increases parallelism on modern OSX hardware.
Fixes #101.
--
MOS_MIGRATED_REVID=90994895
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90994015
|
|
|
|
|
|
|
|
|
| |
they have started executing in SkyframeActionExecutor.
We were updating the action cache for both actions in this case, but one of the actions' metadata handler was not updated during execution, and thus it had no metadata for outputs.
--
MOS_MIGRATED_REVID=90993813
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Polling the machine load can never work, because the following
scenarios are quite common:
* Tasks that are faster than the poll cycle time.
* Tasks whose CPU and/or RAM consumption changes over the lifetime of
the task.
--
MOS_MIGRATED_REVID=90990445
|
|
|
|
|
|
|
| |
master log, requiring O(n^2) lines for groups of closely related targets.
--
MOS_MIGRATED_REVID=90990029
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90988858
|
|
|
|
|
|
|
| |
SkylarkType.castMap() a little.
--
MOS_MIGRATED_REVID=90988088
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90981107
|
|
|
|
|
|
|
|
| |
There are still some static checks (check existence of variable/function,
readonly variables, etc.). More cleanup will come later.
--
MOS_MIGRATED_REVID=90979748
|
|
|
|
|
|
|
|
|
| |
com/google/devtools/build/lib/bazel/rules/workspace to match the files' package declarations.
This is cloned from ahumesky's [] so that we can submit it as early as possible.
--
MOS_MIGRATED_REVID=90977537
|
|
|
|
|
|
|
|
|
| |
implementation.
This slightly shortens the massive ParallelEvaluator file, and also allows alternate Environment implementations to avoid repeating the boilerplate.
--
MOS_MIGRATED_REVID=90830529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the new EvaluationContext infrastructure to simplify Skylark tests
(said infrastructure is originally based on code from these tests).
Merge AbstractEvaluationTestCase and AbstractParserTestCase into
a non-abstract class EvaluationTestCase that uses EvaluationContext.
Cleanup the EventCollectionApparatus it uses.
Refactor all Skylark tests to use this new infrastructure.
Fix EvaluationTest and MethodLibraryTest to actually and correctly
run tests in both modes.
Fix small bugs in the main code base discovered by actually running the
code in both modes, and make error messages identical when possible.
--
MOS_MIGRATED_REVID=90828053
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90828000
|
|
|
|
|
|
|
| |
modifications. While there could be bogus targets that modify symlinks, Bazel has output symlinks that point to source code.
--
MOS_MIGRATED_REVID=90827597
|
|
|
|
|
|
|
|
|
|
| |
Clean up related to Skylark builtin functions.
Replace "hidden" field of some annotations with a "documented" field
(with reversed semantics).
--
MOS_MIGRATED_REVID=90827020
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lift the Evaluation code from the test files AbstractParserTestCase and
AbstractEvaluationTestCase into new files EvaluationContext.
Remove this code's dependency on FsApparatus (and thus to InMemoryFS),
by making the Lexer accept null as filename.
Also remove dependency on EventCollectionApparatus;
parameterized by an EventHandler.
Have the SkylarkSignatureProcessor use this Evaluation for defaultValue-s.
While refactoring evaluation, have SkylarkShell use it,
which fixes its ValidationEnvironment issues.
TODO: refactor the tests to use this new infrastructure.
--
MOS_MIGRATED_REVID=90824736
|
|
|
|
|
|
|
|
|
| |
their paths). This gives a predictable order in places where Artifacts are sorted by their natural order.
This works because exec paths of Artifacts are unique in any given build.
--
MOS_MIGRATED_REVID=90807141
|
|
|
|
|
|
|
|
|
|
| |
The visible(x, y) query expression computes the subset of nodes in y visible
from all nodes in x.
RELNOTES: Add a visibility predicate to blaze query.
--
MOS_MIGRATED_REVID=90765071
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90750827
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Given:
genrule(srcs = ['somefile'] + select({...}))
Before this change:
ERROR: unsupported operand type(s) for +: 'List' and 'SelectorValue'
After this change:
ERROR: unsupported operand type(s) for +: 'List' and 'select'
--
MOS_MIGRATED_REVID=90750232
|
|
|
|
|
|
|
| |
counters.
--
MOS_MIGRATED_REVID=90749273
|
|
|
|
|
|
|
|
|
|
| |
`bazel help completion` dump all options completion pattern
for each command, giving hints on the format of the completion
residue (e.g., `label`, `path`, `{a,enum}`, ...). This
dump can be used to generate completion scripts.
--
MOS_MIGRATED_REVID=90743024
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90737433
|
|
|
|
|
|
|
| |
--embed_label
--
MOS_MIGRATED_REVID=90723863
|
|
|
|
|
|
| |
--
Change-Id: b2b38d09285950c8ef745dbf2cbd281e09e7a11e
MOS_MIGRATED_REVID=90721856
|
|
|
|
|
|
|
| |
Fixes https://github.com/google/bazel/issues/90.
--
MOS_MIGRATED_REVID=90717991
|
|
|
|
|
|
|
| |
CppCompilationActionContext, which can be overridden by some modules.
--
MOS_MIGRATED_REVID=90716346
|
|
|
|
|
|
|
| |
was ignoring the actionContext, which it shouldn't have been.
--
MOS_MIGRATED_REVID=90714138
|
|
|
|
|
|
|
| |
Note that we probably want to change the discardMetadata signature to no longer take an argument, since we have per-action metadata handling. However, I'd like to know that that's the source of the crash, if it is, which is why I'm not removing the argument right now.
--
MOS_MIGRATED_REVID=90712991
|