| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an early version of support for this feature, likely still missing
a number of edge cases. However the basic functionality should work.
To allow a dependency from objc to cc, the following flags will have to be
passed to bazel:
--experimental_enable_objc_cc_deps --cpu=ios_i386 --crosstool_top=//tools/objc/crosstool:crosstool
The feature is also compatible with --ios_multi_cpus, with the familiar
values for --ios_cpu (i386, x86_64, armv7, arm64; passed instead of --cpu
above).
This CL does not contain any Xcode support for CC dependencies yet, they
will just not show up in the generated Xcode project.
(Second submission after earlier accidental submit before this CL was ready).
--
MOS_MIGRATED_REVID=95110081
|
|
|
|
|
|
|
|
|
|
| |
This should fix the following cpplint.py warning:
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
--
Change-Id: I2bf74ced08f86bd5a4e6d57720188327bbd9efe6
Reviewed-on: https://bazel-review.googlesource.com/#/c/1452/
MOS_MIGRATED_REVID=95109413
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95108839
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95106558
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95102460
|
|
|
|
|
|
|
|
|
| |
android_binary rule.
This is not hooked up with BazelRuleClassProvider yet, because once we do, we'll start always loading the Android SDK on Bazel startup regardless of whether it's actually needed or not, which is a pain. We'll have to figure something out for that.
--
MOS_MIGRATED_REVID=95100903
|
|
|
|
|
|
|
| |
Too new functionality.
--
MOS_MIGRATED_REVID=95100593
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95097699
|
|
|
|
|
|
|
|
| |
$ bazel blah
Command 'blah' not found. Try 'bazel help'.
--
MOS_MIGRATED_REVID=95089307
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95054907
|
|
|
|
|
|
|
|
|
|
|
| |
Packages have the potential to have an exceptional number of associated
targets. When serialized in one message these targets can push the
protocol buffer representation of a Package over the default deserialization
size limit. In this commit we serialize targets separately as a series of
individual messages to avoid this limit.
--
MOS_MIGRATED_REVID=95049743
|
|
|
|
|
|
|
|
|
|
|
| |
of silently swallowing them.
The old behavior was simply incorrect on --keep_going builds because it meant any directory with an uncaught error caused all of its ancestors to not have any values. It wasn't noticed because SkyframeTargetPatternEvaluator was overly permissive in the errors it expects.
We also use a singleton for the empty RecursivePkgValue which might have a negligible (beneficial) memory impact.
--
MOS_MIGRATED_REVID=95037551
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95036998
|
|
|
|
|
|
|
| |
classes that are exempt from constraint checking.
--
MOS_MIGRATED_REVID=95033646
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95026119
|
|
|
|
|
|
|
|
|
| |
It didn't get exported last time for some reasons
--
Change-Id: Ia7fa7bcdd0f06af6c4aa2bc7c26de4b7209f51f7
Reviewed-on: https://bazel-review.googlesource.com/#/c/1450/
MOS_MIGRATED_REVID=95025211
|
|
|
|
|
|
|
|
|
| |
AttributeMap#has() checks that an attribute exists for a rule but not if
values are actually defined. Check if specified repository values are
non-empty before using.
--
MOS_MIGRATED_REVID=95025038
|
|
|
|
|
|
|
| |
customized based on user's flags.
--
MOS_MIGRATED_REVID=95015135
|
|
|
|
|
|
|
| |
are present in CppCompileAction#getSystemIncludeDirs.
--
MOS_MIGRATED_REVID=95014774
|
|
|
|
|
|
|
| |
even with --nodistinct_host_configuration.
--
MOS_MIGRATED_REVID=95009095
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95006895
|
|
|
|
|
|
|
| |
The paragraph is not very useful, and not entirely true.
--
MOS_MIGRATED_REVID=95006327
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95001990
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94999937
|
|
|
|
|
|
|
| |
Fixes #211.
--
MOS_MIGRATED_REVID=94919859
|
|
|
|
|
|
|
| |
Modify XcodeGen to use that field as workspace root if it is set.
--
MOS_MIGRATED_REVID=94916387
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generate a srcjar artifact, and use native.java_library to emit the
actual jar file.
Post-review modifications:
- Formatted genproto.bzl
- Use //external:jar instead of relying on PATH
- Make proto library a java_import instead of a filegroup in
test setup.
--
Change-Id: I005f801f09439bbca43e483ad4a47da4588fea94
Reviewed-on: https://bazel-review.googlesource.com/1362
MOS_MIGRATED_REVID=94914935
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94910185
|
|
|
|
|
|
|
|
|
|
|
| |
This ZIP implementation is lightweight and rely on zlib for
compression. libarchive was a bit tricky to set-up so it's
better to use that one.
--
Change-Id: I607b492998572e834e095a4606eeb77c0b574542
Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/
MOS_MIGRATED_REVID=94910072
|
|
|
|
|
|
|
|
|
|
|
| |
This change uses the types of target patterns, and the order they
appear in the sequence, to construct a more efficiently processable
sequence of target pattern keys. Redundant patterns are eliminated and
negated TargetsBelowDirectory patterns are excluded from higher-up
positive patterns.
--
MOS_MIGRATED_REVID=94909360
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94905648
|
|
|
|
|
|
|
|
|
|
|
| |
Rearrange Package serialization logic to hide ProtocolBuffer implementation
details and make it easier to transition to a more "streamed" approach.
Also moved the public members of PackageSerializer to the top of the class
for visibility.
--
MOS_MIGRATED_REVID=94905360
|
|
|
|
|
|
|
|
|
| |
Crosstool.
This makes integrating Bazel with an external Android NDK less complex, and removes a special-case from the behavior of Bazel, which is always good.
--
MOS_MIGRATED_REVID=94893919
|
|
|
|
|
|
|
|
|
| |
instead of the -nl one (which is not) to include native libraries.
The alternative implementation uses a symlink tree, but given that we never have many native libraries, I opted for the simpler approach.
--
MOS_MIGRATED_REVID=94891099
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94791363
|
|
|
|
|
|
|
|
|
| |
sources passed in as part of the result.
We were adding the sources anyway, and it should be a harmless change.
--
MOS_MIGRATED_REVID=94787401
|
|
|
|
|
|
|
|
|
|
| |
This function has only a declaration, no implementation and thus no
uses. Confirmed that it has no uses internally as well.
--
Change-Id: Ifd9214b546f304077e4d729bf22abf6b49cc6af1
Reviewed-on: https://bazel-review.googlesource.com/1411
MOS_MIGRATED_REVID=94763256
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94762936
|
|
|
|
|
|
|
|
| |
It's annoying how split up the Label parsing code is, but it seems like too much
work to bother fixing. Maybe next fixit.
--
MOS_MIGRATED_REVID=94758275
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94758273
|
|
|
|
|
|
|
| |
Fixes #215.
--
MOS_MIGRATED_REVID=94757979
|
|
|
|
|
|
|
|
|
| |
Helps javadoc resolve the referece. We can't import PackageFunction here
since it's not visible. Instead use the fully qualified name so the link
still works.
--
MOS_MIGRATED_REVID=94757000
|
|
|
|
|
|
|
| |
I accidentally set the whole rule to be undocumented, not just this attribute.
--
MOS_MIGRATED_REVID=94755573
|
|
|
|
|
|
|
| |
parameter.
--
MOS_MIGRATED_REVID=94751927
|
|
|
|
|
|
|
|
| |
It is now possible to access transitive sources from py_binary and py_library
rules with target.py.transitive_sources
--
MOS_MIGRATED_REVID=94751866
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This was omitted when the bulk of the code was moved in order not to pollute the output of "bazel help" with a useless command, but now it is in the way of testing Android functionality.
--
MOS_MIGRATED_REVID=94747309
|
|
|
|
|
|
|
| |
This cuts the .java -> .android dependency between Java packages, which is nice at the cost of some cavalier over-estimation of the direct dependencies in AndroidNeverlinkAspect.
--
MOS_MIGRATED_REVID=94745544
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sets up the Android configuration flags, but they aren't used yet.
All implementations of Jack support in other rules use isJackSanityChecked()
to determine whether the --sanity-checks flags should be set to 'on';
isJackUsedForDexing() specifically guards the final step in AndroidBinary,
determining whether the ordinary Java compilation process or the Jack process
is used to build the final classes.dex.
--
MOS_MIGRATED_REVID=94712246
|
|
|
|
|
|
|
| |
of ObjCRuleClasses.
--
MOS_MIGRATED_REVID=94693481
|