aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Move BinTools to lib.execGravatar ulfjack2018-02-15
| | | | | | | It's never used during analysis, it shouldn't be used during analysis, so let's not make it available during analysis. PiperOrigin-RevId: 185808384
* Make test_rules.bzl --all_incompatible_changes compliant.Gravatar Mathieu Boespflug2018-02-15
| | | | | | | | Fixes #4354. Closes #4355. PiperOrigin-RevId: 185808171
* Change extension -> evaluation in docsGravatar Trevor Summers Smith2018-02-15
| | | | | | | | Extension seems to be incorrect as this is referring to the valuation model Closes #4521. PiperOrigin-RevId: 185808054
* docs : add `touch WORKSPACE`Gravatar Passw2018-02-15
| | | | | | | | | | | It seems that we still need to touch a file named `WORKSPACE` ``` ERROR: The 'build' command is only supported from within a workspace. ``` Closes #4539. PiperOrigin-RevId: 185807230
* Remove code that allows RunfilesSupport.owningExecutable to be null.Gravatar Benjamin Peterson2018-02-15
| | | | | | | RunfilesSupport.owningExecutable can clearly never be null because the first thing the constructor does is reject it if it's null. Change-Id: Ie861d96a2a2ab6937f1e27a6745cf1cb2f50e0fb PiperOrigin-RevId: 185806352
* Automated rollback of commit fa0fac2a4e8a2e5c01b8390878289d00dcc17dba.Gravatar lberki2018-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Remove example changes; those need to build with the last Bazel release. *** Original change description *** Automated rollback of commit 0f9c6ea574918dda094cf5423fa3822112846c30. *** Reason for rollback *** Breaks Kokoro and I accidentally submitted the change without presubmit checks. *** Original change description *** Make __init__.py files creation optional Introduce a new attribute to py_binary and py_test to control whether to create `__init__.py` or not. Fixes https://github.com/bazelbuild/rules_python/issues/55 Closes #4470. PiperOrigin-RevId: 185806241
* simplifies instructions for xcode EULA acceptance on macOSGravatar Josh Enders2018-02-15
| | | | | | Closes #4604. PiperOrigin-RevId: 185805357
* Provide a bit more information on the expected location of bazelrc files.Gravatar Sergio Campama2018-02-15
| | | | | | | | The docs failed to mention the expected name of the file next to the binary. Also missing was the information that these files do not override each other; they are always loaded if present. Closes #4451. PiperOrigin-RevId: 185805289
* Release 0.10.1 (2018-02-15)Gravatar Bazel Release System2018-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993 Cherry picks: + f6ca78808722c8c119affdb33400838ee92d44b6: isable_presubmit + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52: Fix StreamResourceLeak error + e5436745e1732f5e43fc55f0deb5b19e23ce8524: windows: fix --symlink_prefix=/ throwing exception + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3: Fix turbine command lines with empty javacopts + 96c654d43eb2906177325cbc2fc2b1e90dbcc792: Remove EOL'd Linux flavours, bump CentOS to 6.9. + f0bec36864f10370cbbda4caa8beac2e0c5ee45b: Automated rollback of commit 2aeaeba66857c561dd6d63c79a213f1cabc3650d. + 860af5be10b6bad68144d9d2d34173e86b40268c: Consolidate Error Prone resource handling + 2e631c99495f75270d2639542cefb531ec262d67: sandbox: properly add `tmpDir` to `writablePaths` + 5bfa5844d0d16d71e88002956e88402bfec88ef7: actions,temp: respect TMPDIR envvar + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165: sandbox: add env[TMPDIR] instead of `tmpDir` + 40c757f4ab90214f95935672532a495c4551490a: Change git clone to pull all history, so all needed commits can be accessed. + 56aeb04a064218b845ecc193d530c341c6ec854d: Fixing #4585: broken re-execution of orphaned actions. Important changes: - Resolved an issue where a failure in the remote cache would not trigger local re-execution of an action.
* Fix incorrect warning on negative test lang filter flags.Gravatar janakr2018-02-14
| | | | PiperOrigin-RevId: 185770217
* Get PlatformInfo out of ToolchainResolutionKey, replace with the ↵Gravatar janakr2018-02-14
| | | | | | ConfiguredTargetKeys that own the PlatformInfo. PiperOrigin-RevId: 185770105
* Pass --target_label, --injecting_rule_kind to all java compile actions.Gravatar tomlu2018-02-14
| | | | | | | | JavaBuilder and friends will write this into the manifest of the produced jars to assist with add_dep commands, when strict_deps is violated. This will obviate the need for blaze to pass jar owners on the command line. PiperOrigin-RevId: 185763422
* Pull out useful parts of discoverInputs into findAdditionalInputs so that it ↵Gravatar Googler2018-02-14
| | | | | | | can also be called by getInputFilesForExtraAction rather than duplicating the logic. RELNOTES: None PiperOrigin-RevId: 185757663
* Adds Class-keyed lookup to ObjectCodecRegistry and populates it using ↵Gravatar shahan2018-02-14
| | | | | | | | | CodecScanner. Introduces a class, CodecRegisterer, to allow customization of the scan-based registration process. PiperOrigin-RevId: 185749655
* Use a diagnostic listener, and match diagnostic codes for the reduced ↵Gravatar cushon2018-02-14
| | | | | | classpath heuristic PiperOrigin-RevId: 185746460
* Start slimming down ToolchainResolutionKey: get rid of BuildConfiguration. ↵Gravatar janakr2018-02-14
| | | | | | The real blocker is PlatformInfo, which is coming. PiperOrigin-RevId: 185742130
* Get Target out of SupportedEnvironmentsProvider. Only a Label and Location ↵Gravatar janakr2018-02-14
| | | | | | are needed, so just use that. PiperOrigin-RevId: 185738140
* Remove Target from ConfiguredTarget.Gravatar mjhalupka2018-02-14
| | | | PiperOrigin-RevId: 185735582
* Add a CODEC for CppCompileAction.Gravatar cpeyser2018-02-14
| | | | PiperOrigin-RevId: 185733313
* Use AutoCodec to generate CODECs for several provider types that are exportedGravatar cpeyser2018-02-14
| | | | | | by cc_library. PiperOrigin-RevId: 185729248
* @AutoCodec for CcLinkParamsInfo.Gravatar cpeyser2018-02-14
| | | | PiperOrigin-RevId: 185728950
* @AutoCodec for LicenseProvider.Gravatar cpeyser2018-02-14
| | | | PiperOrigin-RevId: 185728682
* Remove deprecated rule_kind argument from Turbine and JavaBuilder.Gravatar cushon2018-02-14
| | | | | | Roll forward of unknown commit PiperOrigin-RevId: 185727344
* Delete unused variable in ToolchainResolutionFunction.Gravatar Benjamin Peterson2018-02-14
| | | | | Change-Id: I636d98fdee72c1cae7547f1dc26f78fe4b3e0bb3 PiperOrigin-RevId: 185723619
* Get rid of unnecessary target retrieval in ToolchainUtil: the label will do ↵Gravatar janakr2018-02-14
| | | | | | just as well as the target. PiperOrigin-RevId: 185721605
* Specialize CCToolchainFeatures flags for single-variable flags.Gravatar tomlu2018-02-14
| | | | | | | This avoids iterator, string builder, and string garbage. RELNOTES: None PiperOrigin-RevId: 185703066
* Be more generous with expected bounds for user and sys time in execution ↵Gravatar ruperts2018-02-14
| | | | | | | statistics tests. RELNOTES: None. PiperOrigin-RevId: 185700811
* Make ActionLookupData a SkyKey. Should save some memory.Gravatar janakr2018-02-14
| | | | PiperOrigin-RevId: 185694489
* Fix //tools/jdk:gen_platformclasspath target on MacOSXGravatar Raphael Badin2018-02-14
| | | | | | | | MacOSX's `mktemp` command requires the template parameter. Closes #4576. PiperOrigin-RevId: 185686952
* Automated rollback of commit 0f9c6ea574918dda094cf5423fa3822112846c30.Gravatar lberki2018-02-14
| | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Kokoro and I accidentally submitted the change without presubmit checks. *** Original change description *** Make __init__.py files creation optional Introduce a new attribute to py_binary and py_test to control whether to create `__init__.py` or not. Fixes https://github.com/bazelbuild/rules_python/issues/55 Closes #4470. PiperOrigin-RevId: 185676592
* Make __init__.py files creation optionalGravatar Mouad Benchchaoui2018-02-14
| | | | | | | | | | | Introduce a new attribute to py_binary and py_test to control whether to create `__init__.py` or not. Fixes https://github.com/bazelbuild/rules_python/issues/55 Closes #4470. PiperOrigin-RevId: 185672243
* windows,launcher: now picks up RUNFILES_* envvarsGravatar Laszlo Csomor2018-02-14
| | | | | | | | | | | | | | The Windows native {java,py,sh}_binary launcher now picks up the RUNFILES_MANIFEST_FILE and RUNFILES_DIR envvars from the environment. This enables running such binaries even when they are data-dependencies of other binaries and thus have no runfiles (manifest or directory) of their own. See https://github.com/bazelbuild/bazel/issues/4460 Change-Id: I1bc8e30f81b9932ea7c96ded2717ac9d0600403d PiperOrigin-RevId: 185656004
* windows,singlejar: compile "token_stream"Gravatar Laszlo Csomor2018-02-14
| | | | | | | | | | We can now compile //src/tools/singlejar:token_stream on Windows. See https://github.com/bazelbuild/bazel/issues/2241 Change-Id: I98f86e608e5ebaf685e4de26b2dabe75fcca78d2 PiperOrigin-RevId: 185655986
* [MSVC] Detect 64-bit with _WIN64Gravatar Loo Rong Jie2018-02-14
| | | | | | | Fixes MSVC C4311 pointer truncation warning. Change-Id: Ic64168d620db010717189200c37c419cccac0653 PiperOrigin-RevId: 185653953
* [Windows] Use %ls to print wstringGravatar Loo Rong Jie2018-02-13
| | | | | Change-Id: Icbc478f87d622665b16c13c76518087ac089899e PiperOrigin-RevId: 185645880
* [Windows] Don't use -lm on WindowsGravatar Loo Rong Jie2018-02-13
| | | | | Change-Id: Ib0c957de68a8a8035f2e13d7c9fe8d1549a3744d PiperOrigin-RevId: 185645675
* Automatic code cleanup.Gravatar cpovirk2018-02-13
| | | | PiperOrigin-RevId: 185624059
* Thread {Des,S}erializationContext through Package serialization interfaceGravatar michajlo2018-02-13
| | | | PiperOrigin-RevId: 185609826
* Add Codec for NativeAspectClass. As a result, remove @AutoCodec from ↵Gravatar janakr2018-02-13
| | | | | | | | concrete subclasses. Improve debugging message on serialization failures. Lot of test-side changes to make sure aspects are properly registered with the RuleClassProvider. PiperOrigin-RevId: 185607202
* Drop unused SerializerAdapterGravatar michajlo2018-02-13
| | | | | | | Cleaning up references to {Des,S}erializationContext.UNTHREADED_PLEASE_REMOVE, deleting the code is easier than deciding how to adapt context. PiperOrigin-RevId: 185602054
* Set extra action tool path to the value that crosstool will actually use ↵Gravatar Googler2018-02-13
| | | | | | based on feature configuration PiperOrigin-RevId: 185600940
* @AutoCodec AspectValue$AspectKey.Gravatar janakr2018-02-13
| | | | | | Also make AspectKey#toString a little more informative. PiperOrigin-RevId: 185600069
* Improve efficiency warnings in AggregatingAttributeMapper javadoc.Gravatar gregce2018-02-13
| | | | PiperOrigin-RevId: 185595397
* Add Bazel documentation for android_local_test.Gravatar dannark2018-02-13
| | | | | RELNOTES:None PiperOrigin-RevId: 185590627
* Increase timeout on incompatible_changes_conflict_test.Gravatar ruperts2018-02-13
| | | | | RELNOTES: None. PiperOrigin-RevId: 185580415
* Get rid of the last reference to getAttributeMapper by keeping packages whichGravatar mjhalupka2018-02-13
| | | | | | are referenced by TopLevelTargets when we discard the analysis cache. PiperOrigin-RevId: 185574670
* Add ability to use getter in AutoCodecProcessor when field for instantiator ↵Gravatar janakr2018-02-13
| | | | | | | | parameter isn't present. Allows us to handle cases where the class type encodes the parameter value. This also gives a compile-time check that field is present before blindly using it in codec. Lets us get rid of a non-AutoCodec class. PiperOrigin-RevId: 185573686
* Implement the config(expr, word) cquery function.Gravatar juliexxia2018-02-13
| | | | | | | expr - the expression to be evaluated word - the configuration (represented by the strings 'host', 'target', or 'null') to try to find the result(s) of 'expr' in. If some but not all results of expr can be found in the specified config, then the subset that can be is returned. If no results of expr can be found in the specified config, then an error is thrown. PiperOrigin-RevId: 185572590
* Environment guarantees determinism when retrieving its bindingsGravatar brandjon2018-02-13
| | | | | | | Added a little javadoc and tests. RELNOTES: None PiperOrigin-RevId: 185569985
* Follow on to Cl/185417760 unifying error messages for glob linter.Gravatar Googler2018-02-13
| | | | | | | | | | | | I neglected to unify the message text before submit. This uses the Go version for both go and Java. R=laurentlb,mkanat CC=blaze-firehose+cl RELNOTES: unifly lint glob(["**/*.java"]) message PiperOrigin-RevId: 185569422