aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* When setting up an IntelliJ project for Bazel, point at the AutoValue ↵Gravatar Carmi Grushko2015-11-19
| | | | | | | annotation processor, and add its output directory to the source tree. -- MOS_MIGRATED_REVID=108239745
* Record histogram and other statistics for the ProfileTask objects. In case ↵Gravatar Miguel Alcon Pinto2015-11-19
| | | | | | | of recording VFS_ stats we try to catalog the access base on the path type. -- MOS_MIGRATED_REVID=108238357
* Retrieve Android native link flag features from the right toolchain.Gravatar Brian Silverman2015-11-19
| | | | | | | | | | | | | Previously, the feature-based flags for links of native code for Android were coming from the standard TARGET toolchain, which is wrong. This went unnoticed because Bazel's CROSSTOOL (and mine until recently) don't add any flags that way in either, which means getting the flags either way results in none. -- Change-Id: I74cd18ff56e3aea7ca61fabe62cb2246100ee59a Reviewed-on: https://bazel-review.googlesource.com/#/c/2322 MOS_MIGRATED_REVID=108234274
* Unbreak jdk7 builds on ci.bazel.ioGravatar Damien Martin-Guillerez2015-11-19
| | | | | | | | A Java construct that was used in GroupedListTest is not valid in Java 7 and is breaking jdk7 builds. -- MOS_MIGRATED_REVID=108232703
* Allow SkyValues to be marked not "comparable". Such values are not compared ↵Gravatar Eric Fellheimer2015-11-19
| | | | | | | for the purpose of change pruning. -- MOS_MIGRATED_REVID=108203369
* More batching of graph lookups during evaluationGravatar Mark Schaller2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108186573
* Propagate apple platform environment variables for CppCompileActionGravatar Chris Parsons2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108182745
* Makes resources defined locally on an android_library rule respect the ↵Gravatar Andrew Pellegrini2015-11-19
| | | | | | | | | neverlink attribute. RELNOTES: Resources defined locally on an android_library rule will respect the neverlink attribute. -- MOS_MIGRATED_REVID=108178381
* Add generate_resource_class to android_studio_ide_info.proto.Gravatar Googler2015-11-19
| | | | | | | | | This boolean matches bazel's semantics on whether a R.java class should be generated. Android Studio generates its own in-memory class, but we need to know *whether* we should generate one. -- MOS_MIGRATED_REVID=108175802
* Batch (r)deps lookups during evaluationGravatar Mark Schaller2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108174404
* Have trimConfigurations preserve the same dep orderingGravatar Greg Estren2015-11-19
| | | | | | | | | | | | | | as its input. e.g. given input {"attr": [':a', ':b']} the trimmed version also keeps ':a' in front of ':b'. This preserves the expected invariant that prerequisites are navigatable in BUILD declaration order. -- MOS_MIGRATED_REVID=108170921
* Avoid re-evaluating a parent node when a child is found to be unchanged from ↵Gravatar Janak Ramakrishnan2015-11-19
| | | | | | | | | | | an earlier version at which the child changed but the parent did not. Concrete scenario: Parent depends on Child. We first evaluate at version v1, Child has value A1, Parent has value B1. We then evaluate at version v2, which changes a dependency of Child. Child has value A2, and Child.getVersion() returns v2. Parent re-evaluates to B1, so is unchanged. Parent.getVersion() returns v1. Now evaluate at version v3, which also changes a dependency of Child. Child re-evaluates to A2, so Child.getVersion() returns v2. If we signal Parent with v2 and Parent only knows that it is at version v1, then Parent must unnecessarily re-evaluate. To fix this, we store an additional version in the entry -- the version at which the node was last evaluated, even if the evaluation did not result in a new value. Parent can then compare that version to its children's versions. If that version is at least as recent as their versions, it knows that the result of evaluating will be the same as it was at that last evaluated version, which is its current value. An alternative solution might be to just signal the parent with a boolean, saying whether or not the child was changed on this evaluation. However, this would be incorrect in the scenario above, with the modification that in the second evaluation, the user just requests the value of Child -- Parent is not updated. In that case, during the third evaluation, Child would report that it was not changed during this evaluation, but we must still re-evaluate Parent since it has not yet picked up the value of Child from the earlier build. -- MOS_MIGRATED_REVID=108163443
* Make AbstractFileSystem correct in isolation. Previously there was ↵Gravatar Nathan Harmata2015-11-19
| | | | | | | | | (accidentally) the implicit requirement that the deriving class override FileSystem#stat. Even though this wasn't a problem in practice in the Bazel codebase (since all of our transitive subclasses had custom 'stat' implementation), it's good hygiene to have things correct (e.g. if we added a new subclass). -- MOS_MIGRATED_REVID=108158039
* Compare GroupedLists without regard to the order within a given group. Also ↵Gravatar Janak Ramakrishnan2015-11-19
| | | | | | | make sure that we don't store duplicate elements within a given group (although that is currently taken care of by the callers). -- MOS_MIGRATED_REVID=108155105
* Don't store repeated packageId in targets when serializing packageGravatar Michajlo Matijkiw2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108154410
* Simplify inputs to NoSuchTargetExceptionGravatar Michajlo Matijkiw2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108154189
* Open-sourced PackageFactoryTest.Gravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108153169
* Open-source 'RuleTest'Gravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108152180
* Open source BazelDocumentationTest (and fix documentation).Gravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108145081
* Modify SkyQueryEnvironment to work in stream mode. This streaming system is ↵Gravatar Miguel Alcon Pinto2015-11-19
| | | | | | | pretty simple: It aggregates up to 10k elements and then it notifies the parent. -- MOS_MIGRATED_REVID=108144202
* Notify the output service at startup whether output tree tracking is enabled.Gravatar Eric Fellheimer2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108142409
* Allow output formatters to work in stream mode.Gravatar Miguel Alcon Pinto2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108142169
* Remove dead code from RuleSetUtilsGravatar Kristina Chodorow2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108139365
* Allow %package(@foo//bar)%/path for cxx builtin include dirs.Gravatar Brian Silverman2015-11-18
| | | | | | | | | | | | | This allows using compilers downloaded in *_repository rules without ugly hacks like symlinks to bazel-out/../../external. I manually tested all of the %prefix%s which this refactors the implementations of. -- Change-Id: Ie9931dfbed646b8b5c9cd7fba5e6df5cf0baa1f2 Reviewed-on: https://bazel-review.googlesource.com/#/c/2200 MOS_MIGRATED_REVID=108139097
* Update go_binary and go_test rules to copy files in the "data"Gravatar David Santiago2015-11-18
| | | | | | | | | | attribute to runfiles. Add shell-based unit test for runfile support by these rules. -- Change-Id: Ia97278059d104b9728d53aa75c0987fc3c47b640 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2265/ MOS_MIGRATED_REVID=108139011
* Open-source RPC tests.Gravatar Dmitry Lomov2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108127872
* Tweak the bootstrapping and build process so that the prebuilt tools under ↵Gravatar Lukacs Berki2015-11-18
| | | | | | | | | tools/jdk are not necessary anymore. Fixes #508. -- MOS_MIGRATED_REVID=108123264
* Rollback of commit 976211dd45215a6146e0ab312186de0eaa955a75.Gravatar Googler2015-11-18
| | | | | | | | | | | | | | | | | *** Reason for rollback *** broke Speckle and Dataflow *** Original change description *** [docker] Print a clearer message when xzcat cannot be found and is needed Also use the default shell env for docker deb files. Fixes #611. -- MOS_MIGRATED_REVID=108105646
* Get rid of compression when zipping up files to improve local compilation ↵Gravatar Dave MacLachlan2015-11-18
| | | | | | | | | performance. RELNOTES:none -- MOS_MIGRATED_REVID=108086031
* RELNOTES: Passing multiple JVM options via a single --host_jvm_args flag is ↵Gravatar Janak Ramakrishnan2015-11-18
| | | | | | | now deprecated. Pass each JVM option behind its own --host_jvm_args flag. -- MOS_MIGRATED_REVID=108085362
* LipoDataTransition is only meaningful for C++Gravatar Greg Estren2015-11-18
| | | | | | | | | | | | options. If a rule (such as a filegroup) doesn't have C++ options in its transitive closure, then buildOptions.get(CppOptions.class) returns null and crashes. So add a check to just fast-return for these cases. -- MOS_MIGRATED_REVID=108079561
* Fixes bug with AndroidResourcesProcessorBuilder building densities argument ↵Gravatar Andrew Pellegrini2015-11-18
| | | | | | | as a quote separated list and DensitySpecificResourceFilter missing some densities. -- MOS_MIGRATED_REVID=108077692
* Skylark path-based relative loads now work correctly (with the new ↵Gravatar John Field2015-11-18
| | | | | | | | | label-based loading machinery) when the containing file is in a subdirectory of a package. Also, while we're in the neighborhood: correct two nearby tests of relative loads that were passing for the wrong reasons. -- MOS_MIGRATED_REVID=108072189
* Don't repeatedly add and remove rdeps in GraphConcurrencyTest -- we don't do ↵Gravatar Janak Ramakrishnan2015-11-18
| | | | | | | that in Bazel. -- MOS_MIGRATED_REVID=108071074
* Open source test project generation utilsGravatar Kristina Chodorow2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108070691
* Cleanup MarkedDirtyResult docs and constructorGravatar Mark Schaller2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108069029
* Use LinkedListMultimap instead of ArrayListMultimapGravatar Greg Estren2015-11-18
| | | | | | | | | | | in ConfiguredTargetFunction.trimConfigurations to preserve key insertion order. This ensures that RuleContext.getPrerequisites returns an attribute's deps in the same order they were declared. -- MOS_MIGRATED_REVID=108063142
* Batch reverse dep retrieval in invalidationGravatar Mark Schaller2015-11-18
| | | | | | | | | | | Rather than retrieve and process the reverse deps of an invalidated node one at a time, batch request the set of reverse deps and then process each of them. This reduces the overhead of requesting values from the graph. -- MOS_MIGRATED_REVID=108062933
* Sort entries in SelectorValue.Gravatar Han-Wen Nienhuys2015-11-18
| | | | | | | This makes query output independent of the insertion order of the dictionary. -- MOS_MIGRATED_REVID=108061190
* Add launch_storyboard for iOS bundles (apps, extensions).Gravatar Peter Schmitt2015-11-18
| | | | | | | | | | Also introduces DottedVersion, a way to parse, represent and most of all compare Apple's version identifiers. RELNOTES: iOS apps and extensions now have launch_storyboard -- MOS_MIGRATED_REVID=108060328
* Rename Platform.forArch to Platform.forIosArch, as it is truly doing the latter.Gravatar Chris Parsons2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108057030
* Package serialization operates on Coded{Input,Output}StreamsGravatar Michajlo Matijkiw2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108056940
* Remove --objc_per_proto_includes flag, which was obsoleted by the rule-level ↵Gravatar Googler2015-11-18
| | | | | | | | | attribute of the same name. RELNOTES: Remove obsolete --objc_per_proto_includes flag. -- MOS_MIGRATED_REVID=108056207
* Allow for a set of known modified files to be passed into the ↵Gravatar Eric Fellheimer2015-11-18
| | | | | | | FileSystemValueChecker when checking for dirty actions. -- MOS_MIGRATED_REVID=108046467
* Return rdeps when marking a node dirtyGravatar Mark Schaller2015-11-18
| | | | | | | | | | The thread that succeeds at marking a node dirty during invalidation must then schedule that node's reverse deps for invalidation. Providing the set of reverse deps as a return value from marking a node dirty makes some future optimizations possible. -- MOS_MIGRATED_REVID=108045473
* Add dependencies to the Go toolchain for bazel_go_example_test.Gravatar Han-Wen Nienhuys2015-11-18
| | | | | | | | These were removed from srcs earlier (as they are not sources), but they're necessary to run the e2e test. -- MOS_MIGRATED_REVID=108042063
* When computing the transitive config fragments required by a target,Gravatar Greg Estren2015-11-18
| | | | | | | | | | | | | | | include Skylark-declared requirements (which use names instead of fragment class, e.g. "cpp" vs. CppConfiguration.class). Also add "cpp" to Skylark java_* definitions, since java_* rules are used to trigger LipoDataTransitions and thus expected to have a CppConfiguration fragment. Test coverage: skylark.BindTest with --experimental_dynamic_configs=1. (and other Skylark tests). -- MOS_MIGRATED_REVID=108041244
* Added ResourceShrinker - strips unused resources from final APK.Gravatar Googler2015-11-18
| | | | | -- MOS_MIGRATED_REVID=108039800
* More fixing breakage of the go rule tests.Gravatar Damien Martin-Guillerez2015-11-18
| | | | | | | The test itself is still failing. I don't understand why (seems to be the fixture that is wrong). -- MOS_MIGRATED_REVID=108038743
* [docker] Print a clearer message when xzcat cannot be found and is neededGravatar Damien Martin-Guillerez2015-11-18
| | | | | | | | | Also use the default shell env for docker deb files. Fixes #611. -- MOS_MIGRATED_REVID=108035989