| Commit message (Collapse) | Author | Age |
|
|
|
| |
Change-Id: I9d16ab783e4d91f7a515103c4b6191c169f73570
|
|
|
|
|
|
|
|
|
|
| |
This argument allows to copy bridges from interfaces that are on the classpath to the desugared classes.
RELNOTES: Add an --copy_bridges_from_classpath argument to android desugaring tool
--
PiperOrigin-RevId: 149631699
MOS_MIGRATED_REVID=149631699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the path limit for non-UNC-prefixed paths when
using CreateDirectoryW. According to MSDN [1],
this is only 248 chars, as opposed to the usual
260 (MAX_PATH).
See https://github.com/bazelbuild/bazel/issues/2107
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa363855(v=vs.85).aspx
--
PiperOrigin-RevId: 149627964
MOS_MIGRATED_REVID=149627964
|
|
|
|
|
|
|
|
| |
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 149626394
MOS_MIGRATED_REVID=149626394
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149585165
MOS_MIGRATED_REVID=149585165
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only requireNonNull(Object o) is desugared. The following two overloaded versions are NOT desugared.
requireNonNUll(Object o, String msg)
requireNonNull(Object o, Supplier msg)
RELNOTES: desugar calls to Objects.requireNonNull(Object o) with o.getClass() for android
--
PiperOrigin-RevId: 149579668
MOS_MIGRATED_REVID=149579668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It can still be used as only a cache server, or only a worker with
a wrapper of Hazelcast, so no functionality is lost, but it is now
simpler to use in local testing / prototyping. Changed README files
appropriately.
TESTED=locally
--
Change-Id: I3fdff9d434ce8cae5a6a700df0cb9f5bc364b60c
Reviewed-on: https://cr.bazel.build/9253
PiperOrigin-RevId: 149569790
MOS_MIGRATED_REVID=149569790
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149567942
MOS_MIGRATED_REVID=149567942
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149560999
MOS_MIGRATED_REVID=149560999
|
|
|
|
|
|
|
|
|
| |
Add a field to the IntelliJ aspect proto which handles both current and future
formats.
--
PiperOrigin-RevId: 149559228
MOS_MIGRATED_REVID=149559228
|
|
|
|
|
|
|
|
| |
supported for crosstool builds - there is no support in LegacyCompilationSupport.
--
PiperOrigin-RevId: 149558653
MOS_MIGRATED_REVID=149558653
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Windows-implementation of this function
shortens paths that we pass to the JVM, such as
the Bazel server jar's path, the log file path,
etc. These must be shortened because the JVM
doesn't handle long paths.
We don't shorten paths passed to the Bazel server
itself though because Bazel can handle long paths.
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 149548361
MOS_MIGRATED_REVID=149548361
|
|
|
|
|
|
|
|
|
|
| |
For tests, also provide information on the time the test took.
--
Change-Id: I8e71391e4dd97627d6293159a0cbb0d922683af7
Reviewed-on: https://cr.bazel.build/9214
PiperOrigin-RevId: 149547633
MOS_MIGRATED_REVID=149547633
|
|
|
|
|
|
|
|
| |
This is essentially a rollforward of commit 7d0561b6ca92d72bd8767d4dca50e5437976812c, and changes triggering the perisitent runner using an environment variable instead of argument as suggested in commit 7d0561b6ca92d72bd8767d4dca50e5437976812c
--
PiperOrigin-RevId: 149540564
MOS_MIGRATED_REVID=149540564
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149536881
MOS_MIGRATED_REVID=149536881
|
|
|
|
|
|
|
|
|
|
| |
a testbed of upcoming changes, without breaking existing test targets.
To use the alternate test runner a java test should add the tag "experimental_testrunner" and depend on "@bazel_tools//tools/jdk:ExperimentalTestRunner_deploy.jar" (instead of @bazel_tools//tools/jdk:TestRunner_deploy.jar)
--
PiperOrigin-RevId: 149536298
MOS_MIGRATED_REVID=149536298
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After this change, a msys bazel can be built with
a MSVC-default Bazel by adding --cpu=x64_windows_msys --host=x64_windows_msys
See https://github.com/bazelbuild/bazel/issues/2627
--
Change-Id: Iaa82bf4dd911c5740b98d3b2739dfccca6203f79
Reviewed-on: https://cr.bazel.build/9293
PiperOrigin-RevId: 149532274
MOS_MIGRATED_REVID=149532274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default C++ CROSSTOOL on Windows now becomes MSVC,
--cpu=x64_windows_msvc is still supported
To use MSYS toolcahin, add --cpu=x64_windows_msys and
--host_cpu=x64_windows_msys for host compilation
See https://github.com/bazelbuild/bazel/issues/2627
--
Change-Id: Ie788a39cb5ffbc9fc956ccfd51a3cc816c74543a
Reviewed-on: https://cr.bazel.build/9292
PiperOrigin-RevId: 149530250
MOS_MIGRATED_REVID=149530250
|
|
|
|
|
|
|
|
| |
displayed properly.
--
PiperOrigin-RevId: 149528271
MOS_MIGRATED_REVID=149528271
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This rule can be used in building JNI shared libraries for Windows.
For example, see TensorFlow usage of these targets in jdk.BUILD:
https://github.com/tensorflow/tensorflow/blo[]a98083a6c16f263d668271889863596efbeb84/tensorflow/java/src/main/native/BUILD#L68
Closes #2599.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2599
PiperOrigin-RevId: 149527656
MOS_MIGRATED_REVID=149527656
|
|
|
|
|
|
|
|
|
| |
This cl removes hard coded -Wl,-S flag from Blaze and moves it to the
crosstool.
--
PiperOrigin-RevId: 149525225
MOS_MIGRATED_REVID=149525225
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strip_include_prefix/include_prefix
This cl fixes a bug when strip_include_prefix and include_prefix are used in
such a way that the resulting virtual header is be accessible from the same
path as the original header and bazel would attempt to create symlink pointing
at itself.
Fixes #2635
--
PiperOrigin-RevId: 149524480
MOS_MIGRATED_REVID=149524480
|
|
|
|
|
|
|
|
| |
Now we only have to find out why it's not being rendered properly.
--
PiperOrigin-RevId: 149524453
MOS_MIGRATED_REVID=149524453
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some macos clang versions don't fail when setting -fuse-ld=gold, which makes
cc_configure.bzl think gold linker is available, when it is actually not.
The sideeffect of this cl is that we will not autodetect gold when only a very
old (year 2010 and older) is present. I assume this is fine.
Fixes #2502
--
PiperOrigin-RevId: 149521872
MOS_MIGRATED_REVID=149521872
|
|
|
|
|
|
|
|
|
|
|
| |
This is a test for https://bazel-review.googlesource.com/c/9213 and
would have caught https://github.com/bazelbuild/bazel/issues/2621.
--
Change-Id: I6c0fb10cc86f6f0dab02e931e9710e1b5168320c
Reviewed-on: https://cr.bazel.build/9270
PiperOrigin-RevId: 149512997
MOS_MIGRATED_REVID=149512997
|
|
|
|
|
|
|
|
|
|
|
| |
Having a correlation between an output jar and a source jar is not enough.
There may be situations when an output jar is generated from more source jars,
not just one. We need this flexibility especially in Skylark for the java
sandwich, when the user can compile multiple source jars.
--
PiperOrigin-RevId: 149510534
MOS_MIGRATED_REVID=149510534
|
|
|
|
|
|
|
|
| |
--
Change-Id: Ie1f3be6258f024d352ff4571a5355660f409f70d
Reviewed-on: https://cr.bazel.build/9291
PiperOrigin-RevId: 149470780
MOS_MIGRATED_REVID=149470780
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149460936
MOS_MIGRATED_REVID=149460936
|
|
|
|
|
|
|
|
| |
Fixes #2646
--
PiperOrigin-RevId: 149448578
MOS_MIGRATED_REVID=149448578
|
|
|
|
|
|
|
|
|
| |
of hardcoded in AppleCcToolchain. Also, apply environment variables to objc
archives.
--
PiperOrigin-RevId: 149439637
MOS_MIGRATED_REVID=149439637
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149439502
MOS_MIGRATED_REVID=149439502
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149437323
MOS_MIGRATED_REVID=149437323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
Roll forward of 149403129 with fixes.
--
PiperOrigin-RevId: 149435060
MOS_MIGRATED_REVID=149435060
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149431500
MOS_MIGRATED_REVID=149431500
|
|
|
|
|
|
|
|
| |
It looks like Windows PathFragments are all converted to lower-case.
--
PiperOrigin-RevId: 149425977
MOS_MIGRATED_REVID=149425977
|
|
|
|
|
|
|
|
|
|
| |
Manually tested with ./compile.sh and JAVA_VERSION=1.7
Fixes #2644.
--
PiperOrigin-RevId: 149422627
MOS_MIGRATED_REVID=149422627
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149418372
MOS_MIGRATED_REVID=149418372
|
|
|
|
|
|
|
|
|
|
|
| |
For test (a.k.a '[') the closing bracket has to be a separate argument.
Fix this by adding the missing space.
--
Change-Id: Ie1d64bc1fa37f85ee0c7b5520b2ba12a30c9f635
Reviewed-on: https://cr.bazel.build/9290
PiperOrigin-RevId: 149418360
MOS_MIGRATED_REVID=149418360
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149418254
MOS_MIGRATED_REVID=149418254
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
broke //src/test/shell/bazel:bazel_bootstrap_distfile_test
*** Original change description ***
Env.vars: server won't ignore the client env
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
--
PiperOrigin-RevId: 149416602
MOS_MIGRATED_REVID=149416602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pthread mutexes must be initialized with pthread_mutex_init and cleaned
up with pthread_mutex_destroy.
This seems to fix a race where poll() would access invalid array indexes
on an array constructed based on the size of a shared list protected by
the mutex. This is understandable because the mutex may not have been
doing anything due to the lack of its proper initialization -- and, if
so, I'm surprised the consequences were not more catastrophic.
As with any race condition, it is hard to confirm that this fixes the
observed problem, but I could trivially reproduce this issue earlier
and now I cannot with this fix after tens of runs. See reproduction
code in the referenced bug for details on how to expose the issue.
Fixes #1676.
--
Change-Id: Ia5a4a8f12da7c3780f33266b9922eeba7645b3a4
Reviewed-on: https://cr.bazel.build/9230
PiperOrigin-RevId: 149414125
MOS_MIGRATED_REVID=149414125
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the --ignore_client_env flag a no-op.
The client will pass --client_env flags to the
server even in --batch mode. This simplifies the
code as well as ensuring that the server always
uses the up-do-date client environment.
We'll gradually get rid of all System.getenv calls
in the server, because the server should always
respect the client env.
--
PiperOrigin-RevId: 149403129
MOS_MIGRATED_REVID=149403129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More specifically, change windows_util.AsShortPath
to accept empty inputs, as well as paths with
forward slashes.
Also output more accurate error messages for bad
input paths than before.
This fixes //src/test/java/com/google/devtools/build/lib:windows-tests
but not //src/test/java/com/google/devtools/build/lib:standalone-tests
--
PiperOrigin-RevId: 149399449
MOS_MIGRATED_REVID=149399449
|
|
|
|
|
|
|
|
| |
We already constructed it in the code via blaze_util::AsShortWindowsPath, but accidentally didn't use the results.
--
PiperOrigin-RevId: 149398556
MOS_MIGRATED_REVID=149398556
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All spawn strategies already treat all normal outputs as optional. Bazel checks
at the action level whether all action outputs are created, but does not check
at the spawn level. Spawn.getOptionalOutputs is therefore unnecessary, and
removed in this change.
The only place where this was set was in StandaloneTestStrategy, which now
specifies the full set of outputs, which is now computed by TestRunnerAction.
The internal test strategy implementations are also updated in this change.
While I'm at it, also remove the use of BaseSpawn and use SimpleSpawn instead.
This may go some way towards fixing #1413 and #942.
--
PiperOrigin-RevId: 149397100
MOS_MIGRATED_REVID=149397100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix blaze_util_windows.ConvertPath: in the MSVC
version this is using the actual %PATH% value, we
don't need to convert it.
Fix blaze_util_windows.PathAsJvmFlag: shorten the
path so we can pass it to the JVM process (long
paths aren't understood by the shell), but also
converrt backslashes to forward slashes so the JVM
won't believe we are passing paths with escaped
characters.
See https://github.com/bazelbuild/bazel/issues/2107
See https://github.com/bazelbuild/bazel/issues/2181
--
PiperOrigin-RevId: 149396971
MOS_MIGRATED_REVID=149396971
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If neither the path attribute or the $ANDROID_HOME/$ANDROID_NDK_HOME environment
variable is set, we should report a helpful error message. A previous change
switched the lookup for the environment variable from the client environment map
to the skyframe environment map. However in the skyframe action environment map,
environment variables that are requested but not set in the environment have
null values.
Followup to change needed for #2621.
--
PiperOrigin-RevId: 149369076
MOS_MIGRATED_REVID=149369076
|
|
|
|
|
|
|
|
|
|
|
|
| |
walkFileTree can be non-determinisitic, so the zip entries
can be listed in a different order:
"A file tree is walked depth first, but you cannot make any
assumptions about the iteration order that subdirectories
are visited."
--
PiperOrigin-RevId: 149345145
MOS_MIGRATED_REVID=149345145
|
|
|
|
|
|
|
|
|
|
|
| |
The android_sdk_repository path parameter is now optional, and for most setups it is easier to omit it and rely on the `ANDROID_HOME` environment variable. Updated this part of the tutorial to clarify this.
Closes #2632.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2632
PiperOrigin-RevId: 149337570
MOS_MIGRATED_REVID=149337570
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 149319159
MOS_MIGRATED_REVID=149319159
|