aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Fix breakage caused by visibility.Gravatar Damien Martin-Guillerez2015-11-17
| | | | | | | See build http://ci.bazel.io/job/Bazel/221/ -- MOS_MIGRATED_REVID=108032099
* Fix build on FreeBSD.Gravatar Googler2015-11-17
| | | | | -- MOS_MIGRATED_REVID=108029812
* Rollback of commit 71ab497f82130e5f7c682bea140de78a48088b4f.Gravatar Damien Martin-Guillerez2015-11-17
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel compilation (see http://ci.bazel.io/job/Bazel/220/). Found by git bisect run bazel build src/tools/android/java/com/google/devtools/build/android/libandroid_builder_lib.jar Confirmed manually that this the culprit. *** Original change description *** Added ResourceShrinker - strips unused resources from final APK. -- MOS_MIGRATED_REVID=108027975
* Fixed copy&paste error in javadoc.Gravatar Florian Weikert2015-11-17
| | | | | -- MOS_MIGRATED_REVID=108026192
* Adapt blaze 'features' documentation to link to the crosstool's featureGravatar Manuel Klimek2015-11-17
| | | | | | | documentation. -- MOS_MIGRATED_REVID=108019887
* Emit extra-actions for actions registered by Aspects.Gravatar Carmi Grushko2015-11-17
| | | | | | | A prerequisite is to pass RuleContext to ConfiguredAspect, so we can read from it the registered actions when we build() the aspect. -- MOS_MIGRATED_REVID=107997593
* Add bazel flag to control how proguard runsGravatar Googler2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107989708
* Change the type of ExtraActionArtifactsProvider.extraActionArtifacts to be ↵Gravatar Carmi Grushko2015-11-17
| | | | | | | NestedSet, to reduce waste when copying aggregating it. -- MOS_MIGRATED_REVID=107988653
* Add C# rule docs to Bazel's Build Encyclopedia.Gravatar David Chen2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107987328
* Flesh out documentation for .NET rules. Minor formatting changes toGravatar David Z. Chen2015-11-17
| | | | | | | | | csharp.bzl. -- Change-Id: Ie2a98cafdd76a7d8994f25d280d18ec848732aaa Reviewed-on: https://bazel-review.googlesource.com/#/c/2320/ MOS_MIGRATED_REVID=107987176
* Rename methodGravatar Googler2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107984555
* Open source skyframe testsGravatar Kristina Chodorow2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107983315
* Apply the docker_build directory option to tars as well as files.Gravatar Googler2015-11-17
| | | | | | | | * It enables tar packages to be placed at "/usr/local", say, and removes the need for the current workaround of repackaging the original tars. -- MOS_MIGRATED_REVID=107983091
* Store the java_toolchain source version, target version, and encoding in ↵Gravatar Alex Humesky2015-11-17
| | | | | | | JavaToolchainProvider. -- MOS_MIGRATED_REVID=107982866
* Open source graph testsGravatar Kristina Chodorow2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107978531
* Improve concurrency level in invalidation setsGravatar Mark Schaller2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107974602
* [docker] Fixes parsing of data_path for './'Gravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #604. -- MOS_MIGRATED_REVID=107972542
* Add test for case when node is no longer needed, then explicitly evaluated, ↵Gravatar Janak Ramakrishnan2015-11-17
| | | | | | | then depended on again. -- MOS_MIGRATED_REVID=107965687
* Added ResourceShrinker - strips unused resources from final APK.Gravatar Googler2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107962762
* Add missing load statement in docker_build documentationGravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #603. -- MOS_MIGRATED_REVID=107959662
* Allow udeb as input of docker debsGravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #618. -- MOS_MIGRATED_REVID=107957576
* Recommend that optional parameters have a default of None.Gravatar Chris Povirk2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107957505
* Narrow causes in NoSuchThingException familyGravatar Michajlo Matijkiw2015-11-17
| | | | | | | Become a bit more restrictive to keep our exception cases tight. -- MOS_MIGRATED_REVID=107953779
* Add an explicit way to get the canonical string-representation of a Label.Gravatar Carmi Grushko2015-11-17
| | | | | | | Motivation: "toString" doesn't describe what representation it returns, and can be called implicitly on string-conversion. Users are then forced to read the javadoc to figure out what they get. -- MOS_MIGRATED_REVID=107946973
* Hardcode some spawn actions to run locally.Gravatar Eric Fellheimer2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107942588
* Add srcs for Go rules.Gravatar Han-Wen Nienhuys2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107939664
* De-dup worker_input fileGravatar Kristina Chodorow2015-11-16
| | | | | | | | An upcoming change exposed that worker_input ends up being created by multiple rules, which Bazel doesn't like. -- MOS_MIGRATED_REVID=107934993
* Set //src/test/shell/bazel:bazel_worker_test to manual until the flakiness ↵Gravatar Damien Martin-Guillerez2015-11-16
| | | | | | | issue is resolved -- MOS_MIGRATED_REVID=107927902
* Tutorial: fix WORKSPACE env var exportGravatar Kamal Marhubi2015-11-16
| | | | | | | | | As mentioned in mailing list: https://groups.google.com/forum/#!msg/bazel-discuss/Lmmny9foXW0/_tf2ti8KCAAJ -- Change-Id: I8ec654b3cb8a5df28113d1136c511334c1ea99e9 Reviewed-on: https://bazel-review.googlesource.com/#/c/2340/ MOS_MIGRATED_REVID=107923683
* Set the ijar MAX_BUFFER_SIZE to 256 MBGravatar Damien Martin-Guillerez2015-11-16
| | | | | | | | | | Some users have reported that the Bazel server was growing to more than 128 MB. Fixes #609 -- MOS_MIGRATED_REVID=107920664
* Optionally allow Bazel to pass JVM options containing spaces directly ↵Gravatar Janak Ramakrishnan2015-11-16
| | | | | | | | | through to the JVM instead of (almost certainly incorrectly) splitting the options along spaces. This allows us to pass non-quote-delimited strings to the JVM, which is necessary for things like -XX:OnOutOfMemoryError="kill -3 %p" (normally bash strips those quotes, but they're not stripped when passed via --host_jvm_args). -- MOS_MIGRATED_REVID=107820087
* Optimize the hash code function of Pair to minimize varargs expansion.Gravatar Eric Fellheimer2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107812527
* Exit with an error message, rather than crashing, when an attempt is made to ↵Gravatar John Field2015-11-16
| | | | | | | load a Skylark file not contained in a package. -- MOS_MIGRATED_REVID=107811126
* Fix crash when two Skylark loads reference the same path.Gravatar John Field2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107808413
* Reduce AutoBoxing-induced GC churn by using AtomicLongMap.Gravatar Eric Fellheimer2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107806099
* Minor tweaks to DirectoryListingStateValueGravatar Michajlo Matijkiw2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107805824
* Track the entire OutputService instead of just the BatchStatter.Gravatar Eric Fellheimer2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107800790
* Add the concept of a "universal" configuration fragment, which allGravatar Greg Estren2015-11-16
| | | | | | | | | | | | | | | | | configurations contain regardless of whether their rules explicitly require it. This is used to ensure all rules have BazelConfiguration. That fragment supplies the path to the shell, which powers BuildConfiguration.getShExecutable(), which powers any rule that generates a SpawnAction. Since SpawnActions are such a ubiquitous pattern we only want to accelerate going forward, there's no point not to make this automatically available to every rule. -- MOS_MIGRATED_REVID=107786879
* Remove android:hasCode from AndroidManifest.xml in stubify_manifest.py.Gravatar Lukacs Berki2015-11-13
| | | | | | | | | Stubifying an app always injects the stub application, so the incremental APK will have code in it even if the original app didn't. This came about from #595 (it wouldn't have been reported if we did this) -- MOS_MIGRATED_REVID=107781748
* Build tools during setup-intellij.sh .Gravatar Lukacs Berki2015-11-13
| | | | | | | When output/bazel didn't exist (like in clean checkouts), "./compile.sh compile" would build a bazel without ijar, JavaBuilder_deploy.jar and their friends, which of course didn't work. -- MOS_MIGRATED_REVID=107772112
* Rollback of commit f6866778db261e5d8b95ee1c46622ceb19a609a4.Gravatar Lukacs Berki2015-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks the Jenkins continuous builds. The error message is a mysterious Skyframe one and it only raised if the Android NDK/SDK is set in the WORKSPACE file: java.lang.IllegalStateException: ANDROID_NDK_REPOSITORY:@androidndk -> GroupedListHelper{groupedList=[FILE:[/usr/local/google/home/lberki/.cache/bazel/_bazel_lberki/97aa07230f44a76bcaa14338f20a8e2e/external/androidndk/ndk/RELEASE.TXT]/[]], elements=[FILE:...], size=24}, reverseDepsToSignal=ReverseDeps{reverseDeps=REPOSITORY:@androidndk, singleReverseDep=true, dataToConsolidate=null}, lastBuildDirectDeps=null, dirtyDirectDepIterator=null}} at com.google.common.base.Preconditions.checkState(Preconditions.java:197) at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:994) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$2.run(AbstractQueueVisitor.java:496) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) *** Original change description *** Preserve repositories' rooted paths This was taking the "right" rooted path, converting it to a path, and then making the rooted path [/path/to/external/repo/BUILD]/[] (where it should have been [/path/to/external/repo]/[BUILD]). -- MOS_MIGRATED_REVID=107768560
* Add a (disabled) test case that tickles a bug in new_local_repository.Gravatar Lukacs Berki2015-11-13
| | | | | -- MOS_MIGRATED_REVID=107763223
* Use Labels, rather than PathFragments, to represent Skylark loads ↵Gravatar John Field2015-11-13
| | | | | | | | | | | | | | | | | | | | | internally. The load location for a Skylark Aspect is specified via a PathFragment, for consistency with current non-Aspect Skylark loads. This should be a semantics-preserving change for users. In a subsequent CL, I'll change the Skylark syntax to allow load statements to use labels as well as paths, with the goal of eventually deprecating the latter. Also: - Removed the hack for handling relative loads in the prelude file. - Refactored some redundant functionality in PackageFunction and SkylarkImportLookupFunction for handling loads. - Removed the ability to put the BUILD file for the package containing a Skylark file under a different package root than the Skylark file itself. This functionality isn't currently used and is inconsistent with Blaze's handling of the package path elsewhere. - Added BUILD files to a number of tests that load Skylark files; this is consistent with the requirement that all Skylark files need to be part of some package. - Changed the constants used to set the location of the prelude file from paths to labels. -- MOS_MIGRATED_REVID=107741568
* RELNOTES: Symlink dirents of directories containing a file named ↵Gravatar Nathan Harmata2015-11-13
| | | | | | | | | | | | | | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN" will *not* be traversed for transitive target patterns. The motivation here is to allow directories that intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt out of being consumed by Blaze. For example, given <workspace>/foo bar bad -> . DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN the 'bad' symlink will *not* be traversed by the pattern '//foo/...'. -- MOS_MIGRATED_REVID=107738930
* Preserve repositories' rooted pathsGravatar Kristina Chodorow2015-11-13
| | | | | | | | | This was taking the "right" rooted path, converting it to a path, and then making the rooted path [/path/to/external/repo/BUILD]/[] (where it should have been [/path/to/external/repo]/[BUILD]). -- MOS_MIGRATED_REVID=107726114
* Removed unused FileFunctionException constructorGravatar Michajlo Matijkiw2015-11-13
| | | | | -- MOS_MIGRATED_REVID=107726105
* When getting package roots for exec paths, don't start with the file, which ↵Gravatar Janak Ramakrishnan2015-11-13
| | | | | | | is guaranteed not to be a package. Instead, start with its parent. This will be faster and take less memory. -- MOS_MIGRATED_REVID=107725767
* Make it easier to reuse empty PrepareDepsOfTargetsUnderDirectoryValue singletonsGravatar Michajlo Matijkiw2015-11-13
| | | | | -- MOS_MIGRATED_REVID=107719658
* Change Precondition.checkState to Precondition.checkArgument.Gravatar Greg Estren2015-11-13
| | | | | -- MOS_MIGRATED_REVID=107719461
* Pre-trim build options for all remaining calls to ConfigurationFragment.key. ↵Gravatar Greg Estren2015-11-13
| | | | | | | | | | | | 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=107713353