aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Rolling forward Java coverage.Gravatar elenairina2017-09-01
| | | | | | | Instead of passing all the runtime jars in the environment variable, we now write them all to a file and store the file path in the env variable, jacoco runner reading the jars from there. Changes on Jacoco runner side are here: https://github.com/bazelbuild/bazel/commit/05418b33dd87d63e2653e594d462b2aedb0e22e5 RELNOTES: A new Java coverage implementation is available. Makes possible coverage for Skylark JVM rules. PiperOrigin-RevId: 167248966
* BEP: Add TargetConfigured events also for aspectsGravatar Klaus Aehlig2017-09-01
| | | | | | | | | Adding an event about which completed aspects to expect allows for earlier feedback of what the aspect is doing. It also allows consumers of the build event stream to prepare for the TargetCompleted events of the aspect. Change-Id: I29ef15472867a7169222e0394c7fe061fd1d2994 PiperOrigin-RevId: 167248206
* Automated rollback of commit 36178dddc45ee39e302516232c83b0fbc4c5dc37.Gravatar Googler2017-09-01
| | | | | | | | | *** Reason for rollback *** fix the downstream breaks that led to the initial rollback Change-Id: Ib90ce99cc2e229bbe749130dbde517a075d6e333 PiperOrigin-RevId: 167247311
* BEP: Rename enum entryGravatar aehlig2017-09-01
| | | | | | ...to not mention a wrong product name. PiperOrigin-RevId: 167242739
* Expose ConfigFeatureFlagProvider to skylarkGravatar cparsons2017-09-01
| | | | | | | | This will be used to create thin skylark rules to allow for select() on provider values, with xcode_config_alias's XcodeProperties to be the first. This is demonstrated in XcodeConfigTest. RELNOTES: None. PiperOrigin-RevId: 167204266
* Remove stray comment reference to "no_" prefix for boolean flags which was ↵Gravatar dannark2017-09-01
| | | | | | | removed in https://github.com/bazelbuild/bazel/commit/ca600bf2d014650b1f1ecb5214878b09a0838086. RELNOTES: None PiperOrigin-RevId: 167202392
* Automated rollback of commit 2b983bdf508e010a3d4ee9dbaf446b7666749799.Gravatar cpeyser2017-09-01
| | | | | | | | | | | | *** Reason for rollback *** Breaks rules_go CI *** Original change description *** Rollforward of c++ toolchain-relevant BUILD file and Bazel mocking changes. That is, a c++ toolchain is added, but a Bazel dependency on that toolchain is not. PiperOrigin-RevId: 167198874
* Release config_setting.flag_values from the whitelist.Gravatar mstaib2017-09-01
| | | | | | | | This feature is opening up beyond just ConfigFeatureFlags, and so should not be restricted. RELNOTES: None. PiperOrigin-RevId: 167195959
* Automated rollback of commit 964f0a5d83fe7958236c9eb0be619f553d488748.Gravatar cpeyser2017-09-01
| | | | | | | | | | | | *** Reason for rollback *** Breaks rules_go CI *** Original change description *** Bazel c++ rules depend on a c++ toolchain. PiperOrigin-RevId: 167191667
* Publish TARGET_SKIPPED status to Goops and Master Log for targets with ↵Gravatar Googler2017-09-01
| | | | | | incompatible CPU constraints. PiperOrigin-RevId: 167189106
* Move final static option checks to compile time.Gravatar ccalvarin2017-09-01
| | | | | | Check that the option has a non-empty name and that it does not use deprecated categories. While we're at it, check that the names for options that are flags (all but INTERNAL flags, which are not meant to be used on the command line) are sensible. PiperOrigin-RevId: 167182172
* PiperOrigin-RevId: 167167400Gravatar kmb2017-09-01
|
* Remove resource_extractor attribute from the android_sdk rule.Gravatar jingwen2017-09-01
| | | | | RELNOTES: None. PiperOrigin-RevId: 167164919
* Move caching of OptionDefinitions to be static, and remove uncached ↵Gravatar ccalvarin2017-09-01
| | | | | | | | | | extractions of OptionDefinitions. We already had caching of OptionsData objects, for a list of OptionsBases, but repeated the reflective work for the same OptionsBase if it appeared in different lists. Now that the @Option-annotation specific state is isolated to the OptionDefinition object, this can be trivially cached by OptionsBase. There are a few additional convenient side effects to this change. This should slightly decrease the memory use of the OptionsParser, since it already cached this map per options-base, and now only requires a single copy. It also means that parts of the code base that needed details of an option's definition no longer need to either obtain an option definition themselves or need access to an OptionsData object, which should be private to the OptionsParser anyway. PiperOrigin-RevId: 167158902
* Automated rollback of commit fc41c430e4de4594a1d699f573d191cbad52a2fb.Gravatar plf2017-09-01
| | | | PiperOrigin-RevId: 167154793
* Fix BazelPackageLoader to handle local repositories, and clean up API byGravatar jcater2017-09-01
| | | | | | removing unused methods and making the Builder more general. PiperOrigin-RevId: 167150478
* Fix aspects documentationGravatar dslomov2017-09-01
| | | | | RELNOTES: None PiperOrigin-RevId: 167149910
* Stop testing for mips android ndk support.Gravatar ajmichael2017-09-01
| | | | | | | It is broken for NDK13+, and we have not heard any complaints. RELNOTES: None PiperOrigin-RevId: 167148972
* Changed Android manifest merger build action to also resolve relative class ↵Gravatar Googler2017-09-01
| | | | | | | names in manifest files for Android libraries. RELNOTES: none PiperOrigin-RevId: 167147373
* Fix --nobuild_runfile_manifests to keep transitive dependencies of the runfilesGravatar Googler2017-09-01
| | | | | | | manifest on "pruning manifests". We may need these at test execution time. RELNOTES: None. PiperOrigin-RevId: 167147362
* Bazel c++ rules depend on a c++ toolchain.Gravatar cpeyser2017-09-01
| | | | PiperOrigin-RevId: 167147239
* Update Error Prone versionGravatar Liam Miller-Cushon2017-09-01
| | | | Change-Id: I37ba8d3ade14dc6ab45bca1976776b9cffc98fdc
* Update turbine versionGravatar Liam Miller-Cushon2017-09-01
| | | | Change-Id: I4facde383f170f12870d22cd3f585b26f77fadb6
* Allow non-dottedversion aliases for --xcode_versionGravatar cparsons2017-08-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 167143657
* Remove unused android_library.resource_extractor attributes in the depot.Gravatar jingwen2017-08-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 167142666
* Fixes typo in proto_library docsGravatar Googler2017-08-31
| | | | | | | Add _'s in proto.transitivedescriptorsets RELNOTES: none PiperOrigin-RevId: 167139522
* Moves the bazel_j2objc repository definition from j2objc.WORKSPACE to the mainGravatar Googler2017-08-31
| | | | | | | | WORKSPACE file, removing j2objc.WORKSPACE. Updates J2ObjC version to 2.0.3, which has its own BUILD file. RELNOTES: J2ObjC version updated to 2.0.3. PiperOrigin-RevId: 167135399
* Skylint: add a lint that reports unused identifiersGravatar fzaiser2017-08-31
| | | | | RELNOTES: None PiperOrigin-RevId: 167134267
* CI: Add def parser test into Windows testsGravatar pcloudy2017-08-31
| | | | | RELNOTES: None PiperOrigin-RevId: 167132537
* Skylark: ctx.actions.run_shell uses helper scriptGravatar László Csomor2017-08-31
| | | | | | | | | | | | | | | | | If the shell command in ctx.actions.run_shell.command is longer than the platform's shell's limit, Bazel will dump the command to a helper shell script and execute that script in the run_shell action. Genrules also write a helper script when genrule.cmd is longer than the shell's limit, and ctx.actions.run_shell now uses the same machinery. Fixes https://github.com/bazelbuild/bazel/issues/3589 Change-Id: Ib24dce90182ef69552deb2d400e00ae061537309 PiperOrigin-RevId: 167126560
* Note the existence of a `execroot/` directoryGravatar Alex Vandiver2017-08-31
| | | | | | | | | | To be true to the layout on disk, one should note the literal directory named `execroot` under the outputBase. Also fix the indentation on `<workspace-name>/` due to the HTML escapes. Closes #3520. PiperOrigin-RevId: 167123497
* Split the cycle between vfs and profiler.Gravatar philwo2017-08-31
| | | | | | | | | | - Move ProfilerInfo into a subpackage (it's not necessary for profiling, just for analyzing a profile). - Make some fields in Profiler public for ProfileInfo. - Mark Profiler as ThreadSafe; there's no cyclic dependency here. This is based on ulfjack's microbazel patch series: https://github.com/ulfjack/bazel/commit/44553fcac0fc876784d8f48c2e577d8c999712de PiperOrigin-RevId: 167121952
* Remove Dagger from third_party, as it is unused.Gravatar Philipp Wollermann2017-08-31
| | | | | Change-Id: I41d836bf6ae409f00626a2512d731a6a1adc29c1 RELNOTES: None.
* Remove reference to 'blaze'Gravatar hlopko2017-08-31
| | | | | | | Fixes #3525 RELNOTES: None. PiperOrigin-RevId: 167117507
* Add JavaInfo as a (preferred) alias to java_common.provider.Gravatar dslomov2017-08-31
| | | | | RELNOTES: `JavaInfo` is a preferred alias to `java_common.provider`. PiperOrigin-RevId: 167116971
* Update 'copts' documentationGravatar hlopko2017-08-31
| | | | | | | Fixed #556 RELNOTES: None. PiperOrigin-RevId: 167115644
* Skylint: handle for-loops in control flow lint correctlyGravatar fzaiser2017-08-31
| | | | | RELNOTES: none PiperOrigin-RevId: 167113866
* docs,Skylark: explain actions.run_shell.commandGravatar laszlocsomor2017-08-31
| | | | PiperOrigin-RevId: 167100515
* Move static converter legality checks to compile time.Gravatar ccalvarin2017-08-31
| | | | | | | | | | | The information about whether a converter correctly matches the type of option it is meant to convert strings to is available at compile time. There is no reason to do this check at runtime. Now, for an option to compile, it will need to have a converter that matches the option's type, taking into account whether the option is expected to accumulate multiple values. If it does not specify its own converter, a matching converter in the Converters.DEFAULT_CONVERTER list must be found, and the default value provided must be parseable by the matching default converter. Remove tests that were testing failure modes which no longer compile. RELNOTES: None. PiperOrigin-RevId: 167092773
* Rollforward #2 of "AppleBinary and AppleStaticLibrary no longer propagate ↵Gravatar cparsons2017-08-31
| | | | | | | unwrapped ObjcProvider", after changes made to apple bazel rules to be compatible. RELNOTES: None. PiperOrigin-RevId: 167061765
* Remind user of the --experimental_allow_project_files flag when they try ↵Gravatar Googler2017-08-31
| | | | | | using project support PiperOrigin-RevId: 167060880
* Fix typo on PackageIdentifier documentation.Gravatar jcater2017-08-31
| | | | PiperOrigin-RevId: 167047092
* Turn ActionCacheStatistics into a proto.Gravatar jmmv2017-08-31
| | | | | | | | This is to avoid having to maintain an almost-equal Java data type once we start externalizing statistics. RELNOTES: None. PiperOrigin-RevId: 167037360
* android_test binary_under_test/deps must have the same flags if any are set.Gravatar mstaib2017-08-31
| | | | | | | | | | | | | | | | | | | | | | After this CL, if the feature_flags attribute of android_test or android_binary is not set, no transition takes place when entering that rule. This means that if it is depended upon by another test or binary, it will use the enclosing test or binary's flags. This permits users of feature flags to depend on non-users of feature flags. The opposite is still not permitted. If a dep sets feature flags, then the target depending on it must have the exact same feature flags set. This way, all targets used in an android_test are built the same way, but it's possible to interoperate with targets which are agnostic to feature flags. Note that "not set" is different from "set to the empty dictionary"; the former reuses the definitions set higher up in the build graph, while the latter clears all feature flag values and resets them to their defaults. RELNOTES: None. PiperOrigin-RevId: 167035122
* Fixed typo errors in doc: s/of/off, s/tarets/targetsGravatar jingwen2017-08-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 167031992
* Stop printing out Exception class names to the user while usingGravatar kush2017-08-31
| | | | | | | SkyframeAwareAction.ExceptionBase. RELNOTES: None PiperOrigin-RevId: 167030688
* Fix typo in idl generation mnemonic.Gravatar ajmichael2017-08-31
| | | | | RELNOTES: None PiperOrigin-RevId: 167028314
* Remove resource_extractor from Bazel's android_sdk rules.Gravatar ajmichael2017-08-31
| | | | | RELNOTES: None PiperOrigin-RevId: 167027537
* Remove unused android_sdk.resource_extractor attribute from all BUILD files inGravatar jingwen2017-08-31
| | | | | | | the depot. RELNOTES: None PiperOrigin-RevId: 167027301
* Add a closeResource(Throwable throwable, Object resource) in the runtimeGravatar cnsun2017-08-31
| | | | | | | | | library. Javac9 generates a helper method $closeResource(Throwable, AutoCloseable) sometimes for try-with-resources. Now we rewrite the call to call our version to avoid the dependency on AutoCloseable. RELNOTES: None PiperOrigin-RevId: 167025276