| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
SkylarkList#toList() behaves consistently for all implementations.
--
MOS_MIGRATED_REVID=87817550
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87809723
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87806484
|
|
|
|
|
|
|
| |
for alternate graph implementations.
--
MOS_MIGRATED_REVID=87755843
|
|
|
|
|
|
|
| |
This might be controversial, but I have many times seen users run their tests, and then select the failure log path in their terminal and then cat the log to their screen so they can search for their errors. Every time, I've pointed out, "you can add test_output=errors to your .blazerc," they've thought it was great. Sometimes they say, "Why isn't that just the default?"
--
MOS_MIGRATED_REVID=87734723
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87728012
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87717872
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87714450
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87712063
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87704425
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87698761
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87622845
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87621601
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87597808
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87596401
|
|
|
|
|
|
|
|
|
| |
MethodLibraryTest#testEnumerate), it returns a SkylarkList of tuples.
MethodLibrary tests are cleaned up.
--
MOS_MIGRATED_REVID=87592639
|
|
|
|
|
|
|
| |
prefix names for generated protos.
--
MOS_MIGRATED_REVID=87539098
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87535290
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87519507
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87515939
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87513766
|
|
|
|
|
|
|
|
|
|
|
|
| |
legacy feature configuration.
This requires two fixes:
1. we want to mark the module_maps feature unsupported, if the toolchain itself
doesn't provide a module map
2. no legacy feature is allowed to imply the module_maps feature
--
MOS_MIGRATED_REVID=87511295
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This is not needed thanks to blaze query.
*** Original change description ***
Make xctest_app's .ipa an implicit output so that scripts external to Bazel can access it.
--
MOS_MIGRATED_REVID=87507266
|
|
|
|
|
|
|
| |
JavaToolchainDataParser is a parser that reconstruct a JavaToolchainData from the output of a 'bazel query --output=proto'.
--
MOS_MIGRATED_REVID=87502754
|
|
|
|
|
|
|
|
| |
It also caches files that it already processed, since that may legally happen
if there are multiple overlapping directory trees are specified as input.
--
MOS_MIGRATED_REVID=87492930
|
|
|
|
|
|
|
|
|
|
|
| |
Fix race condition in SkylarkType.of(), whereby .equals() but not same (==) types were created, by making Simple.of() synchronized.
Also make SkylarkType#includes() more robust by using .equals() instead of == (it's a little bit slower in the case of Simple types once fixed, but also works on complex types that don't hash-cons their values).
Also, distinguish SkylarkList (printed as list) and java.util.List (printed as List) and similarly for tuple vs Tuple, when printing types in debugging messages.
--
MOS_MIGRATED_REVID=87490176
|
|
|
|
|
|
|
| |
using both the associated Java target label and the binary/test target that generates the compilation action. This fixes a bug in which two binary/test targets containing the same Java target to translate leads to shared actions when users execute more than one such binary/test targets in a single Blaze invocation.
--
MOS_MIGRATED_REVID=87364125
|
|
|
|
|
|
|
| |
This is needed for taking the runfiles prefix from the WORKSPACE file instead of hardcoding it.
--
MOS_MIGRATED_REVID=87347883
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87345558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor SkylarkType, notably adding Union types and runtime typechecks.
These are pre-requisites to unifying all Skylark function calls to use the same
code path, that will check types (like SkylarkFunction currently does) as well
handle a more complete Python calling convention (like MixedModeFunction is
almost but not quite able to do).
A SkylarkType can be either
* a Simple type corresponding to a Java class, with special types TOP and BOTTOM
corresponding respectively to Object and EmptyType (similar to Void).
* a Combination of a generic class (LIST, MAP or SET) and an argument type
* a Union of a finite number of types
* a FunctionType associated with a name and a returnType (with ugly
validation-time side-effects that we should probably move out of the type)
Unions are necessary because:
1- the type of some builtin function arguments are actually the Union of some
type and a function type for a callback that computes the actual value.
2- the type of some builtin function arguments declared as "List" is actually
the Union of java List and SkylarkList.
3- instead of adding lots of special cases at the point of argument validation,
it's cleaner and more generally useful to have explicit Union types, that can
then be displayed to users for documentation or debugging purposes.
Validation-time "type inference" is re-expressed simply as type intersection.
None is treated specially as inferred into TOP instead of NoneType.
Combination types are printed as genericType of argTypes, e.g. "dict of ints". "type" and "generic1" become "genericType" and "argType". In SkylarkList and SkylarkNestedSet, genericType becomes contentType.
--
MOS_MIGRATED_REVID=87340881
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87337298
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87335844
|
|
|
|
|
|
|
| |
can be used in their stead.
--
MOS_MIGRATED_REVID=87334648
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87324093
|
|
|
|
|
|
|
|
|
| |
the resulting app.
This adds very basic run support for objc_binary targets. It simply launches them in iossim with the default device and SDK.
--
MOS_MIGRATED_REVID=87286604
|
|
|
|
|
|
|
|
| |
This is left over from the abstract rules refactor where I added this
attribute to objc_import but not actually any code to use it.
--
MOS_MIGRATED_REVID=87284690
|
|
|
|
|
|
|
| |
This is prep for replacing the prefix with one set in the WORKSPACE file.
--
MOS_MIGRATED_REVID=87282470
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87265401
|
|
|
|
|
|
|
|
|
| |
This environment eagerly preloads the transitive closure of a specified query "universe", and so may not be as efficient as the standard query for limited-scope queries. It is activated when the universe is specified and ordered results are not requested (since it is currently unable to order results).
Tests were modified/added to exercise this environment where deemed interesting. Some ugly hacks were done to add coverage in AbstractQueryTest and friends, because currently even if the full depot is loaded (using //...), individual target patterns most likely won't be present in the graph. A better way to deal with this situation, suggested by felly, is probably to extract target pattern resolution logic to an auxiliary function so that query is able to resolve target patterns without mutating the graph, and then call into the read-only graph with the resolved patterns. That may be done in a follow-up, in which case the "scope" of every query could be //... .
--
MOS_MIGRATED_REVID=87257028
|
|
|
|
|
|
|
|
|
|
|
| |
A recent change resulted in TopLevelArtifactHelper.getTopLevelArtifacts()
returning an empty result when passed TopLevelArtifactContext.DEFAULT.
This only happens in tests and wasn't caught because tests were never
fully checking the results. Update MultiGroupForgeResourceAccountantTest
to better consider/expose this failure and fixed.
--
MOS_MIGRATED_REVID=87254923
|
|
|
|
|
|
|
|
|
| |
Rewrite some examples that used internal labels to be safe for external
version. Also remove some obsolete parts such as no-longer existent Make
variables.
--
MOS_MIGRATED_REVID=87241538
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87235457
|
|
|
|
|
|
|
| |
exactly one segment.
--
MOS_MIGRATED_REVID=87234901
|
|
|
|
|
|
|
| |
genquery rule get output of a 'bazel query' inside a build.
--
MOS_MIGRATED_REVID=87234590
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87231498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this, its first incarnation this rule provides no new functionality - all
it does is take an objc_binary and perform any bundling the objc_binary
would have done anyhow. This will allow us to remove bundling functionality
from objc_binary and add multi-architecture transitions between ios_application
and objc_binary.
However, I did remove the requirement for the infoplist attribute on bundles. We
don't actually need it (a plist is generated automatically) and this removal
makes the transition much easier.
RELNOTES: Introduce ios_application_rule.
--
MOS_MIGRATED_REVID=87194403
|
|
|
|
|
|
|
| |
dependencies of a target (along with outputs and NODEP_LABEL_LIST, which was just special because of visibility).
--
MOS_MIGRATED_REVID=87180069
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Users have asked for ways to control the concurrency level of their
local tests. They can do it right now using the --local_resources
option, but that is unintuitive and affects the parallelism of
non-test actions.
This option changes the kind of resources obtained for local tests. If
set, the CPU, RAM, and IO dimensions for local tests will not be used,
and a new localTestCount dimension will be used, where the capacity is
equal to the option's value, and each local test consumes one unit.
--
MOS_MIGRATED_REVID=87177698
|
|
|
|
|
|
|
| |
Having an error message in path/to/package and //path/to/package resolve to //path/to/package:package was a bit strange.
--
MOS_MIGRATED_REVID=87171051
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87154772
|