| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138387292
|
|
|
|
|
|
|
|
| |
away -- Bazel should still work with remote execution servers that don't have
that optimization.
--
MOS_MIGRATED_REVID=138384785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously they returned nanoseconds but all call
sites converted those to milliseconds.
This is not only a simplification of the semantics
and renaming of the methods to make the returned
units and the purpose clear, but also preparation
for the Windows/MSVC implementations of these
methods.
--
MOS_MIGRATED_REVID=138383956
|
|
|
|
|
|
|
|
|
|
| |
This fixes #2032.
Closes #2046.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2046
MOS_MIGRATED_REVID=138377177
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For SpawnActions, depending on the value of use_default_shell_env,
the specified environment is taken. The shell environment, however,
consists of two parts: a static mapping of variables to values, and
a set of variables where the value is to be taken from the client
environment. Make sure, both parts are set correctly. Fixes #2035.
--
Change-Id: I32253e9bf651b18ca25107edc5fc839813905726
Reviewed-on: https://bazel-review.googlesource.com/#/c/7211
MOS_MIGRATED_REVID=138376914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks tests on latest, as proto_lang_toolchain didn't make it into the 0.4.0 release
see http://ci.bazel.io/job/bazel-tests/306/BAZEL_VERSION=latest,PLATFORM_NAME=linux-x86_64/console
*** Original change description ***
Use proto_lang_toolchain() in java_proto_library.
--
MOS_MIGRATED_REVID=138372522
|
|
|
|
|
|
|
|
|
|
|
| |
context should generate a module map and module.
This whole code is a bit convoluted and the increasing number of boolean
parameters to initializeCppCompilationContext is smelly. I plan to clean this
up in a follow-up CL.
--
MOS_MIGRATED_REVID=138286169
|
|
|
|
|
|
|
| |
* This change removes forced -parse-as-library mode in favor of the driver figuring out how to parse each source. This means that main.swift will be parsed as a script and can contain top-level expressions.
--
MOS_MIGRATED_REVID=138285669
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138231767
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138223170
|
|
|
|
|
|
|
| |
Clear certain environment variables on xcrun invocation to generate xcode-locator-bin, and provide additional error output if the invocation should fail.
--
MOS_MIGRATED_REVID=138221908
|
|
|
|
|
|
|
|
|
| |
documentation.
Fixes #1877.
--
MOS_MIGRATED_REVID=138199724
|
|
|
|
|
|
|
|
|
| |
This was an oversight on my part in the original implementation. As one
example, the Firebase AAR libraries contain AndroidManifest.xml's
with ${applicationId} and Google Play Services contain <meta-data> tags.
--
MOS_MIGRATED_REVID=138198047
|
|
|
|
|
|
|
| |
Add doc for the "read only" error message.
--
MOS_MIGRATED_REVID=138194709
|
|
|
|
|
|
|
| |
RELNOTES: Do not propagate aspect to its own attributes when using '*'.
--
MOS_MIGRATED_REVID=138194456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change updates WindowsFileSystem so it:
- retrieves the DosFileAttributes instead of the
BasicFileAttributes, because the latter does not
report junctions as directories
- uses just isJunction to decide if a file is a
symlink, doesn't look at whether it's a
directory (again because java.nio.File also
incorrectly reports junctions as
non-directories)
Fixes https://github.com/bazelbuild/bazel/issues/1850
--
MOS_MIGRATED_REVID=138187220
|
|
|
|
|
|
|
| |
CompilationSupport.
--
MOS_MIGRATED_REVID=138185198
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138184866
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138182982
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/2025
--
MOS_MIGRATED_REVID=138181809
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138180229
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test was asserting that a proto message was
containing another one, by asserting string
containment. However on Windows the one method was
using CRLF line endings while the other was using
LF.
Fixes half of https://github.com/bazelbuild/bazel/issues/2025
--
MOS_MIGRATED_REVID=138175575
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138161512
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138143803
|
|
|
|
|
|
|
| |
that don't implement it.
--
MOS_MIGRATED_REVID=138126904
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138112581
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Firebase Android libraries contain lots of AARs with manifests that include
${applicationId}. As far as I can tell, tools/android/merge_manifests.py only
allows for substitution of ${packageName} and not arbitrary placeholder
substitution. The new aar_import rule exposes the AARs in <sdk>/extras which
include include the Firebase Android libraries.
RELNOTES: Default android_manifest_merger is now "android" which uses the official Android manifest merger. http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger
--
MOS_MIGRATED_REVID=138109902
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138104480
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138104417
|
|
|
|
|
|
|
|
|
|
|
|
| |
blacklist.
This is intead of taking an attribute name and reading it inside of the class.
Motivation: using proto_lang_toolchain() rules means there's no longer an attribute that points at the blacklist.
Instead, we have an attribute that points at the toolchain, which itself points at the blacklist.
--
MOS_MIGRATED_REVID=138096096
|
|
|
|
|
|
|
| |
map, to emphasize that order matters.
--
MOS_MIGRATED_REVID=138090273
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/2034
--
MOS_MIGRATED_REVID=138084207
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
delimited).
Adds --experimental_build_event_binary_file option that enables varint delimited proto loggging to the specified file path
Adds varint delimited BuildEventStreamTransport and BuildEventStreamerModule
Adds BuildEventStreamerModule for configuring and setting up BuildEventStreamer and its associated BuildEventTransports.
Adds BuildEventTransportFactory which creates a Set of transports from command options.
Moves BuildEventStreamer configuration from BlazeCommandDispatcher and BuildEventStreamerModule
--
Change-Id: If71f2b58654879c2509206da47e6d1a846bf397f
Reviewed-on: https://bazel-review.googlesource.com/#/c/7010/
MOS_MIGRATED_REVID=138073726
|
|
|
|
|
|
|
| |
GITHUB: #1752
--
MOS_MIGRATED_REVID=138072464
|
|
|
|
|
|
|
| |
--
Change-Id: I8baac367d42cf9fad770560338942f9f857e5761
Reviewed-on: https://bazel-review.googlesource.com/#/c/7135
MOS_MIGRATED_REVID=138067228
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138054554
|
|
|
|
|
|
|
|
|
|
|
|
| |
This
- makes the `tools/*.ps1` generation more sane
- supports generating a package for RCs
Closes #2005.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2005
MOS_MIGRATED_REVID=138052483
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138039276
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138005602
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138004628
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138003998
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When rewriting stable-status.txt, which happens on each build, avoid updating
the file's ctime and mtime if the new contents match what is already in the
file.
This prevents tickling the TimestampGranularityMonitor for what should be a
no-op update, which in turn could cause null/incremental builds to stall for
up to a second. The problem was magnified on macOS where the default HFS+
file system only has second-level granularity. (This also affects Linux, but
because current Linux file systems have milli/nanosecond-level granularity,
the wait imposed by TimestampGranularityMonitor is minimal and thus not
generally noticeable.)
--
MOS_MIGRATED_REVID=137983794
|
|
|
|
|
|
|
|
|
|
|
| |
instantiation of HttpDownloader and RepositoryCache in BazelRepositoryModule.
There are sufficient similarities between the download flows of HttpDownloader and MavenDownloader such that we can extend HttpDownloader to MavenDownloader, and reuse method headers such as checkCache and download.
GITHUB: #1752
--
MOS_MIGRATED_REVID=137982375
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137981481
|
|
|
|
|
|
|
| |
protos natively.
--
MOS_MIGRATED_REVID=137980688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the runfiles directory for the shell stub
script (bazel-bin/foo/bar_bin and
bazel-bin/foo/bar_bin.runfiles) but use the batch
script as the runfiles provider's executable
(bazel-bin/foo/bar_bin.cmd). This way we the shell
stub script can still find its runfiles (under its
parent directory + its base name + ".runfiles)
while "bazel run" can also work on Windows.
Fixes https://github.com/bazelbuild/bazel/issues/2025
See https://github.com/bazelbuild/bazel/issues/1925
--
MOS_MIGRATED_REVID=137965442
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We wind up doing String -> UTF8 bytes conversion for every message serialized
(this happens in protocol buffer land). Do the conversion once and reuse the
immutable value instead of doing it for every chunk of output written.
Keep this optimization local to RpcOutputStream where we see a lot of
repitition - using ByteStrings in place of Strings can get confusing when it
comes to logging, so only apply this optimization where it could count.
--
MOS_MIGRATED_REVID=137964305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: 088bbc6
Cherry picks:
+ b01160c: Stamp Windows release.
+ 2d6736e: Add --no-tty for gpg signing
+ 9b1dfb8: Remove .sig file before gpg signing
+ 81aede1: Reimplement whole archive on Windows
Incompatible changes:
- Skylark: updating list/dicts while they are being looped over is not
allowed. Use an explicit copy if needed ("for x in list(mylist):").
- Bazel now uses the --cpu flag to look up Jvms; it falls back
to "default" if it can't find a Jvm matching the CPU value.
- --command_port=-1 to use AF_UNIX for client/server communications
is not supported anymore.
- Sandboxed actions can access the network by default, unless their
target has a "block-network" tag.
New features:
- Files now have an "extension" property in Skylark.
Important changes:
- Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
mount an empty, writable directory at a specified path when
running actions. (Supported on Linux only for now.)
- Update protoc-3.0.0-mingw.exe to a working (statically linked)
binary
- apple_static_library rule to create multi-architecture static
archive files from Objc/C++/Swift dependencies on apple platforms
- JS: Add support for localization with closure managed rules.
- Create a flag --android_dynamic_mode to turn off dynamic mode
during the Android split transition.
- Darwin sandboxing is default.
- Remove flag --experimental_zip_tree_artifact from j2objc Java
annotation processing support.
- A few functions are added to BUILD files for consistency (hash,
dir,
hasattr, getattr) with .bzl files, although they are not very
useful.
- --watchfs is now a command option; the startup option of the same
name is deprecated. I.e., use bazel build --watchfs, not
blaze --watchfs
build.
|
|
|
|
|
|
|
|
|
|
|
| |
For each test target, also have a test summary as children to this event.
As test summaries are posted on the event bus anyway, it is enough to
make then an instance of BuildEvent.
--
Change-Id: Id53e5f1760548a1fa621b1667fdb4470f51a52e8
Reviewed-on: https://bazel-review.googlesource.com/#/c/6931
MOS_MIGRATED_REVID=137961100
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke internal builds.
--
MOS_MIGRATED_REVID=137959459
|