aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* 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
* 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
* Rename methodGravatar Googler2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107984555
* Open source skyframe testsGravatar Kristina Chodorow2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107983315
* 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
* 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
* 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
* 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
* 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
* 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
* Use the new BuildConfiguration.equalsOrIsSupersetOfGravatar Greg Estren2015-11-13
| | | | | | | | | in CcLibraryHelper. Also add a check for null configurations. -- MOS_MIGRATED_REVID=107709170
* Put NodeEntry in Supplier<SkyValue> passed to EvaluationProgressReceiver so ↵Gravatar Janak Ramakrishnan2015-11-13
| | | | | | | it's readily accessible in the program. -- MOS_MIGRATED_REVID=107698784
* Description redacted.Gravatar Googler2015-11-13
| | | | | -- MOS_MIGRATED_REVID=107694067
* Changes R.java to be a compile time dependency in android compilation. This ↵Gravatar Andrew Pellegrini2015-11-13
| | | | | | | results in the removal of R classes from the lib<name>.jar which is required to build proper aar artifacts. As an added benefit, android targets with only resources are no longer treated as having sources, making auto-export behavior more consistent with the build encyclopedia documentation and less surprising. -- MOS_MIGRATED_REVID=107691842
* Refactor createExtraActionProvider to not require mandatoryStampFiles, which ↵Gravatar Carmi Grushko2015-11-13
| | | | | | | is required by rules but not aspects. -- MOS_MIGRATED_REVID=107689641
* Inline SkyframeBuildView.createAspect into its only call-site, to reduce ↵Gravatar Carmi Grushko2015-11-13
| | | | | | | stack depth. -- MOS_MIGRATED_REVID=107688035
* Hardcodes Linux as the platform for the NDK crosstool unit tests because ↵Gravatar Alex Humesky2015-11-13
| | | | | | | that's what the test data is based on. Fixes #581. -- MOS_MIGRATED_REVID=107687820
* Support exports attribute for android_libraryGravatar Googler2015-11-13
| | | | | | | RELNOTES: Support exports attribute for android_library -- MOS_MIGRATED_REVID=107681545
* Allow package blacklisting to be done via a file checked into the depot. By ↵Gravatar Eric Fellheimer2015-11-12
| | | | | | | default this is disabled. -- MOS_MIGRATED_REVID=107644420