aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
Commit message (Collapse)AuthorAge
* Make --symlink_prefix= work as expected again (i.e. create links called ↵Gravatar Lukacs Berki2015-11-25
| | | | | | | "bin"/"genfiles" instead of the default ones) -- MOS_MIGRATED_REVID=108699595
* Fix the android_ndk_repository rule that was broken in a previous commit.Gravatar Lukacs Berki2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108691743
* Simplify external repository support by removing FileValue from ↵Gravatar Lukacs Berki2015-11-25
| | | | | | | RepositoryValue and not depending it from repository functions. -- MOS_MIGRATED_REVID=108685867
* Mount /sbin into the sandbox.Gravatar Brian Silverman2015-11-25
| | | | | | | | | | This is necessary to be able to verify that the network sandbox is active using ifconfig, for example. -- Change-Id: Ia3ea16e18cf1d280f31870c867e56336bb48e7bd Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2361 MOS_MIGRATED_REVID=108685498
* Implementation for xcode_version and xcode_config rules.Gravatar Chris Parsons2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108659943
* Remove unused package serialization/deserialization codeGravatar Michajlo Matijkiw2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108645176
* Avoid low-value boxing of longs in AbstractQueueVisitorGravatar Mark Schaller2015-11-25
| | | | | | | Reduces garbage. -- MOS_MIGRATED_REVID=108641543
* add option to provide proguard specs on blaze command lineGravatar Googler2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108626077
* Add a separate BUILD file for singlejar zip library.Gravatar Han-Wen Nienhuys2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108622328
* Make support for interruptibility optional during dirtyingGravatar Mark Schaller2015-11-25
| | | | | | | Reduces the amount of work needed when interruptibility isn't needed. -- MOS_MIGRATED_REVID=108611609
* Description redacted.Gravatar Carmi Grushko2015-11-24
| | | | | -- MOS_MIGRATED_REVID=108592613
* Avoid extra rdeps copy when finishing nodeGravatar Mark Schaller2015-11-24
| | | | | | | Reduces garbage and wasted work -- MOS_MIGRATED_REVID=108566164
* Description redacted.Gravatar Carmi Grushko2015-11-24
| | | | | -- MOS_MIGRATED_REVID=108555227
* Minor tweaks in DirectoryListingValueGravatar Michajlo Matijkiw2015-11-24
| | | | | -- MOS_MIGRATED_REVID=108532339
* Presize invalidation pairs collectionGravatar Mark Schaller2015-11-24
| | | | | | | Reduces garbage generated during array resizing. -- MOS_MIGRATED_REVID=108528430
* Extract ReverseDepsUtil interface so that InMemoryNodeEntry can be partially ↵Gravatar Janak Ramakrishnan2015-11-24
| | | | | | | isolated from implementation details. -- MOS_MIGRATED_REVID=108523104
* Tolerate independent cycle underneath main cycle during a re-evaluation.Gravatar Janak Ramakrishnan2015-11-24
| | | | | | | With the new-ish behavior of change pruning, where nodes transition from NEEDS_REBUILDING to REBUILDING, we need to make that transition unconditionally for dirty nodes -- being ready after unfinished deps were removed is irrelevant. -- MOS_MIGRATED_REVID=108508979
* Require that the Android manifest be called AndroidManifest.xmlGravatar Lukacs Berki2015-11-24
| | | | | | | | | aapt requires this. Also eliminate a few places where the unchecked RuleConfigurationException is thrown. -- MOS_MIGRATED_REVID=108491660
* config_setting rules with 'values = {"cpu": "foo"}'Gravatar Greg Estren2015-11-24
| | | | | | | | | | | | need the C++ fragment. This option, specifically, requires special processing because it's declared in BuildConfiguration.Options but its "real" value is determined in CppConfiguration after reading a CROSSTOOL. -- MOS_MIGRATED_REVID=108394235
* Add previous() method to IntVersion.Gravatar Janak Ramakrishnan2015-11-24
| | | | | -- MOS_MIGRATED_REVID=108386134
* add optimization modes that require implicit proguard specGravatar Googler2015-11-24
| | | | | -- MOS_MIGRATED_REVID=108376750
* Extract Attribute serialization logicGravatar Michajlo Matijkiw2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108368348
* Use the https url for maven central.Gravatar wjywbs2015-11-20
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/634 MOS_MIGRATED_REVID=108365288
* Do not recurse into the convenience symlinks when evaluating the "//..." ↵Gravatar Lukacs Berki2015-11-20
| | | | | | | | | target pattern. Apart from the tests, I also tested this manually running "bazel query //..." in a tree with convenience symlinks. -- MOS_MIGRATED_REVID=108325454
* Removed trailing period from info messages.Gravatar Florian Weikert2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108324961
* Move static fields used by querying to query2Gravatar Kristina Chodorow2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108282005
* --Gravatar Carmi Grushko2015-11-20
| | | | MOS_MIGRATED_REVID=108278075
* Clean up documentation for previousGravatar Greg Estren2015-11-20
| | | | | | | dynamic config / configurable attributes change. -- MOS_MIGRATED_REVID=108274420
* Add dynamic config support for config_setting rules.Gravatar Greg Estren2015-11-20
| | | | | | | | | | | | | | | | Specifically, given: config_setting( name = 'foo', values = {'copts': '-DABC'}) this requires a dependency on the Cpp configuration fragment. config_setting rules are unique in that this dependency comes from string representations of option names. -- MOS_MIGRATED_REVID=108268831
* Presize invalidation sets for better performanceGravatar Mark Schaller2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108266475
* Make Android assets work in external repositories.Gravatar Lukacs Berki2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108258054
* --output_groups overrides default output groups if set.Gravatar Googler2015-11-19
| | | | | | | | | | | If --output_groups is specified without a + or a - sign, it removes the default output groups used for artifact selection from targets. * Use output_groups=+<group_name> to add an output group, * Use output_groups=-<group_name> to remove an output group. -- MOS_MIGRATED_REVID=108247894
* Workaround javac 1.7 bugGravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108243881
* 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
* 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
* 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