aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
Commit message (Collapse)AuthorAge
...
* Change default for rule classes that don't explicitlyGravatar Greg Estren2015-10-28
| | | | | | | | | | | | | | | declare required configuration fragments: from *everything* to *nothing*. Now that all builtin rules properly declare their fragments, the "backwards compatibility" concern that inspired the original behavior is no longer needed. This impacts, for example, filegroup rules, which have nothing to declare. -- MOS_MIGRATED_REVID=106433791
* Ignores the empty pathGravatar Scott Robertson2015-10-28
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/524 MOS_MIGRATED_REVID=106431355
* Pass apple sdk information to ios_test test actionsGravatar Chris Parsons2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106418732
* Force hdrs_check to "strict", remove "hdrs_check" attribute from cc_* rules.Gravatar Philipp Wollermann2015-10-27
| | | | | | | RELNOTES: Bazel does strict validation of include files now to ensure correct incremental builds. If you see compilation errors when building C++ code, please make sure that you explicitly declare all header files in the srcs or hdrs attribute of your cc_* targets and that your cc_* targets have correct "deps" on cc_library's that they use. -- MOS_MIGRATED_REVID=106410969
* Add ctor commentGravatar Kristina Chodorow2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106410161
* Clean up the CoverageReportActionFactory interface a bit.Gravatar Ulf Adams2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106409855
* Make EventCollector thread-safe for modifications.Gravatar Ulf Adams2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106407898
* Fixes a wrong path causing the *-toolchain_files filegroup to actually be empty:Gravatar Philipp Wollermann2015-10-27
| | | | | | | | | | philwo@philwo:/tmp/bazel$ ./output/bazel query 'labels(srcs, @androidndk//:arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-toolchain_files)' INFO: Empty results This caused compiliation failures when building //examples/android/java/bazel:hello_world with sandboxing enabled. -- MOS_MIGRATED_REVID=106405986
* Fixes the following linker error during compilation of ↵Gravatar Philipp Wollermann2015-10-27
| | | | | | | | | | | | //examples/android/java/bazel:hello_world with sandboxing enabled. external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_so.o: No such file or directory external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_so.o: No such file or directory external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl -- MOS_MIGRATED_REVID=106405880
* Add documentation of aar output to the build encyclopedia. Notes that the ↵Gravatar Andrew Pellegrini2015-10-27
| | | | | | | aar does not contain the transitive closure of the target, as this is a common misconception. -- MOS_MIGRATED_REVID=106396742
* Simplify uses of EventCollector.Gravatar Ulf Adams2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106389517
* Clean up tests to use EventCollectionApparatus more widely.Gravatar Ulf Adams2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106382513
* Eliminate the Android tools repository, and with it, ↵Gravatar Lukacs Berki2015-10-27
| | | | | | | | | Constants.ANDROID_DEP_PREFIX. This regrettably entails adding the options parser to the embedded tools in the Bazel binary, but that's only a temporary measure until the embedded binaries are compiled (and not provided in source from) -- MOS_MIGRATED_REVID=106379028
* Un-hardcode the names of some Python implicit attributes ↵Gravatar Carmi Grushko2015-10-27
| | | | | | | ($python_precompile, etc.) -- MOS_MIGRATED_REVID=106352835
* Refactor instrumentation in JavaCommon to remove Android specific content.Gravatar Andrew Pellegrini2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106333445
* Reduce memory churn while creating PathFragments.Gravatar Eric Fellheimer2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106329484
* Remove the TOOLS_REPOSITORY prefix for tools/objc:xctest_app.Gravatar Chris Parsons2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106327492
* Update android screen densities to include 420 dpi added for the Nexus 5X. ↵Gravatar Andrew Pellegrini2015-10-27
| | | | | | | | | Adds documentation about the associated manifest processing to add a compatible-screens section. RELNOTES: 420 dpi is now a valid density for andoid_binary.densities. -- MOS_MIGRATED_REVID=106324044
* Share SkyKey interning between evaluation and deserialization.Gravatar Eric Fellheimer2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106323413
* Make -DNS_BLOCK_ASSERTIONS=1 by default when c=opt on objc builds.Gravatar Googler2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106315882
* Removes gcc from the clang compiler names, because that doesn't really make ↵Gravatar Alex Humesky2015-10-27
| | | | | | | | | sense. RELNOTES: The names of the clang compilers in the Android NDK crosstool no longer reference gcc. -- MOS_MIGRATED_REVID=106305253
* Propagate Android aspect across runtime_deps.Gravatar Googler2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106302500
* Support proto_library in AndroidStudioInfoAspect.Gravatar Googler2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106300290
* Clarify documentation about 'native' module.Gravatar Laurent Le Brun2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106299058
* Allow C++ compile actions to run in a sandbox by replacing the ↵Gravatar Philipp Wollermann2015-10-27
| | | | | | | | | LocalGccStrategy / LocalLinkStrategy with SpawnGccStrategy / SpawnLinkStrategy. RELNOTES: C++ compile actions run in a sandbox now on systems that support sandboxed execution. -- MOS_MIGRATED_REVID=106299043
* Refactor include scanning / .d file parsing in the C++ rules so that ↵Gravatar Philipp Wollermann2015-10-27
| | | | | | | validating includes and updating action inputs is clearly separated and easier to understand now. -- MOS_MIGRATED_REVID=106298050
* Read the j2objc BUILD file from embedded tools instead of from the client.Gravatar Lukacs Berki2015-10-27
| | | | | | | Tested by running "bazel query @bazel-j2objc//...' in an empty workspace. -- MOS_MIGRATED_REVID=106292152
* Fix location for Break and Continue AST nodes.Gravatar Laurent Le Brun2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106291132
* Remove the unused launcher argument from JavaSemantics.getJvmFlags.Gravatar Ulf Adams2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106287576
* Memory optimizations for Skylark.Gravatar Miguel Alcon Pinto2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106182161
* Avoid unbounded growth in the GlobFunction cache. The cache is now given a ↵Gravatar Eric Fellheimer2015-10-27
| | | | | | | maximum size, based off a reasonably larged sized benchmark. -- MOS_MIGRATED_REVID=106180595
* Keep the bytes of the hashcode instead of the hashcode object.Gravatar Miguel Alcon Pinto2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106174495
* Inline TargetMarker in TransitiveTraversalFunctionGravatar Mark Schaller2015-10-23
| | | | | | | | | | Simplifies the runtime graph when TransitiveTraversalFunction is used. Also moves an error reporting method from the base function to the TransitiveTargetFunction, which is the only one that uses it. -- MOS_MIGRATED_REVID=106109745
* Add the include paths to the compiler_files attribute of the cc_toolchainsGravatar Alex Humesky2015-10-23
| | | | | | | for the generated Android NDK crosstool so that compilation works when sandboxed. -- MOS_MIGRATED_REVID=106092381
* Move the check whether a repository name contains a slash to ↵Gravatar Philipp Wollermann2015-10-23
| | | | | | | PackageIdentifier, where it actually belongs. -- MOS_MIGRATED_REVID=106086272
* Move the logic in ConfigurationFactory that orders a configuration'sGravatar Greg Estren2015-10-23
| | | | | | | | | | | | | | fragments map into the BuildConfiguration constructor. This guarantees that other access points into the constructor (e.g. BuildConfigurationFunction for dynamic configs) apply the same ordering. BuildConfiguration needs its fragments stored in a consistent order to, e.g., make sure buildMnemonic() produces consistent results. -- MOS_MIGRATED_REVID=106079920
* Remove ast from RuleGravatar Michajlo Matijkiw2015-10-22
| | | | | | | It's always null -- MOS_MIGRATED_REVID=106053287
* ArtifactFactory.findSourceRoot now handles the case where an execPath refers ↵Gravatar Philipp Wollermann2015-10-22
| | | | | | | to a remote repository. -- MOS_MIGRATED_REVID=106051348
* Assert the specific type of event, not just the existence of any event.Gravatar Ulf Adams2015-10-22
| | | | | | | | Also remove a bunch of custom uses of EventCollector, and use the (already existing) EventCollectionApparatus instead. -- MOS_MIGRATED_REVID=106047665
* Add missing dash for -finline-limit=300Gravatar Steven Dee2015-10-22
| | | | | | | -- Change-Id: Ic19a8292e1c57623085daa6ce3cbf280cdf7129e Reviewed-on: https://bazel-review.googlesource.com/2180 MOS_MIGRATED_REVID=106035838
* Have @SkylarkCallable methods accept Iterable instead of CollectionGravatar Francois-Rene Rideau2015-10-22
| | | | | | | This makes it possible to call these methods with lists from Skylark, which are internally Iterable<>'s but not Collection<>'s. -- MOS_MIGRATED_REVID=106003065
* Description redacted.Gravatar Alex Humesky2015-10-22
| | | | | -- MOS_MIGRATED_REVID=105999401
* Process tasks in the AbstractQueueVisitor in LIFO order as opposed to FIFO ↵Gravatar Janak Ramakrishnan2015-10-22
| | | | | | | | | order. In general, there's no advantage in Blaze to FIFO, and it means that we effectively do breadth-first graph traversal. When we must hold state for incomplete nodes (as we do with action execution, or more generally, as we do in Skyframe), this increases our memory footprint. LIFO is not exactly depth-first traversal, since we are multithreaded, but to a first approximation, it looks like a depth-first traversal with "width" the number of threads (at each level of the graph, #(threads) nodes are visited). -- MOS_MIGRATED_REVID=105995014
* Memoize TRANSITIVE_TRAVERSAL nodes to save memory.Gravatar Miguel Alcon Pinto2015-10-22
| | | | | -- MOS_MIGRATED_REVID=105994907
* Introduce an AspectClass: a representation of a class of aspects.Gravatar Dmitry Lomov2015-10-22
| | | | | | | For native aspects, AspectClass is a facade for Class<AspectFactory<...>>. -- MOS_MIGRATED_REVID=105986390
* In SkyQueryEnvironment, check TransitiveTraversalValues for errorsGravatar Mark Schaller2015-10-22
| | | | | | | | | | | | | | | In SkyQueryEnvironment, the buildTransitiveClosure method ignored the error messages in successfully evaluated TransitiveTraversalValues, under the belief that any such error messages are also obtainable by calling getMissingAndExceptions. This happens to be true right now, but may not be true in the future. If, in particular, the TransitiveTraversal skyfunction inlines its call to the TargetMarker skyfunction, those error messages won't be available through getMissingAndExceptions. -- MOS_MIGRATED_REVID=105980430
* Retain first error message during transitive traversalGravatar Mark Schaller2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, a TransitiveTraversalFunction computed a value that contained an exception only if the exception resulted from a failure to load the function's immediate target. If the target had transitive dependencies on other targets, those other targets would be loaded, but any errors resulting from loading those targets would not be retained. SkyQueryEnvironment impromperly used a SkyFrame mechanism (which was solely intended to ensure equivalent semantics between keep-going and no-keep-going evaluations) to discover errors in the set of transitive children of TransitiveTraversal nodes. In order to transition SkyQueryEnvironment away from that mechanism, this CL changes TransitiveTraversalFunction to remember the first error message encountered while loading its target and its transitive dependencies. By remembering just the error message as a string, and not the full exception object, this also helps TransitiveTraversalValue have more consistent equality semantics for change-pruning. -- MOS_MIGRATED_REVID=105977182
* Description redacted.Gravatar Googler2015-10-22
| | | | | -- MOS_MIGRATED_REVID=105975871
* Remove transitive data from Android Studio aspect.Gravatar Googler2015-10-22
| | | | | | | | The cost-benefit isn't there to pay a square cost to roll these up on the blaze side. Android Studio has to do it on its end instead. -- MOS_MIGRATED_REVID=105971068
* Narrow return type of ContainingPackageLookupValue.withContainingPackageGravatar Michajlo Matijkiw2015-10-22
| | | | | -- MOS_MIGRATED_REVID=105969015