| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95536484
|
|
|
|
|
|
|
| |
This functionality used to be part of SkylarkNestedSet.
--
MOS_MIGRATED_REVID=95526136
|
|
|
|
|
|
|
| |
This is needed so that Bazel can access Android NDK if it's outside of the workspace. The current limitation is that we Bazel can pretend that there is a BUILD file there, but cannot do the same with a CROSSTOOL file. We could fix that limitation, but given that Crosstool is the only conceivable use case, let's fix it by changing the Blaze-Crosstool interface.
--
MOS_MIGRATED_REVID=95517408
|
|
|
|
|
|
|
| |
Previously would always log null.
--
MOS_MIGRATED_REVID=95446225
|
|
|
|
|
|
|
|
|
|
|
| |
Due to our streaming deserialization approach we can leave data on the
wire when encountering exceptions. Java serialization, the primary
consumer of this code, isn't happy with that and throws an
IllegalStateException("unread block data"), drowning out the original
exception and leaving us without much useful debug information.
--
MOS_MIGRATED_REVID=95442892
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95135804
|
|
|
|
|
|
|
|
|
|
|
| |
Packages have the potential to have an exceptional number of associated
targets. When serialized in one message these targets can push the
protocol buffer representation of a Package over the default deserialization
size limit. In this commit we serialize targets separately as a series of
individual messages to avoid this limit.
--
MOS_MIGRATED_REVID=95049743
|
|
|
|
|
|
|
| |
classes that are exempt from constraint checking.
--
MOS_MIGRATED_REVID=95033646
|
|
|
|
|
|
|
|
|
|
|
| |
Rearrange Package serialization logic to hide ProtocolBuffer implementation
details and make it easier to transition to a more "streamed" approach.
Also moved the public members of PackageSerializer to the top of the class
for visibility.
--
MOS_MIGRATED_REVID=94905360
|
|
|
|
|
|
|
|
|
| |
Helps javadoc resolve the referece. We can't import PackageFunction here
since it's not visible. Instead use the fully qualified name so the link
still works.
--
MOS_MIGRATED_REVID=94757000
|
|
|
|
|
|
|
| |
parameter.
--
MOS_MIGRATED_REVID=94751927
|
|
|
|
|
|
|
| |
This cuts the .java -> .android dependency between Java packages, which is nice at the cost of some cavalier over-estimation of the direct dependencies in AndroidNeverlinkAspect.
--
MOS_MIGRATED_REVID=94745544
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94655923
|
|
|
|
|
|
|
|
| |
This allows you to use @repo//... syntax outside of the WORKSPACE file, which
makes it easier to use external dependencies.
--
MOS_MIGRATED_REVID=94275085
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94274751
|
|
|
|
|
|
|
| |
thread pool.
--
MOS_MIGRATED_REVID=94236393
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94071970
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93881974
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
coarsely checking for duplicates *anywhere*, e.g.:
select({':a': ['a.cc'], ':b': ['a.cc']}) + select({':a': ['b.cc'], ':b': ['b.cc']})
would fail. But this case is okay because these duplicates are in mutually
exclusive select paths (so they could never appear together anyway).
The new checking logic is:
- Duplicates can appear in different paths of the same select.
- Duplicates can *not* appear within the same path of a select.
- Duplicates can *not* appear across multiple selects (no matter what path -
this is still stricter than we need to be, but there's no strong case
for refining this case now).
--
MOS_MIGRATED_REVID=93447979
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
every possible value an attribute can take) for attributes with
multiple selects:
Given
attr = select({':a': 'w', ':b': 'x'}) + select({':a': 'y', ':b': 'z'}
the naive approach is to combine every possible value of the first select
with every possible value of the second select (producing 4 possible values
from 2^2 visitations). But since these selects have the same exact
conditions, only two values are actually possible ("wy", "xz") from 2
visitations.
This change efficiently considers that case. More generally, given n
concatenated selects with the same conditions, it brings evaluation time
down from O(2^n) to O(n) (assuming two conditions per select). It also
works for partial matches: given a concatenation of 6 selects where
1, 3, and 5 have the same conditions and 2, 4, and 6 have the same conditions,
evaluation time goes from O(2^6) to O(2^2).
--
MOS_MIGRATED_REVID=93325787
|
|
|
|
|
|
|
|
|
| |
'x{key}x'.format(key = 2) == 'x2x'
It is a very simplified version of the Python format.
--
MOS_MIGRATED_REVID=93130656
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93026026
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92934993
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=92715161
|
|
|
|
|
|
|
| |
Last step in refactoring of Skylark builtin functions.
--
MOS_MIGRATED_REVID=91796746
|
|
|
|
|
|
|
| |
Fixes #87.
--
MOS_MIGRATED_REVID=91784426
|
|
|
|
|
|
|
|
| |
Replace the uses of AbstractFunction, MixedModeFunction,
SkylarkFunction and SimpleSkylarkFunction by BuiltinFunction.
--
MOS_MIGRATED_REVID=91763158
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91713784
|
|
|
|
|
|
|
|
| |
This simplifies the code a little, and prepares for properly
serializing ExternalPackage.
--
MOS_MIGRATED_REVID=91673213
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91603959
|
|
|
|
|
|
|
| |
It appears to be unused. Use an explicit 'if' instead.
--
MOS_MIGRATED_REVID=91581070
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91573102
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91407816
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91322217
|
|
|
|
|
|
|
| |
This is now not called on the regular build path except for computed defaults.
--
MOS_MIGRATED_REVID=91306062
|
|
|
|
|
|
|
| |
We need only a set of symbols, types are not used anymore.
--
MOS_MIGRATED_REVID=91299566
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91288032
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
We don't need to store object methods, just global values.
--
MOS_MIGRATED_REVID=91094780
|
|
|
|
|
|
|
| |
Type information for methods is not needed anymore.
--
MOS_MIGRATED_REVID=91088042
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
SkylarkType.castMap() a little.
--
MOS_MIGRATED_REVID=90988088
|
|
|
|
|
|
|
|
|
|
| |
Clean up related to Skylark builtin functions.
Replace "hidden" field of some annotations with a "documented" field
(with reversed semantics).
--
MOS_MIGRATED_REVID=90827020
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90707320
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90616271
|
|
|
|
|
|
|
| |
Fixes #91.
--
MOS_MIGRATED_REVID=90185784
|
|
|
|
|
|
|
| |
HashMultimap provides no guarantee on the iteration order.
--
MOS_MIGRATED_REVID=90153110
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90151316
|
|
|
|
|
|
|
| |
the fact that a valid Target exists, and instead request it directly from its Package.
--
MOS_MIGRATED_REVID=90107670
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90081310
|