| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94756225
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Also remove the leading slash when flattening files
Fixes #219.
--
MOS_MIGRATED_REVID=94751441
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
--
Change-Id: Id9e80ebc9f05ee7dcdf5d77e84e29cfb89de72cb
Reviewed-on: https://bazel-review.googlesource.com/#/c/1400/
MOS_MIGRATED_REVID=94696229
|
|
|
|
|
|
|
|
|
| |
For some reason PATH_MAX is not found on TravisCI.
Towards fixing #212.
--
MOS_MIGRATED_REVID=94696153
|
|
|
|
|
|
|
| |
of ObjCRuleClasses.
--
MOS_MIGRATED_REVID=94693481
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94674209
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API doesn't expose the internal detail of the C++ rules. The goal here is
to provide a simplified and stable access to the data.
Example of use:
for target in ctx.attr.deps:
print(target.cc.include_srcs)
More functions should be added later.
--
MOS_MIGRATED_REVID=94672588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It extracts Zip/Unzip methods of ijar in a separate
library. A zipper binary is provided to test that
implementation outside. Note that this implementation
does not compute CRC-32 and unzip will complain on
file zipped with it (but Java won't complain).
The error handling has been replaced to use proper error
reporting instead of launching abort()'s allover the place
so ijar's zip library can be used outside of ijar.
Finally, support for ZIP preamble has been added to
handle self-extractable ZIP files.
--
Change-Id: I833034b4c0054925bada75102fe040db875da789
Reviewed-on: https://bazel-review.googlesource.com/#/c/1371/
MOS_MIGRATED_REVID=94656262
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94655923
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94649435
|
|
|
|
|
|
|
| |
directories.
--
MOS_MIGRATED_REVID=94645728
|
|
|
|
|
|
|
| |
java_binary rule for jarjar.
--
MOS_MIGRATED_REVID=94611863
|
|
|
|
|
|
|
| |
the select.
--
MOS_MIGRATED_REVID=94596318
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using this change, changing the target and source version of
//tools/jdk:toolchain, and setting the Java Langtools
(--java_langtools) to a JDK 8 compliant tools.jar, Bazel can
target JDK 7.
A compliant tools.jar to compile with targeting JDK 7 can be found
at http://search.maven.org/#artifactdetails%7Ccom.google.errorprone%7Cjavac%7C1.9.0-dev-r2644-1%7Cjar
--
MOS_MIGRATED_REVID=94591419
|
|
|
|
| |
Contrary to the previous log message about jarjar, these can be deleted now.
|
|
|
|
|
|
| |
compatibility with existing rules.
third_party/jarjar will be deleted once the rules are migrated.
|
|
|
|
|
|
|
|
|
| |
Rationale: it makes BUILD files less declarative and makes harder to do
automated changes on BUILD files. It is however still allowed in .bzl
files.
--
MOS_MIGRATED_REVID=94577442
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94577279
|
|
|
|
|
|
|
| |
to understand now.
--
MOS_MIGRATED_REVID=94573044
|
|
|
|
|
|
|
| |
BUILD_EMBED_LABEL into Info.plist.
--
MOS_MIGRATED_REVID=94572729
|
|
|
|
|
|
|
| |
It's too annoying for people with existing projects.
--
MOS_MIGRATED_REVID=94569925
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94569621
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Bazel / iOS projects ([])
*** Original change description ***
Always set Runfiles suffix in runfiles Skylark function
--
MOS_MIGRATED_REVID=94554564
|
|
|
|
|
|
|
| |
when there are multiple extra actions attached to a given configured target, each with a long command line.
--
MOS_MIGRATED_REVID=94529604
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration fragments needed by a rule's transitive
closure.
Also add a Skyframe BuildConfiguration node.
Memory and performance profiling shows no noticeable
performance hit in loading or analysis and a 0.35%
memory increase for moderately sized (by Google
standards) build graphs when these are depended
upon in ConfiguredTargetFunction.
--
MOS_MIGRATED_REVID=94517099
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94515805
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94506006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
stat64 is deprecated and causes compiler warnings on OS X
*** Original change description ***
Switch to stat64/lstat64
Better fix for #174.
--
MOS_MIGRATED_REVID=94482625
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94480621
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94478925
|