aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Allows cc_{library, binary} targets to depend on objc_library.Gravatar Googler2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109909215
* Allow output formatters to work in stream mode.Gravatar Miguel Alcon Pinto2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109908202
* Open-source a support data-structure for protocol buffers.Gravatar Carmi Grushko2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109900770
* Open source PackageCacheTest.Gravatar Ulf Adams2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109899239
* Add Preconditions variant that avoids varargs array creationGravatar Mark Schaller2015-12-10
| | | | | | | Reduces garbage. -- MOS_MIGRATED_REVID=109898521
* Open-source command-line options specific to protocol buffer.Gravatar Carmi Grushko2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109897602
* Don't print an error message about cat if a test exits abnormallyGravatar Kristina Chodorow2015-12-10
| | | | | | | | | | On calls to fail, the failure message is written to $TEST_TMPDIR/__fail. This is cat-ed to get the message, but if the test exited without calling fail then an annoying 'cat: blah/blah/blah/__fail: No such file or directory' message is printed. This throws out the error message if the cat fails. -- MOS_MIGRATED_REVID=109896051
* Open-source MockCcSupport and some tests for LibraryLinkingTest.Gravatar Dmitry Lomov2015-12-10
| | | | | | | Also changed the setup of BazelAnalysisMock. -- MOS_MIGRATED_REVID=109890009
* Open source IOExceptionsTest.Gravatar Ulf Adams2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109885964
* Use guice_noaop to trim down dependenciesGravatar Damien Martin-Guillerez2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109885357
* A minor tweak to the mechanism by which Bazel finds out it is in the ↵Gravatar Lukacs Berki2015-12-10
| | | | | | | execroot of another workspace. -- MOS_MIGRATED_REVID=109885272
* Shuffle around all the constants related to the name of the //external ↵Gravatar Lukacs Berki2015-12-10
| | | | | | | | | package and the prefix of external packages in the execroot. This is in preparation for renaming that path segment from "external" to "bazel-external" so that we can provide a symlink to it from the source tree so that the source tree looks like the execroot. -- MOS_MIGRATED_REVID=109882753
* Further improve sandbox documentation.Gravatar Philipp Wollermann2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109881691
* Improve sandboxing documentationGravatar Damien Martin-Guillerez2015-12-10
| | | | | | | | | | - Add mitigation of the common problem to the documentation - Add indication on how to activate sandboxing on some machine (GKE nodes for example) Fixes #433 -- MOS_MIGRATED_REVID=109879921
* Now that external files are not always treated as immutable, eliminate the ↵Gravatar Lukacs Berki2015-12-10
| | | | | | | "overlaid BUILD files" hack in RepositoryValue. -- MOS_MIGRATED_REVID=109877252
* Repurpose the not-meaningfully-used ErrorInfo#isTransient to mean "is ↵Gravatar Nathan Harmata2015-12-10
| | | | | | | | | transitively transient". Some followup changes will use this method. Previously, ErrorInfo#isTransient was only used internally in ParallelEvaluator; I think this method was originally added to ErrorInfo solely for the sake of convenience. -- MOS_MIGRATED_REVID=109840031
* Efficiency improvements to GroupedListGravatar Mark Schaller2015-12-10
| | | | | | | | | Presize GroupedListHelper sets when initialized from collections. Use CompactHashSets throughout. Avoid primitive autoboxing in Precondition statements. -- MOS_MIGRATED_REVID=109835986
* Distinguish between read and write locks for KeyedLocker.Gravatar Janak Ramakrishnan2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109835697
* Add guice-4.0 no_aop binaryGravatar Damien Martin-Guillerez2015-12-10
|
* Remove shortcut addProvider() methods, to prepare for AutoValue-ed providers.Gravatar Carmi Grushko2015-12-09
| | | | | | | Such providers have a create() method which returns an object whose runtime class differs from its compile-time class, which makes the shortcut methods behave unexpectedly. -- MOS_MIGRATED_REVID=109815042
* Fix all density specific resources being removed if multiple densities are ↵Gravatar Andrew Pellegrini2015-12-09
| | | | | | | specified. -- MOS_MIGRATED_REVID=109807370
* Precompute non-configurable attributes at RuleClass levelGravatar Michajlo Matijkiw2015-12-09
| | | | | | | | | Previously we created this collection for each AggregatingAttributeMapper, which we create at least every attribute encountered. Calculate the collection up front to avoid wasting time and memory. -- MOS_MIGRATED_REVID=109805907
* Simple refactor of specification of bazel binary for integration testsGravatar Damien Martin-Guillerez2015-12-09
| | | | | -- MOS_MIGRATED_REVID=109797588
* Avoid list copy in BuildingState.getNextDirtyDirectDepsGravatar Mark Schaller2015-12-09
| | | | | | | | | Also, in GroupedList, short-circuit expensive group equality check with a reference check, saving time and garbage when groups are the same object. -- MOS_MIGRATED_REVID=109795332
* Open source IncrementalLoadingTest.Gravatar Ulf Adams2015-12-09
| | | | | -- MOS_MIGRATED_REVID=109795225
* Add a --deep_execroot startup option that puts the execroot under ↵Gravatar Lukacs Berki2015-12-09
| | | | | | | | | $OUTPUT_BASE/execroot/<workspace name> instead of $OUTPUT_BASE/<workspace name>. This makes it possible to run Bazel in directories whose name clashes with one of the pre-existing files in the output base. Note that this option is turned off by default for now. -- MOS_MIGRATED_REVID=109791053
* Don't symlink {examples/tools}/BUILD in the base_workspace.Gravatar Lukacs Berki2015-12-09
| | | | | | | This is useful because they have rules that depend on rules in the subpackages of examples and tools thus negating the benefit of not descending into them when running "bazel build //...". -- MOS_MIGRATED_REVID=109774976
* Adding Guice to Bazel's third_partyGravatar Damien Martin-Guillerez2015-12-09
| | | | | -- MOS_MIGRATED_REVID=109770581
* Refactor external repository support significantly to solve a number of issues.Gravatar Lukacs Berki2015-12-09
| | | | | | | | | | | | | | | In particular: - Separate the implementation of maven_server into a RepositoryFunction and one that creates the MavenServerValue (ideally, maven_server wouldn't exist but we'll have to make to for the time being) - Refactor the logic of determining whether an external repository needs to be re-fetched to RepositoryDelegatorFunction - Make RepositoryFunctions not be SkyFunctions anymore (they are called from RepositoryDelegatorFunction, though, who *is* a SkyFunction) - Add a Skyframe dirtiness checker that makes --nofetch RepositoryValues not be cached - Add a bunch of test cases and javadoc There is only one wart that I know of that remains: changes to BUILD files of new_* repository rules that weren't refetched when their RepositoryValue was initiall created on server restart won't take effect. This is because we don't add those BUILD files to the created RepositoryValue. This will fix itself once the ExternalFilesHelper refactoring is submitted. -- MOS_MIGRATED_REVID=109768345
* Better error for invalid --ios_sdk_version.Gravatar Googler2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109722614
* Improve scalac: use ijar and download scalacGravatar oscar2015-12-08
| | | | | | | -- Change-Id: I22fb6cc5a37f5c6c216dc3abbc915d1be3fd5e6b Reviewed-on: https://bazel-review.googlesource.com/#/c/2410/ MOS_MIGRATED_REVID=109717610
* Plmerge receives arguments by a protobuf, introduces variable substitutions ↵Gravatar Googler2015-12-08
| | | | | | | | | to plmerge. As of this change plmerge can consume either a protobuf or command line arguments. Once bazel uses plmerge strictly with protobufs, the command line arguments will be deprecated. -- MOS_MIGRATED_REVID=109716003
* Find frameworks in System/ instead of in Developer/ for ios sdks 9.0 and laterGravatar Chris Parsons2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109715685
* Fail build gracefully if an action discovers unexpected inputs.Gravatar Janak Ramakrishnan2015-12-08
| | | | | | | | | | | | | | | | | | | Blaze discovers inputs for some actions when running with some strategies. Those actions should not discover additional inputs when they run, regardless of the strategy they end up using. There are now no known legitimate cases of such additional input discovery, so we should reinstate this check and find new ones :) We also change the failure mode to be a normal error rather than a crash. This error does indicate a tooling issue, and a small chance of incorrect builds, but it doesn't create such an inconsistent state that a crash is warranted. -- Change-Id: I5d498d2fc1c5e23bfb5d77971f866c2027cbf03a Reviewed-on: https://bazel-review.googlesource.com/#/c/2500/3 MOS_MIGRATED_REVID=109703508
* Follow-up on f9fdc8dfced8b2b14561720623126a91e04b22cb -- reinstate ↵Gravatar Janak Ramakrishnan2015-12-08
| | | | | | | short-circuit check when all package paths have good diff information and no external files have been seen. -- MOS_MIGRATED_REVID=109703164
* Don't print "Building complete" (and save the action caches) if we're about ↵Gravatar Janak Ramakrishnan2015-12-08
| | | | | | | to crash or exit abruptly. It just confuses users and could potentially cause other problems. -- MOS_MIGRATED_REVID=109702171
* Fix skylark aspect issues.Gravatar Dmitry Lomov2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109690378
* Rollback of commit ca1b21ac6d8a58041db822725b42de151b163dee.Gravatar Ulf Adams2015-12-08
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke some alipo builds. I had to leave in the change to TransitiveTargetFunctionTest, which is relied upon by follow-up CLs. *** Original change description *** Pre-trim build options for all remaining calls to ConfigurationFragment.key. Move the trimming logic into key() itself to: a) eliminate code redundancy b) guarantee all future calls to key() also do this. -- MOS_MIGRATED_REVID=109683849
* Simplify & speed-up the check whether sandbox related shell tests can run.Gravatar Philipp Wollermann2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109683354
* Added Guice 4.0 binaries to third_party.Gravatar Damien Martin-Guillerez2015-12-08
|
* Make "//..." do not find packages in the base workspace.Gravatar Lukacs Berki2015-12-08
| | | | | | | | | This is a temporary hack until the base workspace goes away. Fixes #652. -- MOS_MIGRATED_REVID=109677574
* Don't treat external files as immutableGravatar Kristina Chodorow2015-12-08
| | | | | | | | | Fixes #352. RELNOTES: Files in external repositories are now treated as mutable, which will make the correctness guarantees of using external repositories stronger (existent), but may cause performance penalties. -- MOS_MIGRATED_REVID=109676408
* Open source CompileOneDependencyTransformerTest.Gravatar Ulf Adams2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109673753
* Fix sandbox .params files being left aroundGravatar Brian Silverman2015-12-08
| | | | | | | | | They accumulate indefinitely and take up space. -- Change-Id: I74c7ffd795b21793f8654e0e30785e1b8ba99ca4 Reviewed-on: https://bazel-review.googlesource.com/#/c/2510/ MOS_MIGRATED_REVID=109656651
* Presize AttributeSerializer collectionsGravatar Michajlo Matijkiw2015-12-08
| | | | | -- MOS_MIGRATED_REVID=109649366
* Change xcode_version flag to build category so it shows up in blaze ↵Gravatar Dmitry Shevchenko2015-12-07
| | | | | | | auto-complete flags -- MOS_MIGRATED_REVID=109595089
* Refactor android_tools_defaults_jarGravatar Liam Miller-Cushon2015-12-07
| | | | | -- MOS_MIGRATED_REVID=109587887
* Open source the TargetPatternEvaluator tests.Gravatar Ulf Adams2015-12-07
| | | | | -- MOS_MIGRATED_REVID=109581214
* Avoid autoboxing on potential hot paths in LineNumberTableGravatar Michajlo Matijkiw2015-12-07
| | | | | | | | We wind up hitting this code path each time we call a user defined function to calculate a pretty string for profiling purposes. -- MOS_MIGRATED_REVID=109580385
* Cleanup: use int instead of Integer in the RecursiveFilesystemTraversal classes.Gravatar Laszlo Csomor2015-12-07
| | | | | -- MOS_MIGRATED_REVID=109579490