| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
After the initial loading phase, further packages are loaded during
analysis. Show in the experimental UI the total number of packages
loaded during analysis phase to indicate at least some progress.
--
Change-Id: I345c6f806591e70e4397fc3e3365718dde95d7d2
Reviewed-on: https://bazel-review.googlesource.com/#/c/3645
MOS_MIGRATED_REVID=122728719
|
|
|
|
|
|
|
| |
RELNOTES: objc_framework now supports dynamic frameworks.
--
MOS_MIGRATED_REVID=122728042
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122727524
|
|
|
|
|
|
|
| |
Fixes #1290.
--
MOS_MIGRATED_REVID=122726071
|
|
|
|
|
|
|
|
|
|
|
| |
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
|