| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87153741
|
|
|
|
|
|
|
|
|
| |
BuildRequest.determineOutputGroups().
This paves the way for making --compile_only, --compilation_prerequsites_only and --save_temps into aliases for --output_groups=<something>
--
MOS_MIGRATED_REVID=87138659
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87136119
|
|
|
|
|
|
|
|
|
| |
* Adds primary and fallback bundle ID fields
* Adds conflict resolution that considers IDs in order: plist file, primary ID (set in BUILD file), fallback ID (Blaze default). If plist and primary are both set, they should be equal, otherwise an error is thrown.
--
MOS_MIGRATED_REVID=87106031
|
|
|
|
|
|
|
| |
instead of nanoTime. As nanoTime should only be used to compute time differences. To avoid having to pass two long values representing time (And calling twice to Clock.xxx methods per action executed) we compute the wall time by passing a clock and computing the difference from the start nano time.
--
MOS_MIGRATED_REVID=87102963
|
|
|
|
|
|
|
| |
can access it.
--
MOS_MIGRATED_REVID=87086924
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87083899
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87048867
|
|
|
|
|
|
|
| |
creating a HIDDEN_TOP_LEVEL output group and putting the artifacts required for building runfiles there.
--
MOS_MIGRATED_REVID=87039530
|
|
|
|
|
|
|
| |
replace them with output groups.
--
MOS_MIGRATED_REVID=87038548
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87009938
|
|
|
|
|
|
|
| |
constant is correctly used.
--
MOS_MIGRATED_REVID=87008436
|
|
|
|
|
|
|
| |
Having a random non-Debug non-Release xcode_options doesn't serve any useful purpose.
--
MOS_MIGRATED_REVID=86999601
|
|
|
|
|
|
|
| |
Make it not depend on the iteration order on the hash table of **kwargs.
--
MOS_MIGRATED_REVID=86986044
|
|
|
|
|
|
|
|
|
| |
Use the "bundles" attribute instead.
RELNOTES: Use "bundles" instead of "deps" to depend on bundles in objc rules.
--
MOS_MIGRATED_REVID=86985618
|
|
|
|
|
|
|
|
|
| |
correctly.
ios_extension is a direct dependency of the objc_binary, but none of the transitive dependencies should be added to the build phases, since this would cause the symbols of the linked objc_binary to contain everything the ios_extension has, which we don't want.
--
MOS_MIGRATED_REVID=86920610
|
|
|
|
|
|
|
| |
Xcode happy.
--
MOS_MIGRATED_REVID=86910779
|
|
|
|
|
|
|
| |
processing related flags.
--
MOS_MIGRATED_REVID=86898123
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=86826447
|
|
|
|
|
|
|
|
|
|
| |
Most current invocations of the ResourceSet constructor shouldn't
care about any new dimensions we add to restrict test execution. This
change allows us to make those changes, keep the ResourceSet ctor
symmetrical, and avoid contaminating those ctor call sites with noise.
--
MOS_MIGRATED_REVID=86826112
|
|
|
|
|
|
|
| |
This fixes the visit/accept protocol for Argument.Passed.
--
MOS_MIGRATED_REVID=86799044
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=86797852
|
|
|
|
|
|
|
|
|
| |
how app extensions are built and how they differ from application bundles.
RELNOTES: Support ios_extension and ios_extension_binary rules for creating iOS app extensions.
--
MOS_MIGRATED_REVID=86788086
|
|
|
|
|
|
|
|
| |
Gets rid of a confusing warning that there are no object files, but something
is linked.
--
MOS_MIGRATED_REVID=86777258
|
|
|
|
|
|
|
|
| |
This can otherwise clash with C/C++ compiles where the source file has the same
name as the target.
--
MOS_MIGRATED_REVID=86776429
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=86738858
|
|
|
|
|
|
|
| |
See associated bug for more details.
--
MOS_MIGRATED_REVID=86708715
|
|
|
|
|
|
|
| |
As discussed in [].
--
MOS_MIGRATED_REVID=86708361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first meaty cl in a series to refactor the Skylark function call protocol.
1- We introduce a first-class notion of FunctionSignature, that supports positional and named-only arguments, mandatory and optional, default values, type-checking, *stararg and **kwarg;
2- To keep things clean, we distinguish two different kinds of Argument's: Argument.Passed that appears in function calls, and Parameter, that appears in function definitions.
3- We refactor the Parser so it uses this infrastructure, and make minimal changes to MixedModeFunction so that it works with it (but don't actually implement *starparam and **kwparam yet).
4- As we modify FuncallExpression, we ensure that the args and kwargs arguments it passes to the underlying function are immutable, as a prerequisite to upcoming implementation of *starparam and **kwparam as being provided directly from a skylark list or dict.
Further changes under review will take advantage of this FunctionSignature to redo all our function call protocol, to be used uniformly for both UserDefinedFunction's and builtin function. The result will be a simpler inheritance model, with better type-checking, builtin functions that are both simpler and better documented, and many redundant competing functionality-limited codepaths being merged and replaced by something better.
NB: The changes to MixedModeFunction, SkylarkFunction and MethodLibrary are temporary hacks to be done away with in an upcoming CL. The rest is the actual changes.
--
MOS_MIGRATED_REVID=86704072
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=86689743
|
|
|
|
|
|
|
| |
dependencies just generate pic or non-pic header modules.
--
MOS_MIGRATED_REVID=86686907
|
|
|
|
|
|
|
| |
This required pulling the feature configuration into the rule-specific code.
--
MOS_MIGRATED_REVID=86685776
|