| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
HostTransition.
RELNOTES: None.
PiperOrigin-RevId: 170549656
|
| |
|
|
|
|
|
|
|
| |
linking. Also include assets in the aapt2 packaging action.
RELNOTES: none
PiperOrigin-RevId: 170532322
|
|
|
|
|
|
| |
Previously we'd do this on demand. This simplifies a bit.
PiperOrigin-RevId: 170526646
|
|
|
|
|
|
|
| |
resource library APK's.
RELNOTES: none
PiperOrigin-RevId: 170517806
|
|
|
|
|
|
| |
symlink directly to the target artifact. Also offer the option to not provide the package roots to create the execroot: we would like to avoid the execroot if possible.
PiperOrigin-RevId: 170515263
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately the various ed(1)s are different in subtle ways. The difference
that hit us here is the different treatment of the implicit 'e' command when ed
is started with a file as argument; GNU ed writes the answer of that command
(i.e., the number of bytes read) on stderr, whereas ed on FreeBSD writes it on
stdout. So, let's merge the two output channels and throw away the first answer
explicitly.
Fixes #3842.
Change-Id: I4ef394957cdc316f896b54ca218d4f118465caff
PiperOrigin-RevId: 170506490
|
|
|
|
| |
PiperOrigin-RevId: 170503143
|
|
|
|
| |
PiperOrigin-RevId: 170500919
|
|
|
|
| |
PiperOrigin-RevId: 170494940
|
|
|
|
|
|
|
|
| |
This reduces the # of round-trips, improving overall latency, although I didn't profile by how much.
TESTED=with remote execution
RELNOTES: None
PiperOrigin-RevId: 170484009
|
|
|
|
|
|
| |
Temporary workaround for #3795.
PiperOrigin-RevId: 170473363
|
|
|
|
|
|
| |
Progress on #2475.
PiperOrigin-RevId: 170473111
|
|
|
|
|
|
|
|
|
|
| |
The flakiness was caused by waiting for the server to receive the second
life-cycle event, but not waiting for the ack to get to the client. In that
case, the interruption would happen before the life-cycle call returned, in
which case it threw the InterruptedException, and then the stream doesn't
exist yet, and so there's no mechanism to send anything to the server.
PiperOrigin-RevId: 170472383
|
|
|
|
|
|
|
|
|
| |
Currently CppLinkActionBuilder is not using CppSemantics, but it will when
we use full CppCompileAction for linkstamp compiles. This cl is a preparation
for that.
RELNOTES: None.
PiperOrigin-RevId: 170467826
|
|
|
|
|
|
|
|
|
| |
When reporting the completion of a target specified by an alias,
report the label of the alias, not that of the target being aliased
to.
Change-Id: If8416ceef73b01b7531ffa0012251f25a4e9f062
PiperOrigin-RevId: 170466076
|
|
|
|
|
|
|
| |
The same binary is *outside* of the zip so there is no point in repeating it.
RELNOTES: None.
PiperOrigin-RevId: 170461181
|
|
|
|
|
|
|
|
|
| |
interface_library_output_path flag set
We shouldn't apply this flag set to c++-link-executable action, it will only add a /IMPLIB:ignore option.
RELNOTES: None.
PiperOrigin-RevId: 170459781
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/3618
Change-Id: I1533088d4d51dc0510de5cd5b392edec95458057
PiperOrigin-RevId: 170458069
|
|
|
|
|
|
|
|
| |
https://cloud.google.com/pubsub/docs/reference/error-codes
TESTED=not really
RELNOTES: None
PiperOrigin-RevId: 170455553
|
|
|
|
|
|
|
|
|
| |
This is so other packages can depend on them without violating our style guide. (Dependencies on test/ packages should be limited to aggregating test suites.)
The target is also renamed from ".../serialization:serialization-test-base" to a new subpackage, ".../serialization/testutils:testutils".
RELNOTES: None
PiperOrigin-RevId: 170426906
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 170418147
|
|
|
|
|
|
| |
(without affecting other uses of singlejar)
PiperOrigin-RevId: 170411730
|
|
|
|
|
|
|
|
| |
We now require the docker:// prefix for Docker container images.
TESTED=compiled hello world
RELNOTES: None
PiperOrigin-RevId: 170400293
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 170381009
|
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 170379445
|
|
|
|
|
|
|
|
|
| |
- [x] Remove the brew update entry when installed with binary.
- [x] Add notion of the `.profile` file instead of `.bashrc` (though neither necessarily exists)
Closes #3775.
PiperOrigin-RevId: 170376534
|
|
|
|
|
|
|
| |
apple_static_library.
RELNOTES: apple_binary and apple_static_library no longer support compilation attributes such as 'srcs'. If this breaks any existing targets, you may migrate all such attributes to a new objc_library target and depend on that objc_library target via the 'deps' attribute of apple_binary or apple_static_library.
PiperOrigin-RevId: 170373794
|
|
|
|
|
|
|
| |
The old field is the error on Operation proto. The new field is the ExecuteResponse status field.
Note that the new field will also allow us to fetch logs for timing out tests, resolving a TODO, but this is not yet done is this change.
PiperOrigin-RevId: 170370676
|
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 170367344
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 170360470
|
|
|
|
|
|
|
|
|
| |
BazelJUnitRunner swallows argv, so we cannot pass args to the android test runner as flags.
Also, trim the trailing newline off of the name of the test suite class.
RELNOTES: None
PiperOrigin-RevId: 170354472
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`depset` constructor has new arguments, `direct` and `transitive`.
`items` argument is deprecated and after its removal `direct` will
become a sole positional argument.
If `transitive` and `items` are specified, `items` must be a list of
direct elements.
In the absence of `transitive` the value of `items` can also be a
depset, but that behavior is deprecated.
RELNOTES: New depset API
PiperOrigin-RevId: 170346194
|
|
|
|
|
|
|
| |
Make sure we do not keep reference to SkylarkRuleContext in Args object.
RELNOTES: None.
PiperOrigin-RevId: 170346094
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 170343759
|
|
|
|
|
|
| |
LIPO. Remove the check that requires a context collector to be present.
PiperOrigin-RevId: 170341259
|
|
|
|
|
|
|
|
| |
So far, only checks for usages of '+' on dictionary literals and
comprehensions.
RELNOTES: none
PiperOrigin-RevId: 170336917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
Cherry picks:
+ a615d288b008c36c659fdc17965207bb62d95d8d:
Rollback context.actions.args() functionality.
+ 7b091c1397a82258e26ab5336df6c8dae1d97384:
Add a global failure when a test is interrupted/cancelled.
+ 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
Cleanups for Skylark tracebacks
+ cc9c2f07127a832a88f27f5d72e5508000b53429:
Remove the status xml attribute from AntXmlResultWriter
Incompatible changes:
- Noop flag --deprecated_generate_xcode_project deleted.
- Objects in Skylark are converted to strings in a more descriptive
and less harmful way (they don't leak information that shouldn't
be accessed by Skylark code, e.g. nondeterministic memory addresses
of objects).
- `set` is deprecated in BUILD and .bzl files, please use `depset`
instead. Ordering names have also been changed, please use
"default", "postorder", "preorder", and "topological" instead of
"stable", "compile", "naive_link", and "link" correspondingly.
- Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
an error.
- Keyword-only syntax in a function definition is now forbidden
e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
- --incompatible_comprehension_variables_do_not_leak defaults to
"true."
Iteration variable becomes inaccessible after a list/dict
comprehension.
New features:
- There is now a 'siblings' query function. See the query
documentation for more details.
- Added the print_action command, which outputs the
actions needed to build a given target in the form of an
ExtraActionSummary proto in text format.
- android_binary now supports proguard_apply_dictionary to specify
a custom dictionary to use for choosing names to obfuscate
classes and members to.
Important changes:
- 'strip' action is now configured via feature configuration
- Flags from action_config get added first to the command line
first,
before the flags from features.
- `bazel info output_path` no longer relies on the root directory
filename being equal to the workspace name.
- The `print` function now prints debug messages instead of
warnings.
- speedup of incremental dexing tools
- --announce_rc now controls whether bazelrc startup options are
printed to stderr.
- Removing a few unused objc_provider keys.
- Improved logging when workers have to be restarted due to its
files having changed.
- Top-level `if` statements are now forbidden.
- Java protos are compiled to Java 7 bytecode.
- All Android builds now use the desugar tool to support some Java
8 features by default. To disable, use the
--nodesugar_for_android flag.
- Skylark-related options may now appear as "common" command
options in the .bazelrc
- Python is now required to build bazel.
- When the lvalue of an augmented assignment is a list, we now
throw an error
before evaluating the code (e.g. `a, b += 2, 3`).
- New --build_runfile_manifests flag controls production of
runfiles manifests.
- Enable debug info for Java builds
- Allow java_lite_proto_library in the deps of android rules.
- .so files in APKs will be memory-page aligned when
android_binary.nocompress_extensions contains ".so" and
--experimental_android_use_nocompress_extensions_on_apk is
specified.
- Skylark providers can specify allowed fields and their
documentation.
- Support ctx.actions.args() for more efficient Skylark command
line construction.
- The remote HTTP/1.1 caching client (--remote_rest_cache) now
distinquishes between action cache and CAS. The request URL for
the action cache is prefixed with 'ac' and the URL for the CAS
is prefixed with 'cas'.
- `JavaInfo` is a preferred alias to `java_common.provider`.
- J2ObjC version updated to 2.0.3.
- A new Java coverage implementation is available. Makes possible
coverage for Skylark JVM rules.
- Make proguard_apply_dictionary also apply to class and package
obfuscation, not just class members.
- When using the dictionary literal syntax, it is now an error to
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
- android_binary.nocompress_extensions now applies to all files in
the APK, not just resources and assets.
- The apple_genrule rule that is distributed with Bazel has been
deleted. Users who wish to use genrules with Xcode's
DEVELOPER_DIR set should use the rules in
https://github.com/bazelbuild/rules_apple instead.
- The swift_library rule that is distributed with Bazel has been
deleted. Users who wish to compile Swift should use the rules in
https://github.com/bazelbuild/rules_apple instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now Bazel can also export symbols when building dynamic library from
cc_binary.
The interface library generated can be accessed by interface_library output group.
The DEF file can still be accessed by def_file output group even when
windows_export_all_symbols feature is not specified. This is useful when
users want to filter symbols in DEF file before using it, for example,
working around the 64K symbols number limit.
Change-Id: I5b4dae0840e20037c00d500181c40b5faedfdcd8
PiperOrigin-RevId: 170330409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks coverage for android_test (N/A).
Can be reproduced with unknown commit.
*** Original change description ***
Rollforward change of Java coverage logic.
RELNOTES: None.
*** Original change description ***
Automated rollback of commit 8d6fc64b18c7e35b93f5c43dae1dbd2f8cae2147.
PiperOrigin-RevId: 170322801
|
|
|
|
|
|
|
| |
Some of the setters didn't return the builder, this cl fixes that.
RELNOTES: None.
PiperOrigin-RevId: 170313892
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't ideal - RuleContext should not have state, but this ended up
happening between adding a cache and refactoring how make variables are
discovered.
I have carefully traced back all callers that provide custom make variable
suppliers and added an init call to their rule initialization. Note that the
ConfigurationMakeVariableContext is _cached_, so callers that call in without
any make variable suppliers and then call again with them would get the context
from the previous call.
We now enforce that the ConfigurationMakeVariableContext is only initialized
once, and that this happens before any usage, which is slightly better than the
previous state, where initialization was silently ignored on any subsequent
call.
Progress on #2475.
PiperOrigin-RevId: 170312285
|
|
|
|
|
|
|
| |
default in AndroidConfiguration.
RELNOTES: android_library targets are no longer allowed to use deps to export targets implicitly; please use android_library.exports instead.
PiperOrigin-RevId: 170243241
|
|
|
|
| |
PiperOrigin-RevId: 170240695
|
|
|
|
|
|
|
| |
Fixes #3827.
Change-Id: Ie51650a3df6f40d2aa2c3ec016c00c98ce18c3de
PiperOrigin-RevId: 170237678
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm not attempting to fix b/65618333 here, just handling one case
currently breaking users (JavaInfo created via java_common.compile).
My temporary workaround attempt to expose this information in the
soy custom rule failed (unknown commit) -- to fix users we really
need java_common changes.
RELNOTES: Expose output jars and jdeps in java_common.provider, when available.
PiperOrigin-RevId: 170236096
|
|
|
|
|
|
| |
#detectModifiedOutputFiles and move implementation to SequencedSkyframeExecutor.
PiperOrigin-RevId: 170230031
|
|
|
|
|
|
|
| |
resolution is used, use these attribute values to choose a CToolchain from
--crosstool_top instead of --compiler and --glibc.
PiperOrigin-RevId: 170217186
|
|
|
|
|
|
|
| |
Instead of this escape hatch, we'll encourage outside code to construct and use a legitimate Mutability object.
RELNOTES: None
PiperOrigin-RevId: 170210739
|
|
|
|
|
|
|
|
| |
https://github.com/search?q=experimental_repository_cache&type=Issues&utf8=%E2%9C%93)
Closes #3745.
PiperOrigin-RevId: 170206914
|