aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
Commit message (Collapse)AuthorAge
* Implement propagation along dependencies for Skylark aspects.Gravatar Dmitry Lomov2015-11-02
| | | | | -- MOS_MIGRATED_REVID=106694515
* xcrun was adding a newline on the output that was being set in the SDKROOT ↵Gravatar Dave MacLachlan2015-11-02
| | | | | | | | | environment variable. RELNOTES:none -- MOS_MIGRATED_REVID=106694003
* Deflake --runs_per_test_detects_flakes.Gravatar Brian Silverman2015-11-02
| | | | | | | | | | | Previously, if the first run failed (in iteration order, which I don't think is necessarily execution order) then --runs_per_test_detects_flakes would report FAILED instead of FLAKY. -- Change-Id: Ice7889d46203e1598d94a4e3c0bcbe13a45b0fe1 Reviewed-on: https://bazel-review.googlesource.com/#/c/2210/ MOS_MIGRATED_REVID=106693725
* Move local_repository and new_local_repository from build.lib.bazel to ↵Gravatar Lukacs Berki2015-10-30
| | | | | | | build.lib. -- MOS_MIGRATED_REVID=106689603
* Fix indentation.Gravatar Ulf Adams2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106683157
* Make C++ builds work on OS X.Gravatar Lukacs Berki2015-10-30
| | | | | | | Fixes #538. -- MOS_MIGRATED_REVID=106674650
* Augment JNI utime() method.Gravatar Eric Fellheimer2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106634616
* Use plutil instead of plmerge for converting strings files from text to binary.Gravatar Dave MacLachlan2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106613927
* Cleanup, TODO removalGravatar Laurent Le Brun2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106605940
* Moves -printmapping to the end of the Proguard arguments list.Gravatar Michael Staib2015-10-30
| | | | | | | | | | | If the proguard configuration itself contains -printmapping, this will override the -printmapping specified on the command line (by virtue of coming later). Putting it last means that this -printmapping will take precedence over any others, meaning that Proguard will always generate the correct mapping, preventing an action failure from not producing the correct output files. -- MOS_MIGRATED_REVID=106601595
* Add Skylark support for string_list_dictGravatar Francois-Rene Rideau2015-10-30
| | | | | | | Convert to Skylark values when destructuring a sequence or map. -- MOS_MIGRATED_REVID=106591523
* Add isSkylark to RuleClassGravatar Michajlo Matijkiw2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106588003
* Add a getPathFragment method to RepositoryName; use it in PackageIdentifier.Gravatar Ulf Adams2015-10-30
| | | | | | | Progress towards #445. -- MOS_MIGRATED_REVID=106585570
* Provide a way to explicitly constraint-enforceGravatar Greg Estren2015-10-29
| | | | | | | | | | | attributes that would otherwise be skipped by default policy. This is the simplistic start to a user-controllable enforcement policy API. -- MOS_MIGRATED_REVID=106530210
* Add preconditions check for attr existence in RuleClass#getAttributeByNameGravatar Michajlo Matijkiw2015-10-29
| | | | | | | Makes the the inevitable null pointer from unboxing null easier to diagnose. -- MOS_MIGRATED_REVID=106525458
* Clarify the default value for 'visibility' inGravatar Greg Estren2015-10-29
| | | | | | | the BUILD documentation. -- MOS_MIGRATED_REVID=106515647
* 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