aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
Commit message (Collapse)AuthorAge
...
* Only strip launcher for fissionized opt builds.Gravatar Googler2015-10-29
| | | | | -- MOS_MIGRATED_REVID=106515187
* Adds include paths through -isystem to get Android native compiling working ↵Gravatar Alex Humesky2015-10-28
| | | | | | | again on OS X. -- MOS_MIGRATED_REVID=106498988
* Split off more BUILD files.Gravatar Han-Wen Nienhuys2015-10-28
| | | | | -- MOS_MIGRATED_REVID=106493557
* Skylark interpreter optimizationGravatar Laurent Le Brun2015-10-28
| | | | | | | Special-case the return statement to avoid throwing an exception. -- MOS_MIGRATED_REVID=106488391
* Build indexer: Handle for loopsGravatar Laurent Le Brun2015-10-28
| | | | | | | e.g. for i in list: pass -- MOS_MIGRATED_REVID=106488146
* Disable --watchfs on OSX in preparation for enabling it by default.Gravatar Ulf Adams2015-10-28
| | | | | | | | There's no timeline right now, but it's unusable on OSX and Oracle has no plans of fixing it. -- MOS_MIGRATED_REVID=106486015
* Update the documentation for Constants.java.Gravatar Ulf Adams2015-10-28
| | | | | | | -- Change-Id: Ic5b08394e042fee48bf079620ecb18426455d838 Reviewed-on: https://bazel-review.googlesource.com/2230 MOS_MIGRATED_REVID=106480667
* Bugfix: Host fragments could not be accessed properly through Skylark.Gravatar Florian Weikert2015-10-28
| | | | | | | | | | | | | | | | | | RuleContext returned fragments for the target configuration, even when Skylark requested fragments for the host configuration. This Cl solves this bug. Since injecting a custom BuildConfiguration into out tests is surprisingly difficult, I tested this fix manually: I wrote a custom bzl file with def custom_rule_impl(ctx): print("target = {}, host = {}".format(ctx.fragments.cpp.cpu, ctx.host_fragments.cpp.cpu)) and built the rule with --cpu ppc. Output before the fix: target = ppc, host = ppc. Output after the fix: target = ppc, host = k8. -- MOS_MIGRATED_REVID=106479714
* Visibility adjustmentsGravatar Michajlo Matijkiw2015-10-28
| | | | | -- MOS_MIGRATED_REVID=106444993
* Rollback of commit c1e4243dbefc57909feff4ebb19975f151fa6391.Gravatar Greg Estren2015-10-28
| | | | | | | | | | | | | *** Reason for rollback *** Breaking O(150) tests on the blaze-2015.10.27-1 nightly TGP [] *** Original change description *** Make -DNS_BLOCK_ASSERTIONS=1 by default when c=opt on objc builds. -- MOS_MIGRATED_REVID=106435189
* 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
* Remove trailing whitespace in generated Skylark Library and BE files.Gravatar David Chen2015-10-23
| | | | | -- MOS_MIGRATED_REVID=106133409
* 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
* Avoid the usage of Maps.transformValues since it is lazy and keeps a ↵Gravatar Miguel Alcon Pinto2015-10-23
| | | | | | | reference to the original map. This made us to keep a reference to the whole node but we are only interested on the rdeps. -- MOS_MIGRATED_REVID=106098938
* Split Build Encyclopedia into multiple pages.Gravatar David Chen2015-10-23
| | | | | -- MOS_MIGRATED_REVID=106092764
* 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