| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
| |
This required a few assorted changes:
- The LIPO compilation context is not merged anymore. Include paths for auxiliary files are apparently taken from the profile files, so it is not necessary.
- The FDO build stamp is not special-cased anymore, it is treated as a preprocessor define like any other.
- When compiling a .pcm file, use interfaceContext instead of the regular context when setting up the build variables. This is a bit more consistent and would be a good cause for a future bug.
--
MOS_MIGRATED_REVID=122725179
|
|
|
|
|
|
|
|
|
|
|
| |
Even during analysis, more packages will be loaded. However, those are
not tracked by the LoadingProgressReceiver. Therefore, provide a reference
to the AtomicInteger counting the total number of packages loaded already.
--
Change-Id: Ia546a2fec4afe6fd1bd69448b14ba889c68ae12c
Reviewed-on: https://bazel-review.googlesource.com/#/c/3644
MOS_MIGRATED_REVID=122722688
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122721164
|
|
|
|
|
|
|
|
|
|
| |
- mark the addDependencies method as @VisibleForTesting, and don't round-trip
through PathFragment
- use Path.getRelative(String) instead of Path.getRelative(PathFragment), which
may do additional optimizations
--
MOS_MIGRATED_REVID=122720947
|
|
|
|
|
|
|
| |
to it.
--
MOS_MIGRATED_REVID=122718503
|
|
|
|
|
|
|
|
|
|
| |
FolderConfiguration.
* Handles resources nested in directories.
* Makes the resource processing resilient to invalid qualifiers.
--
MOS_MIGRATED_REVID=122688529
|
|
|
|
|
|
|
| |
The generated sources are useful for debugging annotation processors.
--
MOS_MIGRATED_REVID=122683781
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is for the resources.zip and the srcjar
and aar.
For the srcjar this is only slightly faster (100ms),
but we might as well? Perhaps this is because the
files are quite large anyway. Not sure if there
would be smaller writes with compression.
For the resources.zip it seems to make a bigger
difference: > 1s when run locally. Perhaps this
is because there are more small files.
Didn't benchmark aar at all, just noticed it.
Kevin mentioned the Buffering on one of the
issues, so I happened to notice this when using
similar code for prototype of R.class jar creation
(seemed to be > 1s faster in that case, but that
was also compressing).
--
MOS_MIGRATED_REVID=122663374
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the C++-contributed fragment.
e.g. provide the ability to translate:
bazel-out/gcc-X-glibc-Y-x86-fastbuild/
to:
bazel-out/fastbuild/
This applies to artifacts built with dynamic configurations for targets with no C++ fragments in their configuration.
--
MOS_MIGRATED_REVID=122643518
|
|
|
|
|
|
|
| |
Due to reusing an old Reporter instead of grabbing the current one for each build, verbose messages were lost and not printed to the console. Also adds a test for this feature.
--
MOS_MIGRATED_REVID=122639383
|
|
|
|
|
|
|
|
|
|
|
| |
This completes the introduction of aspect configuration fragment enforcement
for static configuration builds; as of this change, it is no longer possible to
fall back to the base rule's set of requested configuration fragments.
This sort of fallback may become possible later, likely in a more controlled way.
--
MOS_MIGRATED_REVID=122638152
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122635220
|
|
|
|
|
|
|
|
|
|
| |
When reporting on the progress state while loading packages, also report the
number of packages currently being loaded simultaneously.
--
Change-Id: I5e46c6f392e1e583b752560878f4c42c160f12d2
Reviewed-on: https://bazel-review.googlesource.com/#/c/3643
MOS_MIGRATED_REVID=122632188
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122627792
|
|
|
|
|
|
|
|
|
| |
Label#equals was a cpu hotspot revealed during profiling.
The additional field for the precomputed hash code has no memory cost since each Label instance was already wasting 4 bytes due to object alignment requirements.
--
MOS_MIGRATED_REVID=122626707
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122626656
|
|
|
|
|
|
|
| |
This is a resubmission of commit 45d48bf1fe7503acbbb0c095822b7f8f558881e8. It turns out that we also need -fPIC for *assembler* command line options, because some assembler sources are preprocessed and they can say "#ifdef __PIC__".
--
MOS_MIGRATED_REVID=122626234
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122620007
|
|
|
|
|
|
|
| |
network code qualifiers.
--
MOS_MIGRATED_REVID=122591469
|
|
|
|
|
|
|
| |
where we weren't checking to see if a reverse dep already existed when we declared a reverse dep.
--
MOS_MIGRATED_REVID=122581019
|
|
|
|
|
|
|
|
|
| |
The test is run with -e, so when ((wait_seconds++)) returns 1, it exits.
This fixes #1271.
--
MOS_MIGRATED_REVID=122567259
|
|
|
|
|
|
|
| |
RELNOTES: new_objc_provider can now set the USES_SWIFT flag.
--
MOS_MIGRATED_REVID=122566589
|
|
|
|
|
|
|
|
|
|
|
| |
discover that it no longer has certain deps.
In the common case, where a node's deps do not change in the end, this reduces lock contention and CPU.
The downside of this is that we now create a set of the previous reverse deps during each evaluation of a node. We don't store this set in order to conserve memory, so we pay for it in CPU. We will probably only construct it two or three times (most SkyFunctions don't have so many groups), so the cost shouldn't be so high, but we can try to mitigate if it shows up in profiling.
--
MOS_MIGRATED_REVID=122566267
|
|
|
|
|
|
|
| |
postProcess().
--
MOS_MIGRATED_REVID=122542545
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122542339
|
|
|
|
|
|
|
| |
large number of rbuildfile dependencies, we retrieve them in batches of at most BATCH_CALLBACK_SIZE.
--
MOS_MIGRATED_REVID=122540401
|
|
|
|
|
|
|
|
|
|
|
| |
* Do not include cc info for non-C rules
* Omit exported headers (unused on the IDE side)
This CL reduces aspect output size (and memory footprint) by ~50MB
for an example real-life project.
--
MOS_MIGRATED_REVID=122537339
|
|
|
|
|
|
|
| |
processing due to the missing support for ll-{3,4}, which should be removed with the android-ide-common update.
--
MOS_MIGRATED_REVID=122536342
|
|
|
|
|
|
|
|
|
| |
Removes an old code path that is not relevant anymore.
RELNOTES:
--
MOS_MIGRATED_REVID=122534499
|
|
|
|
|
|
|
|
|
| |
Add a final keyword to make java compiler happy.
--
Change-Id: If44881164d4e3e2485d0e7dc8074ca7171a6ceb6
Reviewed-on: https://bazel-review.googlesource.com/c/3630/
MOS_MIGRATED_REVID=122529756
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, _short_path_dirname would take a short path like "libfoo.jar",
rfind would return -1, sp[:-1] would return "libfoo.ja", and then
_dest_path would strip that prefix off of "libfoo.jar", leaving just "r".
Also added some unit tests for these functions.
Fixes #1253.
--
MOS_MIGRATED_REVID=122527723
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks //[]/go:all .
*** Original change description ***
Turn the addition of -fPIC to the command line of PIC actions into a feature.
--
MOS_MIGRATED_REVID=122526799
|
|
|
|
|
|
|
| |
This add a "testing framework" and reimplements first two tests from AndroidStudioInfoAspectTest.
--
MOS_MIGRATED_REVID=122523803
|
|
|
|
|
|
|
|
| |
Typical output looks like:
Compiling Python my/package/module.py
--
MOS_MIGRATED_REVID=122522202
|
|
|
|
|
|
|
| |
Fixes #1228.
--
MOS_MIGRATED_REVID=122511655
|
|
|
|
|
|
|
|
|
|
| |
rule_name_implicit_outputs.
This change adds support for new syntax for referencing a heading for a rule or
static BE page.
--
MOS_MIGRATED_REVID=122509323
|
|
|
|
|
|
|
| |
Fixes #1269
--
MOS_MIGRATED_REVID=122502116
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122498464
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122473346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resources are combined for the primary writing.
Example:
transitive resource: styleable/RubADubDub has an attr of butcher
direct resource: styleable/RubADubDub has an attr of baker
primary resource: styleable/RubADubDub has an attr of candlestickmaker
The merged resources should have:
transitive resource: <no matching key>
primary resource: styleable/RubADubDub has attrs of butcher, baker, candlestickmaker
--
MOS_MIGRATED_REVID=122453026
|
|
|
|
|
|
|
|
|
| |
* Switches the rule to output to genfiles/, this makes C-headers it produces importable by depending targets.
RELNOTES: swift_library now generates an Objective-C header for its @objc interfaces.
--
MOS_MIGRATED_REVID=122448949
|
|
|
|
|
|
|
| |
Fixes #1230.
--
MOS_MIGRATED_REVID=122439376
|
|
|
|
|
|
|
|
| |
ZipOutputStream#putNextEntry(ZipEntry) sets the modification time to
the current time if no time is set on the ZipEntry passed to it.
--
MOS_MIGRATED_REVID=122436300
|
|
|
|
|
|
|
| |
RELNOTES: --objc_generate_debug_symbols is now deprecated.
--
MOS_MIGRATED_REVID=122432600
|
|
|
|
|
|
|
| |
the apk manifest.
--
MOS_MIGRATED_REVID=122431761
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Does file type mean nothing to people?
Fixes #1263, also made some code hygiene improvements:
* Added some tests.
* Broke a java_test out of lib/BUILD.
* Renamed ZipFunction so it doesn't look like a child of SkyFunction.
--
MOS_MIGRATED_REVID=122431322
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: 5a2dd7a
Incompatible changes:
- All repositories are now directly under the x.runfiles directory
in the runfiles tree (previously, external repositories were at
x.runfiles/main-repo/external/other-repo. This simplifies
handling remote repository runfiles considerably, but will break
existing references to external repository runfiles.
Furthermore, if a Bazel project does not provide a workspace name
in the WORKSPACE file, Bazel will now default to using __main__
as the workspace name (instead of "", as previously). The
repository's runfiles will appear under x.runfiles/__main__/.
- Bazel does not embed protocol buffer-related rules anymore.
- It is now an error for a cc rule's includes attribute to point to
the workspace root.
- Bazel warns if a cc rule's includes attribute points out of
third_party.
- Removed cc_* attributes: abi / abi_deps. Use select() instead.
New features:
- select({"//some:condition": None }) is now possible (this "unsets"
the attribute).
Important changes:
- java_import now allows its 'jars' attribute to be empty.
- adds crunch_png attribute to android_binary
- Replace --java_langtools, --javabuilder_top, --singlejar_top,
--genclass_top, and --ijar_top with
java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
- External repository correctness fix: adding a new file/directory
as a child of a new_local_repository is now noticed.
- iOS apps are signed with get-task-allow=1 unless building with -c
opt.
- Generate debug symbols (-g) is enabled for all dbg builds of
objc_ rules.
- Bazel's workspace name is now io_bazel. If you are using Bazel's
source as an external repository, then you may want to update the
name you're referring to it as or you'll begin seeing warnings
about name mismatches in your code.
- Fixes integer overflow in J2ObjC sources to be Java-compatible.
- A FlagPolicy specified via the --invocation_policy flag will now
match the current command if any of its commands matches any of
the commands the current command inherits from, as opposed to
just the current command.
- The key for the map to cc_toolchain_suite.toolchains is now a
string of the form "cpu|compiler" (previously, it was just "cpu").
- Fix interaction between LIPO builds and C++ header modules.
- Ctrl-C will now interrupt a download, instead of waiting for it to
finish.
- Proxy settings can now be specified in http_proxy and https_proxy
environment variables (not just HTTP_PROXY and HTTPS_PROXY).
- Skylark targets can now read include directories from
ObjcProvider.
- Expose parameterized aspects to Skylark.
- Support alwayslink cc_library dependencies in objc binaries.
- Import cc_library dependencies in generated Xcode project.
|
|
|
|
|
|
|
| |
Apparently Darwin's wc has a slightly different format. Fixes #1267.
--
MOS_MIGRATED_REVID=122419982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change implements a remote worker that executes work (build or test).
Bazel will be a client of the remote worker. The communication uses gRPC
and Netty as transport.
A single remote worker has little advantage over running locally. Additional
infrastructure is needed to run workers on multiple machines and distributing
the work among them.
This change provides the basic building blocks for a distributed build farm.
(Mainly reformatting changes compared to https://bazel-review.googlesource.com/3110, some BUILD file changes.)
--
Change-Id: If7d285444ef42a6823b59443af17b61b04b9ce6a
Reviewed-on: https://bazel-review.googlesource.com/#/c/3110/
MOS_MIGRATED_REVID=122376861
|
|
|
|
|
|
|
|
| |
* Cache the FullyQualifiedName instances. Due to a very high number of duplicated resource keys, all FullyQualifiedNames should be effectively interned.
* Presume xliff in all resources. Inlining the xmlns is a bit costly.
--
MOS_MIGRATED_REVID=122375955
|