aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Simplify RuleClassProviders by making most RuleSets have their own class.Gravatar lpino2018-02-05
| | | | PiperOrigin-RevId: 184540561
* Fix AndroidDevice to never put the unified launcher's runfiles middleman in ↵Gravatar Benjamin Peterson2018-02-05
| | | | | | | | | | | the runfiles tree. As I understand it, this is only a theoretical issue today because $unified_launcher is generally a flat file. (Flat files never have runfiles middlemen.) However, it's good to be future proof. Change-Id: If77edfa9dd7475ab93b19c62b08f8d86a77acbe6 PiperOrigin-RevId: 184540188
* Add type assertion that TreeFileArtifact's parentTreeArtifact member is aGravatar cpeyser2018-02-05
| | | | | | SpecialArtifact. PiperOrigin-RevId: 184539696
* Fix manifest_merger documentation link.Gravatar ajmichael2018-02-05
| | | | | RELNOTES: None PiperOrigin-RevId: 184538771
* Pass ctime to the TimestampGranularityMonitorGravatar ulfjack2018-02-05
| | | | | | | | We're now using ctime to detect file changes, so the timestamp granularity monitor should as well. Unfortunately, we currently get nanosecond ctime from Linux, but then only return millis from FileStatus, so this doesn't change the accuracy of the monitor at all. PiperOrigin-RevId: 184536539
* Update DarwinSandboxedSpawnRunner to correctly set the sandbox configuration ↵Gravatar ruperts2018-02-05
| | | | | | | rule for the execution statistics path. RELNOTES: None. PiperOrigin-RevId: 184534589
* Optimize GetRandomStrGravatar Loo Rong Jie2018-02-05
| | | | | | Closes #4489. PiperOrigin-RevId: 184532916
* Support legacy multidex.Gravatar ajmichael2018-02-05
| | | | | | | Fix the create_main_dex_list stub script to find the dx jar binary correctly. RELNOTES: None PiperOrigin-RevId: 184532530
* Add a "direct" mode to "blaze run" that makes the process being run a directGravatar lberki2018-02-05
| | | | | | | | | | | | | | child of the process where the Blaze client itself was run. Limitations: - Untested on Windows; it should work because ExecuteProgram() is implemented there, too, but since Windows doesn't support exec(), there is at least one process in between Progress towards #2815. RELNOTES[NEW]: The new "--direct_run" flag on "blaze run" lets one run interactive binaries. PiperOrigin-RevId: 184528845
* Automated rollback of commit 17830c25a816d67ba79e783acaa6a085b516bd43.Gravatar jmmv2018-02-05
| | | | | | | | | | | | | | | *** Reason for rollback *** Causes Blaze to crash when building Exoblaze as shown in b/72936965. Confirmed as root cause by rolling back this CL, building a Blaze from HEAD, and successfully using it to build Exoblaze. *** Original change description *** C++: Remove last instatiation of CppModel outside CcLibraryHelper. RELNOTES:none PiperOrigin-RevId: 184528551
* remote: correct link to remote caching documentation.Gravatar buchgr2018-02-05
| | | | | RELNOTES: None PiperOrigin-RevId: 184518931
* sha256 python tool: stream instead of reading whole file beforehandGravatar Hadrien Chauvin2018-02-05
| | | | | | | | This is a rather small change to a Python tool used to produce a SHA256 hash. Currently, the whole file is loaded in memory before computing the hash, which causes problem when large files are processed. For instance, github.com/bazelbuild/rules_docker uses it to compute the hash of Docker images, which can be multiple GB in size. This PR avoids the tool to cause issues in a limited-memory environment. Closes #4243. PiperOrigin-RevId: 184518900
* python,runfiles: runfiles library in @bazel_toolsGravatar Laszlo Csomor2018-02-05
| | | | | | | | | | | | | Also update the Python stub script template to set $RUNFILES_MANIFEST_FILE or $RUNFILES_DIR so the runfiles library only needs to look for those. See https://github.com/bazelbuild/bazel/issues/4460 RELNOTES[NEW]: python,runfiles: You can now depend on `@bazel_tools//tools/runfiles:py-runfiles` to get a platform-independent runfiles library for Python. See DocString of https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles/runfiles.py for usage information. Change-Id: I4f68a11cb59f2782e5203e39fe60cc66b46023a2 PiperOrigin-RevId: 184515490
* C++: Remove last instatiation of CppModel outside CcLibraryHelper.Gravatar plf2018-02-05
| | | | | RELNOTES:none PiperOrigin-RevId: 184510731
* Expose structField callable methods of skylark objects to dir() and str() callsGravatar cparsons2018-02-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 184498836
* Convert "-" to "" when generating module nameGravatar Googler2018-02-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 184492828
* docs: document --workspace_status_commandGravatar laszlocsomor2018-02-05
| | | | | | | | | Add docs for the --workspace_status_command flag. Fixes https://github.com/bazelbuild/bazel/issues/4220 RELNOTES: none PiperOrigin-RevId: 184492241
* Update stub_finds_runfiles_test to be a real sh_test.Gravatar John Cater2018-02-05
| | | | | | | Fixes #4563. Change-Id: I12868569feb1ec700062006307cda15c24946797 PiperOrigin-RevId: 184490058
* Remove redundant function prettyJarNames from ActionsTestUtilGravatar dbabkin2018-02-03
| | | | | RELNOTES:none PiperOrigin-RevId: 184411715
* Add a Path-returning method to JavacBootclasspathGravatar cushon2018-02-02
| | | | PiperOrigin-RevId: 184370036
* RELNOTES: stop using --no-locals in android coverage buildsGravatar kmb2018-02-02
| | | | PiperOrigin-RevId: 184369667
* Don't suppress non-NOTE diagnostics for failed buildsGravatar cushon2018-02-02
| | | | | | | | To avoid hiding compiler.warn.sun.proprietary warnings when running with -Werror. Fixes bazelbuild/bazel#4564 PiperOrigin-RevId: 184367653
* Check for nulls when making sure there is only one non-null configuration ↵Gravatar juliexxia2018-02-02
| | | | | | that top level targets are configured in. PiperOrigin-RevId: 184358568
* Make RuleContext.getConfiguration() private.Gravatar gregce2018-02-02
| | | | | | | | | | This further discourages the paradigm of rule implementations consuming entire configs vs. declared fragments. It also makes RuleContext a more reliable tracker of which fragments rules use. PiperOrigin-RevId: 184355968
* Remove documentation of ↵Gravatar dannark2018-02-02
| | | | | | | android_local_test.{resource_files,assets,assets_dir}. They are not used and their usage is unsupported. RELNOTES: None PiperOrigin-RevId: 184354541
* site/docs: add documentation for remote caching.Gravatar Jakob Buchgraber2018-02-02
| | | | | | Closes #4540. PiperOrigin-RevId: 184349872
* Add allowReturnNone to skylark annotationsGravatar Googler2018-02-02
| | | | PiperOrigin-RevId: 184348602
* Stop allowing generic LateBoundDefault value types. Such types are always ↵Gravatar janakr2018-02-02
| | | | | | | | either a Label or a List<Label>. We can easily enforce this through static type checking, so do it. This will help with LateBoundDefault serialization, since we don't have to serialize an arbitrary object. PiperOrigin-RevId: 184347100
* Start process of tagging AspectKey. Still a lot of subclasses of AspectClass ↵Gravatar janakr2018-02-02
| | | | | | | | to do. Also change AspectDescriptor #isEmpty() semantics because they seemed like a bug to me. PiperOrigin-RevId: 184319840
* Remove Root#getCodec, to bring Root in line with general style for codecGravatar cpeyser2018-02-02
| | | | | | declaration. PiperOrigin-RevId: 184304653
* Disable the src/test/py/bazel/launcher_test test.Gravatar jmmv2018-02-02
| | | | | | | | | This test currently times out when run on our CI and we don't have a root cause yet -- but it's blocking all submissions. Thus disable it in the meantime while we investigate. RELNOTES: None. PiperOrigin-RevId: 184304422
* C++: Stops generating DWO files when PER_OBJECT_DEBUG_INFO feature is not ↵Gravatar plf2018-02-02
| | | | | | | enabled. RELNOTES:none PiperOrigin-RevId: 184303490
* AutoCodec can support NestedSet<T>, where T is a declared declared type thatGravatar cpeyser2018-02-02
| | | | | | | | has a CODEC member. AutoCodec cannot yet support other type parameters for NestedSet, like NestedSet<List<Foo>>. This will have to wait for AutoCodec Runtime. PiperOrigin-RevId: 184294808
* Fix the Skylark specificationGravatar vladmos2018-02-02
| | | | | | Return statements can exist without an expression. PiperOrigin-RevId: 184291539
* Automated rollback of commit 99b474de4fafd22c366fbb0a71913dc90730c730.Gravatar jmmv2018-02-02
| | | | | | | | | | | | | | | | *** Reason for rollback *** Did not help so there is no need to carry this further. *** Original change description *** tests: increase shard_count for launcher_test This test is timing out on internal CI, breaking presubmits. RELNOTES: none PiperOrigin-RevId: 184283585
* Fix error handling in skyframe target pattern parsingGravatar ulfjack2018-02-02
| | | | | | | | | Bazel completely swallowed errors in some cases, e.g., if the pattern is invalid like bazel build foo//bar:baz. Note that it previously silently ignored empty targets if --experimental_skyframe_target_pattern_evaluator was passed, and now fails (which is consistent with legacy behavior). This is an intentional change, but may break users who are using the experimental flag and are passing empty strings to Bazel. PiperOrigin-RevId: 184282856
* ConfiguredRuleClassProvider preserves order in its builtin map.Gravatar cpeyser2018-02-02
| | | | PiperOrigin-RevId: 184280067
* Implement Merge logic for all new providers in JavaInfoGravatar dbabkin2018-02-02
| | | | | | | In scope of b/69780248 three new provider had been added to JavaInfo. This CL implements merge logic for its. RELNOTES:none PiperOrigin-RevId: 184273903
* tests: increase shard_count for launcher_testGravatar laszlocsomor2018-02-02
| | | | | | | | This test is timing out on internal CI, breaking presubmits. RELNOTES: none PiperOrigin-RevId: 184270477
* Change how the libraries_to_link are expanded for archiverGravatar hlopko2018-02-02
| | | | | | | | | This makes object_file_group work correctly for archiving (So far object_file_group was only possible for linking, but with the introduction of tree artifact support, it can appear also for archiving). RELNOTES: Fix how libraries_to_link are expanded in the archiver command line. PiperOrigin-RevId: 184258745
* windows,tests,testenv.sh: remove hardcoded envvarsGravatar Laszlo Csomor2018-02-02
| | | | | | | | | | | | | | | | | | | Remove most of the hardcoded, Windows-only envvars from testenv.sh: - BAZEL_VC and BAZEL_PYTHON: Bazel can autodetect these - TMP/TEMP/TMPDIR and TEST_TMPDIR: Bazel sets these automatically As for BAZEL_SH, we can just get bash's path using cygpath. We know there is a bash since this is already inside a bash script. Also, use `rlocation` for some of the the runfile lookups. Change-Id: Ib35d285ec0cbb88cb5d603a4eb0f3386f3c2033b PiperOrigin-RevId: 184253597
* @AutoCodec @AutoValue supportGravatar shahan2018-02-01
| | | | PiperOrigin-RevId: 184211212
* PiperOrigin-RevId: 184203570Gravatar Googler2018-02-01
|
* Use the correct API for assert_build_fails in ↵Gravatar jingwen2018-02-01
| | | | | | | android_instrumentation_test_integration_test RELNOTES: None. PiperOrigin-RevId: 184203486
* Refactors ParallelEvaluator to support eval-wide exceptions.Gravatar mschaller2018-02-01
| | | | | | | Also clarifies a comment on preventNewEvaluations. RELNOTES: None. PiperOrigin-RevId: 184198568
* Remove unused code from bazel.Gravatar kaipi2018-02-01
| | | | | RELNOTES: PiperOrigin-RevId: 184191201
* Add codecs for some stray SkyKeys.Gravatar janakr2018-02-01
| | | | PiperOrigin-RevId: 184177838
* Expand the docs on hdrs to better indicate what they are.Gravatar thomasvl2018-02-01
| | | | | | | This borrows from what is on cc_library, to hopefully better capture/indicate what should and shouldn't be listed in their attribute. PiperOrigin-RevId: 184173403
* Remove setting of $DISPLAY variable by android_instrumentation_test.Gravatar jingwen2018-02-01
| | | | | | | | | | This makes the android_instrumentation_test silent by default. If the emulator GUI is required, the following flag is used: `--action_env=DISPLAY=$DISPLAY # or whatever port the display is on` RELNOTES: None. PiperOrigin-RevId: 184172016
* Add NO_PROXY environment variable support to downloaderGravatar Zack Lalanne2018-02-01
| | | | | | | | | | | | Check the no_proxy and NO_PROXY environment variables for a list of URLs that should not use a proxy. If the requested URL matches the no_proxy list, don't proxy the download. Fixes #4299 Closes #4307. PiperOrigin-RevId: 184149118