aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
...
* Remove unneeded final qualifiers from parameters.Gravatar Philipp Wollermann2015-04-30
| | | | | -- MOS_MIGRATED_REVID=92407038
* Fix bug in spec of getBatch.Gravatar Nathan Harmata2015-04-30
| | | | | -- MOS_MIGRATED_REVID=92398218
* Change getBatch signature from Set to Iterable since Iterable is all that's ↵Gravatar Janak Ramakrishnan2015-04-30
| | | | | | | needed. Also clean up some lint warnings/unresolved references. -- MOS_MIGRATED_REVID=92380618
* Execute the plist merge action if there is a bundle id to stamp onto the ↵Gravatar Googler2015-04-30
| | | | | | | | | plist file. RELNOTES: Set the bundle id on plist files referenced by XCode application target. -- MOS_MIGRATED_REVID=92378112
* ios_test: Export device-specific information on a providerGravatar Daniel Wagner-Hall2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92366919
* Indicate that experimental_ios_test targets can only run on OSXGravatar Daniel Wagner-Hall2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92364017
* Minor refactoring of filesystem tests.Gravatar Eric Fellheimer2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92291970
* Give OutputService#startBuild() access to the build ID.Gravatar Eric Fellheimer2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92288707
* Cleanup: Mark some functions as static.Gravatar Thiago Farina2015-04-28
| | | | | | | | | Like the other functions in this file, these do not need to be public. So lets mark them as static so they are consistent with the surrounding code. -- Change-Id: I8de8d1578c0f9bdfec0fee3f67b527de4e135a82 MOS_MIGRATED_REVID=92281179
* Add fetch commandGravatar Kristina Chodorow2015-04-28
| | | | | | | | | | | | | | This command takes a one or more targets and fetches any external repository prerequisites that will be needed to build them. Example usage: bazel fetch //foo:bar If //foo:bar depends on, say, a maven_jar, it'll be downloaded. -- MOS_MIGRATED_REVID=92279626
* Very basic XcTest support in BazelGravatar Daniel Wagner-Hall2015-04-28
| | | | | -- MOS_MIGRATED_REVID=92267704
* Ensure extension's bundle minimum OS version is at least 8.0.Gravatar Peter Schmitt2015-04-28
| | | | | | | | | | | | | | | | | This is required because Apple does not accept extensions whose plist has a minimum OS value lower than 8.0, or whose code is compiled at less than 8.0, even if it is included in an application that is compiled for, and marked compatible with, a lower OS version. Note that I didn't make this an attribute for now as there are no use cases for setting the value to anything but 8.0. If we ever need to make this user-configurable, a value can easily be set. Second submission attempt with small additional logic to distinguish xcode projects across configurations. -- MOS_MIGRATED_REVID=92267493
* Fix multiple issues with extra actions and input-discovering actions:Gravatar Janak Ramakrishnan2015-04-28
| | | | | | | | 1. Race condition where extra action updates action's inputs while action is updating its own inputs. 2. Action was being updated with all inputs, including the extra action's ones, on a cache hit. -- MOS_MIGRATED_REVID=92264706
* Remove IncludeParser from Bazel tree.Gravatar Janak Ramakrishnan2015-04-28
| | | | | -- MOS_MIGRATED_REVID=92264639
* Clean up analysis error reporting a bit:Gravatar Janak Ramakrishnan2015-04-28
| | | | | | | | | 1. Make --analysis_warnings_as_errors a no-op. 2. Stop doing a sanity check that we didn't succeed in analysis even with errors emitted. 3. As a result, emit an error about shared actions to the proper listener. -- MOS_MIGRATED_REVID=92262247
* Update documentations for attribute bundle_id on objc rules to explain ↵Gravatar Googler2015-04-28
| | | | | | | bundle id override. -- MOS_MIGRATED_REVID=92262226
* Remove bundling and application specific build settings from generated ↵Gravatar Googler2015-04-28
| | | | | | | companion Xcode library target. -- MOS_MIGRATED_REVID=92198656
* Fix objective C rules to work with external repositoriesGravatar Kristina Chodorow2015-04-28
| | | | | | | | getPackageFragment() only returns the relative path within a repository, getPathFragment() is needed to return the external path. -- MOS_MIGRATED_REVID=92196789
* Cleanup: Do not include unnecessary headers in blaze_util.h.Gravatar Thiago Farina2015-04-28
| | | | | | | | | | | | The header only uses std::string, std::vector, int and char types, and thus all these headers do not need to be included there. If necessary, they should be included in the relevant source files instead. -- Change-Id: Id1849a0f427016dcf732fe6bfc673e599e8d4b14 MOS_MIGRATED_REVID=92192506
* Explain extra_options more clearly.Gravatar Han-Wen Nienhuys2015-04-27
| | | | | -- MOS_MIGRATED_REVID=92152092
* Rollback of commit a4b66fdbe61845fd4d4ebaebec1e25cdcd99809d.Gravatar Marian Lobur2015-04-27
| | | | | | | | | | | | | *** Reason for rollback *** Breaks android targets in our nightly: [] *** Original change description *** Add a mechanism for configuration fragments to add arbitrary rules to the defaults package. -- MOS_MIGRATED_REVID=92144505
* CL for Java readability reviewGravatar Kristina Chodorow2015-04-27
| | | | | -- MOS_MIGRATED_REVID=92141245
* Fix SkyframeExecutor to not assume only one node for the configuration(s).Gravatar Ulf Adams2015-04-27
| | | | | | | | | | | | | As far as I can tell, the dependency on the BuildConfigurationCollection node is not required anymore. The BuildConfiguration is part of the SkyKey, and it uses object identity. This shouldn't affect garbage collection due to the explicit BuildView.dropConfiguredTargets. If we change that in the future, we will have to be (even more) careful. -- MOS_MIGRATED_REVID=92134490
* Fix SkylarkList#equalsGravatar Francois-Rene Rideau2015-04-27
| | | | | -- MOS_MIGRATED_REVID=92063536
* Add environment_group support for query.Gravatar Greg Estren2015-04-27
| | | | | -- MOS_MIGRATED_REVID=91997659
* Make SkyKey cached hash code transientGravatar Mark Schaller2015-04-27
| | | | | | | | | | | | | | | | | SkyKey argument hashcodes are not stable, because they're composed of values whose hashcodes may not be stable, such as Java enums. Therefore a SkyKey's own hashcode isn't stable. And this is fine, but if we try to serialize and then deserialize the SkyKey with its cached hashcode, the deserialized SkyKey's cached hashcode won't match a normally constructed SkyKey, despite them being equal. Because a SkyKey will deserialize with a default value of 0 for its cached hashcode, this change also introduces a transient boolean guard to note whether the correct hashcode has been calculated and cached. -- MOS_MIGRATED_REVID=91985674
* Move comments closer to the code they describe.Gravatar Mark Schaller2015-04-27
| | | | | | | Also fixes some grammar and indentation. -- MOS_MIGRATED_REVID=91979763
* Clean up the TestFileOutErr to be less brittle, avoiding the "brutal ↵Gravatar Eric Fellheimer2015-04-27
| | | | | | | overloading" it had been doing previously. -- MOS_MIGRATED_REVID=91979641
* Add a mechanism for configuration fragments to add arbitrary rules to the ↵Gravatar Lukacs Berki2015-04-24
| | | | | | | defaults package. -- MOS_MIGRATED_REVID=91956723
* Look for resources under Maven's standard directory layoutGravatar Kristina Chodorow2015-04-24
| | | | | | | Doesn't completely fix but improves #97 for a lot of people. -- MOS_MIGRATED_REVID=91909946
* Fix warnings about ancestors calls creating generic arrays.Gravatar Ulf Adams2015-04-24
| | | | | -- MOS_MIGRATED_REVID=91890175
* Move blaze_exit_code.h into util/ directory.Gravatar Thiago Farina2015-04-24
| | | | | | | | This is so util/ files do not depend on anything from higer level. -- Change-Id: I522be6722851f25e79d9c2b85275856cbbd978de MOS_MIGRATED_REVID=91882837
* Description redacted.Gravatar Peter Schmitt2015-04-24
| | | | | -- MOS_MIGRATED_REVID=91881146
* A minor refactoring in FileConfiguredTarget.Gravatar Lukacs Berki2015-04-24
| | | | | -- MOS_MIGRATED_REVID=91875924
* Simplify the createConfiguration method in SkyframeExecutor.Gravatar Ulf Adams2015-04-23
| | | | | | | | | Instead of passing BuildConfigurationKey instances around, just pass in the little data we actually need. This allows removing the BuildConfigurationKey class. -- MOS_MIGRATED_REVID=91865340
* Ensure extension's bundle minimum OS version is at least 8.0.Gravatar Peter Schmitt2015-04-23
| | | | | | | | | | | | | | This is required because Apple does not accept extensions whose plist has a minimum OS value lower than 8.0, or whose code is compiled at less than 8.0, even if it is included in an application that is compiled for, and marked compatible with, a lower OS version. Note that I didn't make this an attribute for now as there are no use cases for setting the value to anything but 8.0. If we ever need to make this user-configurable, a value can easily be set. -- MOS_MIGRATED_REVID=91831415
* Enables BlazeModule to return multiple ActionContextProviders and ↵Gravatar Googler2015-04-23
| | | | | | | ActionContextConsumers. -- MOS_MIGRATED_REVID=91827715
* Simplify AnalysisEnvironment creation.Gravatar Ulf Adams2015-04-23
| | | | | | | | | | | | | | Instead of computing flags based on the configuration in two places, we pass in the configuration and let the common code figure it out. Also change it so each CT only depends on the build info collection for its specific configuration. This should be safe, as the API doesn't allow passing a configuration in - it instead takes ruleContext.getConfiguration, which should be consistent with the dependency declarations in SkyframeBuildView in all cases. -- MOS_MIGRATED_REVID=91819844
* Fix indentation in TestCommand.Gravatar Ulf Adams2015-04-23
| | | | | -- MOS_MIGRATED_REVID=91818123
* Similar to TargetMarkerValue, have TargetPatternValue *not* embed Targets.Gravatar Nathan Harmata2015-04-23
| | | | | | | []TESTED: See -- MOS_MIGRATED_REVID=91816612
* Fix http_jar documentationGravatar Kristina Chodorow2015-04-23
| | | | | | | Fixes #153. -- MOS_MIGRATED_REVID=91815970
* Redirect the getBuildInfo method calls through RuleContext.Gravatar Ulf Adams2015-04-23
| | | | | | | | This simplifies the callers and we get better consistency - the getBuildInfo must use matching AnalysisEnvironment and RuleContext objects. -- MOS_MIGRATED_REVID=91815339
* Make --compile_one_dependency more "configurable attribute"-friendly:Gravatar Greg Estren2015-04-23
| | | | | | | | | | | rather than skip *all* rules with configurable attributes, just skip those with configurable "srcs". This is a more precise model of the rules we can't reliably figure out source ownership for in the loading phase. -- MOS_MIGRATED_REVID=91807972
* Constraints: don't check constraints on implicit or lateboundGravatar Greg Estren2015-04-23
| | | | | | | dependencies. -- MOS_MIGRATED_REVID=91801043
* Remove old Skylark Function hierarchyGravatar Francois-Rene Rideau2015-04-23
| | | | | | | Last step in refactoring of Skylark builtin functions. -- MOS_MIGRATED_REVID=91796746
* Only check visibility when the rule class has the attributeGravatar Kristina Chodorow2015-04-23
| | | | | | | Fixes #150. -- MOS_MIGRATED_REVID=91785592
* Remove circular symlinks to external dependenciesGravatar Kristina Chodorow2015-04-23
| | | | | | | Fixes #87. -- MOS_MIGRATED_REVID=91784426
* Use BuiltinFunction for all builtinsGravatar Francois-Rene Rideau2015-04-22
| | | | | | | | Replace the uses of AbstractFunction, MixedModeFunction, SkylarkFunction and SimpleSkylarkFunction by BuiltinFunction. -- MOS_MIGRATED_REVID=91763158
* Parser: Update code to prepare for list filtering.Gravatar Laurent Le Brun2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91714318
* More Skylark function cleanupsGravatar Francois-Rene Rideau2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91713784