| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142767245
MOS_MIGRATED_REVID=142767245
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142758502
MOS_MIGRATED_REVID=142758502
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cl introduces another build variable: toolchain_flags and updates all the
affected crosstools (those which started using action_configs, because the
defaults from CppLinkActionConfigs are not applied then). This build variable
is a requirement for follow-up refactoring exposing param_files build variable.
With toolchain_flags and param_files we will have full control over flags
placement on the link command line.
--
PiperOrigin-RevId: 142741060
MOS_MIGRATED_REVID=142741060
|
|
|
|
|
|
|
|
|
|
|
| |
This cl introduces another build variable: library_search_directories, removes
hardcoded -L generation from blaze and updates all the affected crosstools
(those which started using action_configs, because the defaults from
CppLinkActionConfigs are not applied then).
--
PiperOrigin-RevId: 142738674
MOS_MIGRATED_REVID=142738674
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142709934
MOS_MIGRATED_REVID=142709934
|
|
|
|
|
|
|
|
|
| |
This caused problems with Emma, but we have since migrated to JaCoCo
which has better support for local variable tables.
--
PiperOrigin-RevId: 142705846
MOS_MIGRATED_REVID=142705846
|
|
|
|
|
|
|
|
| |
objc_*/apple_*/ios_* targets and their dependencies.
--
PiperOrigin-RevId: 142702735
MOS_MIGRATED_REVID=142702735
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142692398
MOS_MIGRATED_REVID=142692398
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
PiperOrigin-RevId: 142691907
MOS_MIGRATED_REVID=142691907
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142686266
MOS_MIGRATED_REVID=142686266
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
skylark.
This does mean that the type name 'ProtoSourcesProvider' is a little inaccurate, since descriptorSet() is an output. Alternatively we could expose the DescriptorSetProvider to skylark.
RELNOTES: expose proto_library descriptor set to skylark via <dep>.proto.descriptor_set
--
PiperOrigin-RevId: 142680666
MOS_MIGRATED_REVID=142680666
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142676227
MOS_MIGRATED_REVID=142676227
|
|
|
|
|
|
|
|
| |
objc_*/apple_*/ios_* targets and their dependencies.
--
PiperOrigin-RevId: 142673622
MOS_MIGRATED_REVID=142673622
|
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/2039.
--
PiperOrigin-RevId: 142672678
MOS_MIGRATED_REVID=142672678
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142670226
MOS_MIGRATED_REVID=142670226
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is part of the mu-bazel effort, which aims to build a minimally
useful Bazel binary with most extraneous functionality removed. As part of
that, we want to enforce layering of packages. In particular, lib.actions must
not depend on lib.rules or lib.exec. lib.rules must not depend on lib.exec.
Moving these classes is a necessary step to enforce that layering.
--
PiperOrigin-RevId: 142668172
MOS_MIGRATED_REVID=142668172
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142666176
MOS_MIGRATED_REVID=142666176
|
|
|
|
|
|
|
|
| |
This makes the skylark repository rules a little more flexible.
--
PiperOrigin-RevId: 142663731
MOS_MIGRATED_REVID=142663731
|
|
|
|
|
|
|
|
| |
Fixes #1768
--
PiperOrigin-RevId: 142654511
MOS_MIGRATED_REVID=142654511
|
|
|
|
|
|
|
|
| |
on how the "launcher" attribute affects builds.
--
PiperOrigin-RevId: 142619261
MOS_MIGRATED_REVID=142619261
|
|
|
|
|
|
|
|
|
| |
This used to be how test_suites depended on other test_suites.
Now they just go in "tests".
--
PiperOrigin-RevId: 142607603
MOS_MIGRATED_REVID=142607603
|
|
|
|
|
|
|
|
|
| |
This is required for a configuration transtion to set cpu. Without a
distinguisher, such a transition will lead to two identical configurations.
--
PiperOrigin-RevId: 142603930
MOS_MIGRATED_REVID=142603930
|
|
|
|
|
|
|
|
|
|
| |
the target type
This allows us to correctly analyze the type of alias targets
--
PiperOrigin-RevId: 142582188
MOS_MIGRATED_REVID=142582188
|
|
|
|
|
|
|
|
| |
Part of rolling forward commit b9f914fa56a00530d38b597dc853aad50d1decfb.
--
PiperOrigin-RevId: 142576787
MOS_MIGRATED_REVID=142576787
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Investigating if causes deadlock/thread starvation.
--
PiperOrigin-RevId: 142575769
MOS_MIGRATED_REVID=142575769
|
|
|
|
|
|
|
|
|
| |
Closes #2139.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2139
PiperOrigin-RevId: 142570236
MOS_MIGRATED_REVID=142570236
|
|
|
|
|
|
|
|
|
|
|
|
| |
symlinked/new build file, which has less changes of causing conflicts. Fixes #2226.""
This reverts commit fa3f55a8785c28253b2f836ddc84e994e48edd7f.
--
Change-Id: Ife393ebf4966cfaf2a487c80c67a781ca7ee69b0
Reviewed-on: https://cr.bazel.build/8051
PiperOrigin-RevId: 142555911
MOS_MIGRATED_REVID=142555911
|
|
|
|
|
|
|
|
|
|
| |
Fixes #2189.
The other idea of making the path that ibtoold wants to write to read-write in the sandbox strategy didn't seem to help (but I don't know why) - it randomly works or doesn't work, with or without that change.
--
PiperOrigin-RevId: 142553982
MOS_MIGRATED_REVID=142553982
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: New flag --sandbox_add_mount_pair to specify customized source:target path pairs to bind mount inside the sandbox.
--
Change-Id: Ifbacfc0e16bbaedcf5b6d3937799710f2cfa3d58
Reviewed-on: https://cr.bazel.build/7150
PiperOrigin-RevId: 142542381
MOS_MIGRATED_REVID=142542381
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also build the JNI library while bootstraping.
This was once submitted in commit 4a249b6962d32ed4cfd4165dfdae4a555b00bb69 but got
rolled back due to some test breakage that's long
since fixed. In this change I'm slightly modifying
the original code in compile.sh.
Using JNI methods however is necessary because we
can't implement WindowsFileOperations.GetLongPath
in native Java, and having that code is a
prerequisite for the fix of https://github.com/bazelbuild/bazel/issues/2145
See also https://github.com/bazelbuild/bazel/issues/2238
--
PiperOrigin-RevId: 142535019
MOS_MIGRATED_REVID=142535019
|
|
|
|
|
|
|
|
|
|
| |
testing. Also
fixes bazel_test_test. Fixes #2228.
--
PiperOrigin-RevId: 142532524
MOS_MIGRATED_REVID=142532524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This method converts MSYS paths to Windows path.
It uses the BAZEL_SH envvar to obtain the MSYS
root directory, to which all Unix paths (except
for mounts) are relative.
We cannot handle mounts because we don't want to
read /etc/mtab every time there's a file operation
so we simply apply a heuristic similar to
https://github.com/bazelbuild/bazel/blob/cd4cc09fa6ef96380a3d0888f825dfd1dbada651/src/main/java/com/google/devtools/build/lib/vfs/WindowsFileSystem.java#L52-L63
Also clean up the #ifdefs surrounding SyncFile.
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 142531986
MOS_MIGRATED_REVID=142531986
|
|
|
|
|
|
|
|
|
|
| |
PathFragment.getParentDirectory() may return null. Fixes #2212.
Also adds coverage-specific attributes to the java_binary rule.
--
PiperOrigin-RevId: 142516883
MOS_MIGRATED_REVID=142516883
|
|
|
|
|
|
|
|
|
|
| |
--experimental_transparent_compression flag
Also add test to ensure lazy strings aren't forced.
--
PiperOrigin-RevId: 142496520
MOS_MIGRATED_REVID=142496520
|
|
|
|
|
|
|
|
| |
This clarifies documentation, renames or rearranges constructors, and defines a BuildConfiguration option that will be made to control transparent compression in a follow-up CL. The follow-up updates call sites to use the new create() factory method.
--
PiperOrigin-RevId: 142491333
MOS_MIGRATED_REVID=142491333
|
|
|
|
|
|
|
|
|
|
|
|
| |
If none is specified, the highest version installed in <sdk>/build-tools/ will
be used.
RELNOTES: android_sdk_repository build_tools_version is now optional. The
highest installed build-tools will be used if none is specified.
--
PiperOrigin-RevId: 142490569
MOS_MIGRATED_REVID=142490569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks CI
"Parameter 'url' has no default value", see http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1104/console.
*** Original change description ***
Make Bazel build dot
This change has several parts, it:
* Adds a "make" repository rule, which runs ./configure && make on a
repository.
* Modifies the tar.gz decompressor to restore timestamps. This was
an issue with dot, as make examines the timestamp to determine if
files need to be rebuilt. Because Bazel was not preserving the
archive's timestamp, it was rebuilding things that it did not need to
(and, I think, exposed some bugs in dot's Makefile).
* Actually add dot as an externa...
***
--
PiperOrigin-RevId: 142469299
MOS_MIGRATED_REVID=142469299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change has several parts, it:
* Adds a "make" repository rule, which runs ./configure && make on a
repository.
* Modifies the tar.gz decompressor to restore timestamps. This was
an issue with dot, as make examines the timestamp to determine if
files need to be rebuilt. Because Bazel was not preserving the
archive's timestamp, it was rebuilding things that it did not need to
(and, I think, exposed some bugs in dot's Makefile).
* Actually add dot as an external repository. I made the dot-graph
target manual, so it won't be downloaded/built by the default //...
target.
* Remove dot scrubbing from the Bazel export process.
* Added some names to download_and_extract params, because it's really
annoying to only be able to reference them positionally.
--
PiperOrigin-RevId: 142452055
MOS_MIGRATED_REVID=142452055
|
|
|
|
|
|
|
|
|
|
| |
linking.
This can lead to conflicts if done for non-test binary targets.
--
PiperOrigin-RevId: 142441056
MOS_MIGRATED_REVID=142441056
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142438943
MOS_MIGRATED_REVID=142438943
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which have converters that return lists. The problem was that the policy might,
say, disallow values ["a", "b"], and a flag --foo might have a converter which
takes a string and splits it by commas to produce a list. The options parser
would apply the converter to --foo=a,b to produce ["a", "b"], but invocation
policy would compare each element of the policy to the list itself, which will
never work.
--
PiperOrigin-RevId: 142297177
MOS_MIGRATED_REVID=142297177
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142295816
MOS_MIGRATED_REVID=142295816
|
|
|
|
|
|
|
|
|
|
|
| |
Blaze and Bazel each use -isystem rather than -I when specifying "includes" for cc_* rules. This distinction matters, e.g. for which warnings are enabled. Update documentation to reflect the current state of the world.
RELNOTES:
Update "-I" to "-isystem" in documentation to reflect current behavior.
--
PiperOrigin-RevId: 142290840
MOS_MIGRATED_REVID=142290840
|
|
|
|
|
|
|
|
| |
Fixes #2231.
--
PiperOrigin-RevId: 142266332
MOS_MIGRATED_REVID=142266332
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If an Aspect registered an action that an extra-action is
shadowing, its name is used when creating the extra-action's ID and
name.
Since recently, an aspect can see other aspects applied to the same
target. This CL record the names of other aspects applied to the target
as well, disambiguating the action owners.
--
PiperOrigin-RevId: 142264153
MOS_MIGRATED_REVID=142264153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rolling forward, cl fixing underlying issue is uploaded, will land this one as soon as I get lgtm to the fix from emscripten crosstool owners.
*** Original change description ***
Automated [] rollback of commit 2d87bf1937c81ef84358fd5f6a372875f6c6fabf.
*** Reason for rollback ***
We have to roll back unknown commit, on which this one depends. Will resubmit after I fix the underlying issue.
*** Original change description ***
Support versioned shared library targets for cc_binary linkshared=1
This change allows versioned shared libraries (e.g. "libfoo.so.1.2") to be
built and linked.
--
PiperOrigin-RevId: 142263653
MOS_MIGRATED_REVID=142263653
|
|
|
|
|
|
|
|
|
|
| |
This allows Bazel to talk to multiple instances of the server, if these exist, enabling server-side parallelism (due to using separate gRPC channels).
TESTED: internally and local server
--
PiperOrigin-RevId: 142262973
MOS_MIGRATED_REVID=142262973
|
|
|
|
|
|
|
|
|
|
|
| |
A number of the shorter commands were not displayed in a code block, making them trickier to copy and paste into a console.
Closes #2257.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2257
PiperOrigin-RevId: 142262893
MOS_MIGRATED_REVID=142262893
|
|
|
|
|
|
|
|
| |
This might be used to influence resource allocation for actions later.
--
PiperOrigin-RevId: 142262023
MOS_MIGRATED_REVID=142262023
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symlinked/new build file, which has less changes of causing conflicts. Fixes #2226."
This reverts commit 2f31d60d1454cd324196a5159262c1ba32eabda8.
Re-open #2226.
--
Change-Id: I7f223df4bb239daf8c306955e92f817310e6cd4f
Reviewed-on: https://cr.bazel.build/7950
PiperOrigin-RevId: 142257579
MOS_MIGRATED_REVID=142257579
|