| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
legacy_native_support makes it so that Bazel copies .so's instead of linking.
This allows Bazel to include third-party native code without running an NDK.
Turning it off allows Bazel to actually compile native code, but at the cost
of this copy case no longer working without an NDK, and creating an unnecessary
shared library which will most likely never be used.
This CL makes it so that if no actual source code or static libraries are
in the transitive closure, the linker is not run at the android_binary level.
This means that legacy_native_support as a separate concept can be removed,
and it is - the attribute remains, but is a no-op. This will be removed in
a future change. The matching flag (--legacy_android_native_support) has
already been removed.
RELNOTES: The link mode for Android native code is now automatically determined
based on the transitive closure of cc_libraries, and legacy_native_support is
now a no-op. --legacy_android_native_support has been removed.
--
MOS_MIGRATED_REVID=126244755
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126215213
|
|
|
|
|
|
|
| |
experimental_objc_library.
--
MOS_MIGRATED_REVID=126204758
|
|
|
|
|
|
|
| |
this and commit 116c2f6724718fc408e0c73c9026d89281c75e87 using Guava's Ascii#truncate.
--
MOS_MIGRATED_REVID=126198762
|
|
|
|
|
|
|
| |
looking at the declared include srcs of all transitive deps was sufficient as these contained all headers possibly relevant even with LIPO optimizations. With interface deps, we cut off dependencies (and thus headers) that aren't directly includable. To still make those available to LIPO, we need to also supply the declared include sources coming from lipo scannables.
--
MOS_MIGRATED_REVID=126183112
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes the event reporting the completion of the last action
can, effectively, overtake the event reporting the completion of
last action. To avoid late writing to the output stream don't start
the update thread after the completion of the build is reported.
There is nothing to update then any more anyway.
--
Change-Id: Ibbb6d025635a9daa233c2b28ca64a1ae4896ce47
Reviewed-on: https://bazel-review.googlesource.com/#/c/3922
MOS_MIGRATED_REVID=126182576
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126177747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, if a build completes with tests failing, the final status
message is "INFO: Build completed successfully, xxx actions". While
technically correct, it might mislead the user to believing all tests
have passed (especially when only looking at the status in the terminal
title). Therefore, if a build completes with failing tests, mention the
number of failed tests in the final status message.
--
Change-Id: I9234fbfdf2ad43dd29af660966dde73bf0c9311a
Reviewed-on: https://bazel-review.googlesource.com/#/c/3918
MOS_MIGRATED_REVID=126176452
|
|
|
|
|
|
|
|
|
| |
Previously we used labels in each configuration fragment that then got added to every test action. Instead, we now have a filegroup under //tools/test for coverage files that truly need to be on the inputs of every test action and collect language-specific support files in InstrumentedFilesProvider.
This makes configuration creation simpler and makes it possible to turn --crosstool_top into something else other than a filegroup (previously, it was that filegroup that got added to every test action)
--
MOS_MIGRATED_REVID=126170241
|
|
|
|
|
|
|
|
|
|
|
| |
In the experimental UI, also support the --show_timestamps option
which asks that for each event a timestamp be added to the the
output. Fixes #1436.
--
Change-Id: I8f9db958525edfbca12ed2c1f1396f25f865b897
Reviewed-on: https://bazel-review.googlesource.com/#/c/3916
MOS_MIGRATED_REVID=126165328
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126161513
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This attribute marks annotation processors that generate API code.
If a rule uses an API-generating annotation processor, other rules depending on
it can refer to the generated code only if their compilation actions are
scheduled after the generating rule.
In the future, annotation processors will only be considered by header
compilation if they set generates_api=1.
--
MOS_MIGRATED_REVID=126152384
|
|
|
|
|
|
|
| |
InvalidatedNodeEntry.
--
MOS_MIGRATED_REVID=126139179
|
|
|
|
|
|
|
|
|
| |
error-free built-in rules, and to non-rules. This should save memory, as well as CPU for built-in rules, since we don't have to make sets out of their providers more than once.
Also fix a bug in the equality check where we weren't comparing the canHaveAnyProvider field properly.
--
MOS_MIGRATED_REVID=126121351
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126120891
|
|
|
|
|
|
|
|
|
| |
versions, even if no --xcode_version is specified.
it also avoids throwing an exception if an xcode_version is aliased to its proper name, to be a bit more lenient.
--
MOS_MIGRATED_REVID=126120071
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126104957
|
|
|
|
|
|
|
| |
they actually return a Path and not a File.
--
MOS_MIGRATED_REVID=126102820
|
|
|
|
|
|
|
| |
repository_ctx.execute, so that it allows overriding current environment variables
--
MOS_MIGRATED_REVID=126089693
|
|
|
|
|
|
|
| |
--
Change-Id: I88c67ba382288f0a908aba97571564434eaae2d0
Reviewed-on: https://bazel-review.googlesource.com/#/c/3917
MOS_MIGRATED_REVID=126085117
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126081020
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126079533
|
|
|
|
|
|
|
| |
don't perform internal sanity checks.
--
MOS_MIGRATED_REVID=126073693
|
|
|
|
|
|
|
|
|
| |
This is the first actual use of Windows JNI!
Also a cleanup of ProcessUtils. Injecting a mock implementation was never used.
--
MOS_MIGRATED_REVID=126068832
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126068553
|
|
|
|
|
|
|
|
|
|
|
|
| |
When writing the experimental state tracker is asked to produce a progress
bar, it can be requested to have a one-line version. This one is used, e.g.,
if curses are not available and therefore it cannot be erased. Also honor
that request, if reporting about loading progress.
--
Change-Id: Ice3045fc86280e420b789a94b03427ff578f4a11
Reviewed-on: https://bazel-review.googlesource.com/#/c/3912
MOS_MIGRATED_REVID=126057511
|
|
|
|
|
|
|
| |
lastEvaluated/lastChanged version fields, we lost memory alignment, so this boolean was costing us 8 bytes per instance.
--
MOS_MIGRATED_REVID=125998857
|
|
|
|
|
|
|
|
| |
Shutdown the SkyQueryEnvironment's threadpool after query evaluation
is complete and the environment is ready for disposal.
--
MOS_MIGRATED_REVID=125975317
|
|
|
|
|
|
|
|
| |
Error Prone plugins have new documentation at:
http://errorprone.info/docs/plugins
--
MOS_MIGRATED_REVID=125973715
|
|
|
|
|
|
|
| |
commit 7c991c333999f3027d31da6af700f575924066cd.
--
MOS_MIGRATED_REVID=125969403
|
|
|
|
|
|
|
|
|
|
|
| |
- change options to print --foo=value
- allow option to specify what "value" should be
- update the documentation for the startup options
- add some indentation to the descriptions
- add some spacing between flag texts
--
MOS_MIGRATED_REVID=125960618
|
|
|
|
|
|
|
| |
with maximum limit
--
MOS_MIGRATED_REVID=125959807
|
|
|
|
|
|
|
| |
--
Change-Id: Ia5def69207f6f69809ff09cda67910844749e63e
Reviewed-on: https://bazel-review.googlesource.com/#/c/3907
MOS_MIGRATED_REVID=125957512
|
|
|
|
|
|
|
| |
--
Change-Id: I1b8acc9dbd73ede3952a51f3f67b32e1b7e536a2
Reviewed-on: https://bazel-review.googlesource.com/#/c/3900
MOS_MIGRATED_REVID=125957281
|
|
|
|
|
|
|
|
|
| |
Tested by hacking in a call to a JNI method into BatchMain.java .
--
Change-Id: I77b0731fa6b81f8cbc80cf2a31d427764fad6ad1
Reviewed-on: https://bazel-review.googlesource.com/#/c/3908/
MOS_MIGRATED_REVID=125955521
|
|
|
|
|
|
|
|
|
|
| |
Make the experimental UI honor the --progress_in_terminal_title options which
requests that the terminal title be set to a description of the current progress.
--
Change-Id: I8ebded9ebb7e9f821344165fca6b5f6b9b254c68
Reviewed-on: https://bazel-review.googlesource.com/#/c/3904
MOS_MIGRATED_REVID=125953773
|
|
|
|
|
|
|
|
|
| |
...so that it can be used by the main code base.
--
Change-Id: Ibf59d74ab1b0cca9bd9406bb76ee6e71189653bf
Reviewed-on: https://bazel-review.googlesource.com/#/c/3903
MOS_MIGRATED_REVID=125950656
|
|
|
|
|
|
|
|
|
|
| |
...to save a bit of horizontal space in the scroll-back buffer.
The color-coding already gives enough navigation hints.
--
Change-Id: Id0e5decc6bd495a99ec839c096700406d8d1bab9
Reviewed-on: https://bazel-review.googlesource.com/#/c/3902
MOS_MIGRATED_REVID=125943242
|
|
|
|
|
|
|
|
|
|
|
|
| |
The experimental UI shows the oldest still running actions as well
as the total number of running actions. However, just presenting
them as "X actions" is confusing for some users; so be more explicit
and mention them as "X actions running".
--
Change-Id: I26b8450690dc8b233271596d3c85e9c0924f7333
Reviewed-on: https://bazel-review.googlesource.com/#/c/3901
MOS_MIGRATED_REVID=125941605
|
|
|
|
|
|
|
| |
Thread#interrupt() .
--
MOS_MIGRATED_REVID=125933542
|
|
|
|
|
|
|
| |
not supported on the Simulator out of the box yet.
--
MOS_MIGRATED_REVID=125814847
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125804148
|
|
|
|
|
|
|
|
| |
- reduce use of #substring(), which must copy the sub-region of the string
- specialize hashCode() implementation so that we don't need to push objects into an array.
--
MOS_MIGRATED_REVID=125798978
|
|
|
|
| |
MOS_MIGRATED_REVID=125790153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supported environments get refined away by incompatible
select paths.
This is a fix of TODO:
https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/analysis/constraints/ConstraintSemantics.java#L597
Old message:
ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: all environments have been refined out of the following groups: //buildenv:environment_group
New message:
ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: the current command-line flags disqualify all supported environments because of incompatible select() paths:
environment: //buildenv:gce removed by: //util/lib:some_dep_with_select (/workspace/util/lib/BUILD:12:1)
--
MOS_MIGRATED_REVID=125788804
|
|
|
|
|
|
|
|
|
| |
At the end of the build (or when realizing that there will be no build phase),
the experimental UI drops into full streaming mode. When doing so, do not forget
to flush all buffered incomplete lines for stdout and stderr.
--
MOS_MIGRATED_REVID=125770854
|
|
|
|
|
|
|
| |
Bazel is using the right value.
--
MOS_MIGRATED_REVID=125764994
|
|
|
|
|
|
|
|
|
| |
According to https://bugs.openjdk.java.net/browse/JDK-4311711 , the behavior is undefined and it reproducibly results in hangs on Windows.
This makes Ctrl-C on be able to interrupt Bazel during the execution phase, too. There are no guarantees about actually killing the child processes, though: Process.destroy() apparently leaves some child processes running. Unfortunately, Java doesn't offer a solution to this, so we'll have to resort to native code in some way.
--
MOS_MIGRATED_REVID=125758911
|
|
|
|
|
|
|
|
|
| |
be passed to CcLibraryHelper for an individual source rather
than the entire build.
--
MOS_MIGRATED_REVID=125738742
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125721556
|