aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Eliminate the $jacoco_runtime implicit attribute and link in the Jacoco ↵Gravatar Lukacs Berki2017-01-11
| | | | | | | | | | agent through the $jacocorunner dependency. They are either both linked in or neither of them is, so there isn't much point in separating them. -- PiperOrigin-RevId: 144191570 MOS_MIGRATED_REVID=144191570
* Removing javacopts in junitrunner tests because it breaks bazel-tests.Gravatar Irina Iancu2017-01-11
| | | | | | | | Example of failure in Jenkins here: http://ci.bazel.io/job/bazel-tests/467/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console -- PiperOrigin-RevId: 144185702 MOS_MIGRATED_REVID=144185702
* Add a small helper method to ActionInputHelperGravatar Ulf Adams2017-01-11
| | | | | | | | | | This is part of a series of changes to clean up the test strategies; this specific change is a Google-internal refactoring. I'm planning to also update the external test strategies subsequently. -- PiperOrigin-RevId: 144184752 MOS_MIGRATED_REVID=144184752
* Rollback of commit fa7e34979b1a10794321b1233e8d6f44a62431fa.Gravatar Pedro Liberal Fernandez2017-01-11
| | | | | | -- PiperOrigin-RevId: 144181101 MOS_MIGRATED_REVID=144181101
* Update asm from 5.0.4 to 5.1.Gravatar Adam Michael2017-01-11
| | | | | | | | | | This is needed to open source the java 8 desugaring tool for android builds. https://github.com/bazelbuild/bazel/issues/2222 Change-Id: I6025ab921636782cea65ff4443eb6ea790b32794 RELNOTES: None
* Add explicit type annotations in BlazeJavacArguments.javaGravatar Marcel Hlopko2017-01-11
| | | | | | | | Fixes bazel-tests for java 7 after commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91 -- PiperOrigin-RevId: 144180125 MOS_MIGRATED_REVID=144180125
* Bazel client, Windows: implement UnlinkPathGravatar Laszlo Csomor2017-01-11
| | | | | | | | | | | | | | | | This was committed and rolled back twice, once because I forgot to update file_posix.cc, and again because the roll-forward was somehow only partial. This is a clean attempt at submitting the same thing again. See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144179954 MOS_MIGRATED_REVID=144179954
* Add placeholder test to persistent_test_runner_testsGravatar Marcel Hlopko2017-01-11
| | | | | | | | So it doesn't complain about missing tests. -- PiperOrigin-RevId: 144179946 MOS_MIGRATED_REVID=144179946
* Bazel client: split CanAccess to specific methodsGravatar Laszlo Csomor2017-01-11
| | | | | | | | | | | | | | The new methods (CanReadFile, CanExecuteFile, CanAccessDirectory) are a lot easier to implement on Windows than a generic CanAccess. On POSIX these methods are just a wrapper around the now static-visible CanAccess(). See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144176710 MOS_MIGRATED_REVID=144176710
* Kill the server when the server.pid.txt file cannot be found and start a new ↵Gravatar Lukacs Berki2017-01-11
| | | | | | | | | | one. This makes Bazel not be stuck when a gRPC-only server is used in a client, then an AF_UNIX-only one, then a gRPC-only one again. -- PiperOrigin-RevId: 144176526 MOS_MIGRATED_REVID=144176526
* Rollback of commit c9dbd4c1a4a4b4345c0b3924f86e01612ae12807.Gravatar Marcel Hlopko2017-01-11
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks bazel-docker-tests http://ci.bazel.io/view/Dashboard/job/bazel-docker-tests/lastCompletedBuild/BAZEL_VERSION=HEAD,PLATFORM_NAME=docker/console *** Original change description *** Enable header compilation by default -- PiperOrigin-RevId: 144176396 MOS_MIGRATED_REVID=144176396
* Speed up bundling by constructing an uncompressed ZIP from the filesGravatar Googler2017-01-11
| | | | | | | | | being bundled instead of copying them into the directory structure first. -- PiperOrigin-RevId: 144133387 MOS_MIGRATED_REVID=144133387
* Add a deprecation warning to objc_xcodeprojGravatar Dmitry Shevchenko2017-01-11
| | | | | | -- PiperOrigin-RevId: 144127414 MOS_MIGRATED_REVID=144127414
* Rollback of commit e1f8bbc1fe1d0a22736597dbd029155b01718b94.Gravatar Laszlo Csomor2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Bad rollback, was only partial. *** Original change description *** Automated [] rollback of commit 9a13899b1492738f8d1a9118cebc9ef9d90c6b34. *** Reason for rollback *** Fixed the problem with the CL. *** Original change description *** Bazel client, Windows: implement UnlinkPath See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144115263 MOS_MIGRATED_REVID=144115263
* Disable the persistent_test_runner_test since the functionality enabling ↵Gravatar Kush Chakraborty2017-01-10
| | | | | | | | this test has been rolled back. -- PiperOrigin-RevId: 144112095 MOS_MIGRATED_REVID=144112095
* Invoke javac using the API, instead of main()Gravatar Liam Miller-Cushon2017-01-10
| | | | | | | | | | | | | | This unifies the test and production javac invocations. Location arguments (e.g. classpath, sources) are now set programatically from Paths, instead of going through string args. The classloader masking plugin is now just a custom filemanager, since javac uses the same context for the entire compilation and we don't need a plugin to carry it across annotation processing rounds. -- PiperOrigin-RevId: 144110025 MOS_MIGRATED_REVID=144110025
* Set ios_cpu on child configurations of multi-arch apple rules in all cases.Gravatar Chris Parsons2017-01-10
| | | | | | -- PiperOrigin-RevId: 144108788 MOS_MIGRATED_REVID=144108788
* Remove javac and jar from the Jvm fragmentGravatar Liam Miller-Cushon2017-01-10
| | | | | | -- PiperOrigin-RevId: 144107395 MOS_MIGRATED_REVID=144107395
* Automated [] rollback of commit 56bc3cbf0e87423e815422d1c6e02846af74c0bf.Gravatar Marcel Hlopko2017-01-10
| | | | | | | | | | | | *** Reason for rollback *** Still breaks //src/test/shell/bazel:bazel_test_test http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/lastCompletedBuild/testReport/(root)/(empty)/test_test_timeout/ -- PiperOrigin-RevId: 144107285 MOS_MIGRATED_REVID=144107285
* Rollback changes to the BazelTestRunner which add a dependency on proto3 as ↵Gravatar Kush Chakraborty2017-01-10
| | | | | | | | it conflicts with IntelliJ dependencies, till we find a better way to separate the dependencies of the Test Runner from the dependencies of the Test Target. -- PiperOrigin-RevId: 144100298 MOS_MIGRATED_REVID=144100298
* Rollback of commit 62a6f695f95b8dde15fe9b287a290dc7ac06e173.Gravatar Marcel Hlopko2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks //src/test/shell/bazel:persistent_test_runner_test http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/lastBuild/testReport/junit/(root)/(empty)/test_simple_scenario/ *** Original change description *** Also add the duration as the test process time. Technically, this code is incorrect, because we're calling into spawn strategy, which might do any amount of additional waiting (e.g., to acquire local resources). We should change spawn strategy to return structured information about the subprocess execution, including the wall time, and use that to set the test information. But for now, this seems good enough. Fixes #1748. -- PiperOrigin-RevId: 144096164 MOS_MIGRATED_REVID=144096164
* Skylark repositories: propage value from --action_env to repository_ctx.environ Gravatar Damien Martin-Guillerez2017-01-10
| | | | | | | | | | | | | | | | | | | | | | The environment is now computed with a mixture of the client environment and the values specified by the --action_env flag. If a user want to overwrite its environment for skylark repository, they can do `--action_env FOO=BAR` and the repository will see FOO as having the value BAR, whichever value is set in the client environment. Also propagate it to all repository functions, and deduplicate the way the client environment is passed to repository functions. Design doc: https://bazel.build/designs/2016/10/18/repository-invalidation.html [step 1] RELNOTES[INC]: repository_ctx environment is now affected by --action_env flag (value from the client environment will be replaced by value given on the command line through --action_env). -- Change-Id: I131a9695439aa9949d5001f820e2ae450e41332f Reviewed-on: https://cr.bazel.build/7971 PiperOrigin-RevId: 144091492 MOS_MIGRATED_REVID=144091492
* Finish removing experimental_use_rclass_generator flagGravatar Googler2017-01-10
| | | | | | | | | | | Since it's already a no-op after the latest release this should be harmless... R=ahumesky -- PiperOrigin-RevId: 144088752 MOS_MIGRATED_REVID=144088752
* Rollback of commit 9a13899b1492738f8d1a9118cebc9ef9d90c6b34.Gravatar Laszlo Csomor2017-01-10
| | | | | | | | | | | | | | | | *** Reason for rollback *** Fixed the problem with the CL. *** Original change description *** Bazel client, Windows: implement UnlinkPath See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144087552 MOS_MIGRATED_REVID=144087552
* Refactor StandaloneTestStrategy; tiny step towards test strategy unification.Gravatar Ulf Adams2017-01-10
| | | | | | | | | | Create the test spawn upfront instead of lazily. In the common case, this doesn't cost anything, but the worker test strategy doesn't use the spawn right now. -- PiperOrigin-RevId: 144086321 MOS_MIGRATED_REVID=144086321
* Bazel client, Windows: implement IsDirectoryGravatar Laszlo Csomor2017-01-10
| | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144084379 MOS_MIGRATED_REVID=144084379
* Add new flag to specify if output_licenses attribute should be checked for ↵Gravatar Irina Iancu2017-01-10
| | | | | | | | | | licenses. Also flipped :jvm attribute from HOST to TARGET and set the new flag on it. -- PiperOrigin-RevId: 144084000 MOS_MIGRATED_REVID=144084000
* Rollback of commit 9a13899b1492738f8d1a9118cebc9ef9d90c6b34.Gravatar Marcel Hlopko2017-01-10
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks windows: bazel-out/local-fastbuild/bin/src/main/cpp/util/libfile.a(file_windows.o):file_windows.cc:(.text+0x11e2): multiple definition of `blaze_util::UnlinkPath(std::string const&)' bazel-out/local-fastbuild/bin/src/main/cpp/util/libfile.a(file_posix.o):file_posix.cc:(.text+0x3ff): first defined here *** Original change description *** Bazel client, Windows: implement UnlinkPath See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144082937 MOS_MIGRATED_REVID=144082937
* Also add the duration as the test process time.Gravatar Ulf Adams2017-01-10
| | | | | | | | | | | | | | Technically, this code is incorrect, because we're calling into spawn strategy, which might do any amount of additional waiting (e.g., to acquire local resources). We should change spawn strategy to return structured information about the subprocess execution, including the wall time, and use that to set the test information. But for now, this seems good enough. Fixes #1748. -- PiperOrigin-RevId: 144082073 MOS_MIGRATED_REVID=144082073
* Fix formatting of the release CHANGELOG file Gravatar Damien Martin-Guillerez2017-01-10
| | | | | | | | | | | | | | - Add backquotes around the changelog - Add empty line at the end of the changelog - Enforce the use of the master changelog prior to release Fixes #2281. -- Change-Id: I449f5209a6b05e65411a64ce82ea1d89d60ee4d3 Reviewed-on: https://cr.bazel.build/8044 PiperOrigin-RevId: 144080940 MOS_MIGRATED_REVID=144080940
* Rollback of commit 08426525c517599a76b4f69814baf28731e840c7.Gravatar Lukacs Berki2017-01-10
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** *still* does not work with Windows: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=windows-x86_64/lastBuild/console *** Original change description *** Jarjar the third-party dependencies of the Jacoco test runner. This is an encore of commit 823091f7516abf7d854021edc765daf1467f1647, which failed because Java temp directory handling in actions is broken at the moment. Fixes #2343. -- PiperOrigin-RevId: 144076235 MOS_MIGRATED_REVID=144076235
* Release scripts: add a git note with the cherrypick origin Gravatar Damien Martin-Guillerez2017-01-10
| | | | | | | | | | | | | | | | | | | If the patch-id differ because of merge conflict or subtle adjacent change, the cherrypick origin was missing, resulting in non existent cherrypick lines in the changelog. If the cherrypicks are done by the script, adds the cherrypick origin to a git note and use that origin when generating the release note. Also fallback to the commit hash of the resulting commit if the cherrypick origin cannot be found. Fixes #2272. -- Change-Id: I311bbe777ea82be05f9fba0a658bab075ed1bd97 Reviewed-on: https://cr.bazel.build/8042 PiperOrigin-RevId: 144075867 MOS_MIGRATED_REVID=144075867
* Remove some dead code from StandaloneTestStrategy.Gravatar Ulf Adams2017-01-10
| | | | | | -- PiperOrigin-RevId: 144074221 MOS_MIGRATED_REVID=144074221
* Bazel client, Windows: implement UnlinkPathGravatar Laszlo Csomor2017-01-10
| | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144073888 MOS_MIGRATED_REVID=144073888
* Refactor CcToolchainFeatures.Variables.lookupVariable to produce less garbageGravatar Marcel Hlopko2017-01-10
| | | | | | -- PiperOrigin-RevId: 144072456 MOS_MIGRATED_REVID=144072456
* Fix Bazel so that it actually works after commit ↵Gravatar Lukacs Berki2017-01-10
| | | | | | | | 08426525c517599a76b4f69814baf28731e840c7 . -- PiperOrigin-RevId: 144071698 MOS_MIGRATED_REVID=144071698
* Expose thinlto_params_file and linker_param_file as build variablesGravatar Marcel Hlopko2017-01-10
| | | | | | | | | This cl exposes param files that were hard-coded before. This enables more precise placement on the link command line. -- PiperOrigin-RevId: 144069927 MOS_MIGRATED_REVID=144069927
* Deprecated and removed HOST_CFG and DATA_CFG global variables.Gravatar Vladimir Moskva2017-01-10
| | | | | | | | RELNOTES[INC]: Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings "host" and "data" instead. -- PiperOrigin-RevId: 144069794 MOS_MIGRATED_REVID=144069794
* Bazel client, Windows: implement ChangeDirectoryGravatar Laszlo Csomor2017-01-10
| | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144068695 MOS_MIGRATED_REVID=144068695
* Expose methods for the undeclared outputs and annotations directoriesGravatar Ulf Adams2017-01-10
| | | | | | | | | | This is part of a sequence of changes to update the test strategies; most of the actual code changes in this specific change is Google-internal, but I'm planning to update the external test strategies as well. -- PiperOrigin-RevId: 144064802 MOS_MIGRATED_REVID=144064802
* Changing visibility of junitrunner test sources to be visible from main src ↵Gravatar Irina Iancu2017-01-10
| | | | | | | | package. -- PiperOrigin-RevId: 144064682 MOS_MIGRATED_REVID=144064682
* Encapsulate the required provider logic in RequiredProviders class.Gravatar Dmitry Lomov2017-01-10
| | | | | | | | | For now, only for aspects, but eventually expand to Attribute's mandatory providers as well. -- PiperOrigin-RevId: 144063369 MOS_MIGRATED_REVID=144063369
* Windows: implement and use AsShortWindowsPathGravatar Laszlo Csomor2017-01-10
| | | | | | | | | | | | | | | | | | Because CreateProcessW doesn't support long paths, not even with the "\\?\" prefix [1], we need to convert long paths to short ones to spawn processes. This change implements the corresponding function and uses it in blaze_util_windows. [1] https://github.com/bazelbuild/bazel/issues/2181#issuecomment-270696173 See https://github.com/bazelbuild/bazel/issues/2107 See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 144062404 MOS_MIGRATED_REVID=144062404
* Bazel client: move NormalizePath to Windows codeGravatar Laszlo Csomor2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | This method was only used by the Windows-specific code so move it there and adapt it to Windows paths. Update AsWindowsPath to normalize its output: this is necessary because AsWindowsPath's output is a widechar path string which we often prefix with the UNC prefix, but such paths must be normalized (the kernel won't do it if the path has an UNC prefix). Finally, add an AsWindowsPathWithUncPrefix method which does what the name suggests: converts the path to Windows path, makes it absolute, and adds the UNC prefix if necessary. (This is a very common operation when calling WinAPI functions and we'll use it a lot in subsequent changes.) See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 144060297 MOS_MIGRATED_REVID=144060297
* Gives 3 levels of sandbox error message under different flags.Gravatar Yue Gan2017-01-10
| | | | | | | | | | | | | | | | 1. no flag: only the direct reason is given (command execution termination status), and also the instruction to use "--verbose_failures" 2. flag "--verbose_failures": gives failed execution command and the instruction to use "--sandbox_debug --strategy" 3. flag "--verbose_failures --sandbox_debug": gives failed execution command, debugging message from sandboxing, and the instruction to use "--strategy" Also removes "cd <sandbox_path>" in given failed command, since debugging is only necessary with flag "--verbose_failures --sandbox_debug" and the path is already given in sandboxing debugging message. Addresses #2174. Fixes bazel_sandboxing_test.sh and bazel_test_test.sh for the new error message. -- PiperOrigin-RevId: 144058351 MOS_MIGRATED_REVID=144058351
* Remove the inmemoryfs library from lib:foundationGravatar Ulf Adams2017-01-10
| | | | | | | | No production code should depend on inmemoryfs. -- PiperOrigin-RevId: 144054981 MOS_MIGRATED_REVID=144054981
* Remove the unused class RPCService and its test.Gravatar Lukacs Berki2017-01-10
| | | | | | -- PiperOrigin-RevId: 144054816 MOS_MIGRATED_REVID=144054816
* Open sourcing junitrunner tests.Gravatar Irina Iancu2017-01-10
| | | | | | -- PiperOrigin-RevId: 144053696 MOS_MIGRATED_REVID=144053696
* google-java-format buildjarGravatar Liam Miller-Cushon2017-01-10
| | | | | | -- PiperOrigin-RevId: 144039394 MOS_MIGRATED_REVID=144039394
* Description redacted.Gravatar Rumou Duan2017-01-10
| | | | | | -- PiperOrigin-RevId: 144010091 MOS_MIGRATED_REVID=144010091