| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
| |
We already have some design documents committed to our documentation
pages. Add an index of those, under the 'Contribute!' section.
--
Change-Id: I9331f13d9f145668991f26dd301c10b4a7f06216
Reviewed-on: https://bazel-review.googlesource.com/#/c/3942
MOS_MIGRATED_REVID=126300855
|
|
|
|
|
|
|
|
|
|
|
| |
run following commands to test it:
bazel build --cpu=x64_windows_msvc examples/windows/dll:hello
./bazel-bin/examples/windows/dll/hello
--
Change-Id: I096f6ff66473b1c9980b0aa36ec291f39512dd71
Reviewed-on: https://bazel-review.googlesource.com/#/c/3932
MOS_MIGRATED_REVID=126300284
|
|
|
|
|
|
|
| |
This way it won't print if the repo maintainer doesn't set the repo name.
--
MOS_MIGRATED_REVID=126300205
|
|
|
|
|
|
|
|
|
|
|
|
| |
This stops Bazel from passing some of the gcc options to wrapper script.
Options we get rid of:
-c -o -MD -MF -frandom-seed -isystem -iquote -I
--
Change-Id: I416b393c6875a2033d5382a644471c416cd5e8d1
Reviewed-on: https://bazel-review.googlesource.com/#/c/3930
MOS_MIGRATED_REVID=126299789
|
|
|
|
|
|
|
| |
attributes as their parameters (instead of using an attribute map).
--
MOS_MIGRATED_REVID=126298988
|
|
|
|
|
|
|
|
|
| |
Also add missing dependencie on the javacutil tooling.
--
Change-Id: Idba4ddc2e79da4916925327e2f15337e86658a5d
Reviewed-on: https://bazel-review.googlesource.com/#/c/3915
MOS_MIGRATED_REVID=126298979
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126298962
|
|
|
|
|
|
|
| |
--
Change-Id: I5d420298aa841d04059462c10acb263ecf5cec28
Reviewed-on: https://bazel-review.googlesource.com/#/c/3941
MOS_MIGRATED_REVID=126296592
|
|
|
|
|
|
|
| |
Usages have since been removed.
--
MOS_MIGRATED_REVID=126296555
|
|
|
|
|
|
|
|
|
|
|
| |
Also, the number of pending items seems to 'leak' and always increase.
Be sure to add each package only once, even if the computation has to be restarted.
RELNOTES: The progress message would not clear packages that need to be loaded twice.
--
MOS_MIGRATED_REVID=126295556
|
|
|
|
|
|
|
|
|
| |
that's what it does.
In particular, it affects Windows.
--
MOS_MIGRATED_REVID=126293339
|
|
|
|
|
|
|
|
|
|
|
| |
If this is set to true (which it is by default), JavaCompilationHelper will set the "supports-workers" tag on the execution info for the Javac SpawnAction. If it is explicitly set to false, this tag will be absent.
In a follow-up CL, the WorkerSpawnStrategy will check whether this tag is present and fallback to non-worker execution if not.
This is needed to safely enable workers by default in Bazel without breaking the older JDK7 JavaBuilder, which does not support workers yet.
--
MOS_MIGRATED_REVID=126290991
|
|
|
|
|
|
|
|
| |
This needs to predate the rest of the changes to the checker framework to keep the build green.
Also add the source of javacutil part of the checker framework, that will be included in the next change.
Change-Id: Ie18d0e8e21035ce5141416e552a83d893f71b88b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ExperimentalEventHandler uses no functionality of BlazeCommandEventHandler,
hence there really is no need whatsoever for ExperimentalEventHandler to be
a subclass of BlazeCommandEventHandler. So, remove this inheritance to clean
up our class hierarchy; instead let the ExperimentalEventHandler just implement
the EventHandler interface.
--
Change-Id: I504f727190a12882dd8b7c37811a821e3ba50400
Reviewed-on: https://bazel-review.googlesource.com/#/c/3926
MOS_MIGRATED_REVID=126282974
|
|
|
|
|
|
|
| |
The first option was renamed to --java_deps, and the second was a no-op.
--
MOS_MIGRATED_REVID=126280008
|
|
|
|
|
|
|
|
|
| |
"supports-workers" execution info tag.
This is a new requirement which helps Blaze decide whether an action can be executed via workers or not.
--
MOS_MIGRATED_REVID=126279864
|
|
|
|
|
|
|
| |
every process wrapper again.
--
MOS_MIGRATED_REVID=126279021
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126275468
|
|
|
|
|
|
|
| |
Previously, the command-line reference page put a line break between them.
--
MOS_MIGRATED_REVID=126274327
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
legacy_native_support makes it so that Bazel copies .so's instead of linking.
This allows Bazel to include third-party native code without running an NDK.
Turning it off allows Bazel to actually compile native code, but at the cost
of this copy case no longer working without an NDK, and creating an unnecessary
shared library which will most likely never be used.
This CL makes it so that if no actual source code or static libraries are
in the transitive closure, the linker is not run at the android_binary level.
This means that legacy_native_support as a separate concept can be removed,
and it is - the attribute remains, but is a no-op. This will be removed in
a future change. The matching flag (--legacy_android_native_support) has
already been removed.
RELNOTES: The link mode for Android native code is now automatically determined
based on the transitive closure of cc_libraries, and legacy_native_support is
now a no-op. --legacy_android_native_support has been removed.
--
MOS_MIGRATED_REVID=126244755
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126235788
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126215213
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke builds that use apple_genrule.
*** Original change description ***
Move platform environment from xcrun_action to apple_action.
This change ensures that scripts that don't need to be wrapped with
xcrun_action (like actoolwrapper, ibtoolwrapper, and friends, because
they internally invoke xcrunwrapper) also have the Xcode version and
platform envvars set.
RELNOTES:
--
MOS_MIGRATED_REVID=126205606
|
|
|
|
|
|
|
| |
experimental_objc_library.
--
MOS_MIGRATED_REVID=126204758
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126200568
|
|
|
|
|
|
|
| |
this and commit 116c2f6724718fc408e0c73c9026d89281c75e87 using Guava's Ascii#truncate.
--
MOS_MIGRATED_REVID=126198762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new "define" method replaces the now deprecated writeToValuesXml method. This provides three benefits:
* An agnostic writing interface to the XmlResourceValue classes, easing the replacement of them with a proper xml writer.
* A delayed write which allows the StyleableXmlResourceValue to claim AttrXmlResourceValue definitions before writing.
* Centralized method of source attribution, enabling a less verbose way to indicate multiple values came from a single xml source file.
An example of the new interface writing the StyleXmlResourceValue:
ValuesResourceDefinition definition = mergedDataWriter
.define(key)
.derivedFrom(source)
.startTag("style")
.named(key)
.optional()
.attribute("parent")
.setTo(parent)
.closeTag();
for (Entry<String, String> entry : values.entrySet()) {
definition = definition
.startItemTag()
.named(entry.getKey())
.close()
.addCharactersOf(entry.getValue())
.endTag();
}
definition.endTag().save();
--
MOS_MIGRATED_REVID=126196028
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change ensures that scripts that don't need to be wrapped with
xcrun_action (like actoolwrapper, ibtoolwrapper, and friends, because
they internally invoke xcrunwrapper) also have the Xcode version and
platform envvars set.
RELNOTES:
--
MOS_MIGRATED_REVID=126195267
|
|
|
|
|
|
|
| |
--
Change-Id: Iedc81e6502b374f5188e54d02b396502038f5174
Reviewed-on: https://bazel-review.googlesource.com/#/c/3924/
MOS_MIGRATED_REVID=126194925
|
|
|
|
|
|
|
| |
looking at the declared include srcs of all transitive deps was sufficient as these contained all headers possibly relevant even with LIPO optimizations. With interface deps, we cut off dependencies (and thus headers) that aren't directly includable. To still make those available to LIPO, we need to also supply the declared include sources coming from lipo scannables.
--
MOS_MIGRATED_REVID=126183112
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes the event reporting the completion of the last action
can, effectively, overtake the event reporting the completion of
last action. To avoid late writing to the output stream don't start
the update thread after the completion of the build is reported.
There is nothing to update then any more anyway.
--
Change-Id: Ibbb6d025635a9daa233c2b28ca64a1ae4896ce47
Reviewed-on: https://bazel-review.googlesource.com/#/c/3922
MOS_MIGRATED_REVID=126182576
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126177747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, if a build completes with tests failing, the final status
message is "INFO: Build completed successfully, xxx actions". While
technically correct, it might mislead the user to believing all tests
have passed (especially when only looking at the status in the terminal
title). Therefore, if a build completes with failing tests, mention the
number of failed tests in the final status message.
--
Change-Id: I9234fbfdf2ad43dd29af660966dde73bf0c9311a
Reviewed-on: https://bazel-review.googlesource.com/#/c/3918
MOS_MIGRATED_REVID=126176452
|
|
|
|
|
|
|
|
|
|
|
| |
Technically, jformatstring has no problem because we were shiping the source
of in the jar file itself but that's easier to keep track of it if we actually
vendor the source and build from the source.
--
Change-Id: I80fc47ddeafc60263db47f33bfa9a2f2d7e2188d
Reviewed-on: https://bazel-review.googlesource.com/#/c/3914
MOS_MIGRATED_REVID=126174813
|
|
|
|
|
|
|
|
|
| |
Previously we used labels in each configuration fragment that then got added to every test action. Instead, we now have a filegroup under //tools/test for coverage files that truly need to be on the inputs of every test action and collect language-specific support files in InstrumentedFilesProvider.
This makes configuration creation simpler and makes it possible to turn --crosstool_top into something else other than a filegroup (previously, it was that filegroup that got added to every test action)
--
MOS_MIGRATED_REVID=126170241
|
|
|
|
|
|
|
|
|
|
|
| |
In the experimental UI, also support the --show_timestamps option
which asks that for each event a timestamp be added to the the
output. Fixes #1436.
--
Change-Id: I8f9db958525edfbca12ed2c1f1396f25f865b897
Reviewed-on: https://bazel-review.googlesource.com/#/c/3916
MOS_MIGRATED_REVID=126165328
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126161513
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This attribute marks annotation processors that generate API code.
If a rule uses an API-generating annotation processor, other rules depending on
it can refer to the generated code only if their compilation actions are
scheduled after the generating rule.
In the future, annotation processors will only be considered by header
compilation if they set generates_api=1.
--
MOS_MIGRATED_REVID=126152384
|
|
|
|
|
|
|
| |
InvalidatedNodeEntry.
--
MOS_MIGRATED_REVID=126139179
|
|
|
|
|
|
|
| |
the functional equality, the definition type of the attribute has direct impact on the order in which the attribute appears in the styleable array.
--
MOS_MIGRATED_REVID=126126122
|
|
|
|
|
|
|
|
|
| |
error-free built-in rules, and to non-rules. This should save memory, as well as CPU for built-in rules, since we don't have to make sets out of their providers more than once.
Also fix a bug in the equality check where we weren't comparing the canHaveAnyProvider field properly.
--
MOS_MIGRATED_REVID=126121351
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126120891
|
|
|
|
|
|
|
|
|
| |
versions, even if no --xcode_version is specified.
it also avoids throwing an exception if an xcode_version is aliased to its proper name, to be a bit more lenient.
--
MOS_MIGRATED_REVID=126120071
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126104957
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126104630
|
|
|
|
|
|
|
| |
they actually return a Path and not a File.
--
MOS_MIGRATED_REVID=126102820
|
|
|
|
|
|
|
|
| |
* Passes additional defines and copts specified by objc_ rules to clang from the swift compilation.
* Adds a module cache path flag that equals to the on used by objc_ targets.
--
MOS_MIGRATED_REVID=126099975
|
|
|
|
|
|
|
| |
repository_ctx.execute, so that it allows overriding current environment variables
--
MOS_MIGRATED_REVID=126089693
|
|
|
|
|
|
|
| |
--
Change-Id: I88c67ba382288f0a908aba97571564434eaae2d0
Reviewed-on: https://bazel-review.googlesource.com/#/c/3917
MOS_MIGRATED_REVID=126085117
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126081020
|