| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138005602
|
|
|
|
|
|
|
| |
predictable iteration order.
--
MOS_MIGRATED_REVID=137864799
|
|
|
|
|
|
|
| |
rules instead of a soup of methods.
--
MOS_MIGRATED_REVID=137835755
|
|
|
|
|
|
|
| |
RELNOTES: New rule: proto_lang_toolchain(), to support LANG_proto_library rules on multiple platforms.
--
MOS_MIGRATED_REVID=137550563
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=136402597
|
|
|
|
|
|
|
| |
Addresses https://github.com/bazelbuild/bazel/issues/1718
--
MOS_MIGRATED_REVID=135274306
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133267681
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't do anything yet, it's in preparation for the execroot rearranging
change. The execroot will have one bazel-out per repo, so it'll look like:
execroot/
repo1/
bazel-out/
local-fastbuild/
bin/
repo2/
bazel-out/
local-fastbuild/
bin/
genfiles/
repo3/
bazel-out/
local-fastbuild/
testlogs/
and so on. Thus, any output path (getBinDirectory() & friends) needs to know
what the repo name is. This changes so many places in the code I thought it
would be good to do separately, then just flip the functionality in the
execroot-rearranging commit.
While I was poking around, I changed all of the refs I could from getPackageRelativeArtifact() to getBin/GenfilesArtifact(), so that 1) rule implementation don't have to know as much about roots and 2) they'll be more isolated from other output dir changes.
`bazel info` and similar just return roots for the main repository.
The only "change" is passing around a target label in the Java rules.
Continues work on #1262.
--
MOS_MIGRATED_REVID=129985336
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Let's launch open-source java_proto_library with strict-deps checking turned on by default.
*** Original change description ***
Unveil Bazel's proto_library and java_proto_library.
--
MOS_MIGRATED_REVID=127716437
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127543896
|
|
|
|
|
|
|
| |
RELNOTES: New rule, java_proto_library, to generate Java bindings for protocol-buffers.
--
MOS_MIGRATED_REVID=127136894
|
|
|
|
| |
MOS_MIGRATED_REVID=127108931
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126850134
|
|
|
|
| |
MOS_MIGRATED_REVID=125790153
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123119417
|
|
|
|
|
|
|
|
|
|
| |
instead of passing and checking null in all helpers.
Demonstrates this pattern usage in a few select rules (e.g. AndroidBinary) where this was particularly egregious.
There are many places which can benefit from this pattern -- this change doesn't try to fix them all at once.
--
MOS_MIGRATED_REVID=123012378
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=121524513
|
|
|
|
|
|
|
|
| |
This isn't hooked up to anything yet, but is another piece of getting #848
rolled forward.
--
MOS_MIGRATED_REVID=120582973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 790d2f6009d47fe92cf0cd92a1473bbf0141f32e.
*** Reason for rollback ***
Broke non-Bazel projects on ci.bazel.io
Fixes #1168
*** Original change description ***
Move the runfiles for external repositories to under the x.runfiles/ directory
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: 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....
***
--
MOS_MIGRATED_REVID=120535721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: 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__/.
--
MOS_MIGRATED_REVID=120224534
|
|
|
|
|
|
|
| |
This allows compilations with very long command lines to succeed.
--
MOS_MIGRATED_REVID=119199042
|
|
|
|
|
|
|
| |
proto-compiler use a params file.
--
MOS_MIGRATED_REVID=119193368
|
|
|
|
|
|
|
| |
CustomMultiArgv class.
--
MOS_MIGRATED_REVID=117761242
|
|
|
|
|
|
|
| |
called.
--
MOS_MIGRATED_REVID=117689886
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the immutability interfaces of existing implementations.
Eventually we want all implementations to comply, but right now CppConfiguration
is a glaring exception due to FDO/LIPO support.
We don't want more exceptions to arise.
This is prep work for pre-trimming ConfigurationFragment.key's BuildOptions input
to just the options needed by the fragment. That implies fragments can be shared across configurations, so that needs to be safe.
--
MOS_MIGRATED_REVID=113408041
|
|
|
|
|
|
|
|
|
|
| |
This variable is no longer used because the docgen template directly calls
RuleDocumentationAttribte.getSynopsis() instead of using the SYNOPSIS variable,
and RuleDocumentationAttribute.getHtmlDocumentation() resolves the SYNOPSIS
variable to the empty string.
--
MOS_MIGRATED_REVID=113249993
|
|
|
|
|
|
|
|
|
| |
Bazel native rule inline documentation.
These variables are no longer used because the docgen templates now directly generate the table of attributes instead of using ATTRIBUTE_DEFINITION and call RuleDocumentation.getAttributeSignature() instead of using ATTRIBUTE_SIGNATURE. RuleDocumentation.getHtmlDocumentation() currently resolves both of these variables to the empty string.
--
MOS_MIGRATED_REVID=112933659
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112709717
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=111032954
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skylark into their own package. This allows, e.g., classes in the syntax package to access classes in the cmdline package without creating circular dependencies.
While we're here:
- Removed a couple of unused BUILD deps flagged in [].
- Updated SkylarkRuleImplementationFunctionsTest to remove non-ASCII characters and
clarify the intent of the test.
--
MOS_MIGRATED_REVID=110360763
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110008191
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109900770
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109897602
|
|
|
|
|
|
|
| |
As a prerequisite, AnalysisUtils.checkProvider now accepts non-final classes, as long as they have a private/package-private parameterless constructor, which offers similar protection - the provider can't be subclassed outside of its package.
--
MOS_MIGRATED_REVID=109447292
|
|
|
|
|
|
|
| |
getCheckDepsProtoSources(), to get any indirect sources from alias library cases.
--
MOS_MIGRATED_REVID=107395192
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103947930
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
|
|
|
| |
- Label parsing can be simplified
- lib.syntax is only contains the code for Skylark and is reasonably independent from the problem domain of building things
This change is mostly only changes to imports declarations. The rest is reversing the dependency between :cmdline and :syntax and moving a tiny amount of code between Printer and FilesetEntry and the addition of SkylarkPrintableValue that I couldn't be bothered to separate out into its own change.
--
MOS_MIGRATED_REVID=103527877
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103374106
|
|
|
|
|
|
|
| |
objc_proto_library with native proto_library.
--
MOS_MIGRATED_REVID=102962083
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102299629
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102294703
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=102079110
|
|
|
|
|
|
|
| |
preperation for BazelProtoLibrary.
--
MOS_MIGRATED_REVID=102070904
|
|
|
|
|
|
|
|
|
|
|
| |
Example:
for target in ctx.attr.deps:
print(target.proto.sources)
print(target.proto.transitive_imports)
print(target.proto.transitive_sources)
--
MOS_MIGRATED_REVID=94747961
|
|
|
|
|
|
|
| |
Providers are still experimental, we'll document them properly later.
--
MOS_MIGRATED_REVID=94274960
|
|
--
MOE_MIGRATED_REVID=85702957
|