aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
Commit message (Collapse)AuthorAge
* Implement smart negation for target pattern sequencesGravatar Mark Schaller2015-06-01
| | | | | | | | | | | 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
* Push down Package serialization io logicGravatar Michajlo Matijkiw2015-06-01
| | | | | | | | | | | 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
* Add the --sysroot argument even if it is the default for the particular ↵Gravatar Lukacs Berki2015-06-01
| | | | | | | | | 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
* Use the -nf option of ApkBuilder (which is available in the Android SDK) ↵Gravatar Lukacs Berki2015-06-01
| | | | | | | | | 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
* Changes the android rules to invoke jarjar directly instead of through a script.Gravatar Alex Humesky2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94791363
* Change the contract of IncludeScanner#process to include the original ↵Gravatar Janak Ramakrishnan2015-06-01
| | | | | | | | | 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
* Add main to print list of rules.Gravatar Han-Wen Nienhuys2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94762936
* Add support for @foo//:bar-format labels on the command lineGravatar Kristina Chodorow2015-06-01
| | | | | | | | 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
* Attach runfiles middlemen to py-binary data runfilesGravatar Michajlo Matijkiw2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94758273
* Guard against a null targets list.Gravatar Cody Schroeder2015-06-01
| | | | | | | Fixes #215. -- MOS_MIGRATED_REVID=94757979
* Fully qualify links to PackageFunction in PackageGravatar Michajlo Matijkiw2015-06-01
| | | | | | | | | 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
* Re-enable documentation on maven_jarGravatar Kristina Chodorow2015-06-01
| | | | | | | I accidentally set the whole rule to be undocumented, not just this attribute. -- MOS_MIGRATED_REVID=94755573
* Skylark: Implemented str.rsplit() and made split()'s separator a mandatory ↵Gravatar Florian Weikert2015-06-01
| | | | | | | parameter. -- MOS_MIGRATED_REVID=94751927
* Expose Python provider to SkylarkGravatar Laurent Le Brun2015-06-01
| | | | | | | | It is now possible to access transitive sources from py_binary and py_library rules with target.py.transitive_sources -- MOS_MIGRATED_REVID=94751866
* Skylark: Expose proto providers in a cleaner way.Gravatar Laurent Le Brun2015-06-01
| | | | | | | | | | | 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
* Initial checkin of the "mobile-install" command.Gravatar Lukacs Berki2015-05-29
| | | | | | | 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
* Use an aspect to calculate the Android neverlink libraries.Gravatar Lukacs Berki2015-05-29
| | | | | | | 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
* Add options for Android compilation with Jack.Gravatar Michael Staib2015-05-29
| | | | | | | | | | | | 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
* Refactor J2ObjCSrcsProvider to have a builder, allowing us to move logic out ↵Gravatar Googler2015-05-29
| | | | | | | of ObjCRuleClasses. -- MOS_MIGRATED_REVID=94693481
* Description redacted.Gravatar Googler2015-05-29
| | | | | -- MOS_MIGRATED_REVID=94674209
* Create a Skylark API for C++ rules.Gravatar Laurent Le Brun2015-05-29
| | | | | | | | | | | | | | 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
* Skylark: Added str.partition() and str.rpartition(), as known from Python.Gravatar Googler2015-05-28
| | | | | -- MOS_MIGRATED_REVID=94655923
* Parser cleanup: Introduce an enum instead of the booleansGravatar Laurent Le Brun2015-05-28
| | | | | -- MOS_MIGRATED_REVID=94649435
* Even more select concatenation: this time when a glob is *in*Gravatar Greg Estren2015-05-28
| | | | | | | the select. -- MOS_MIGRATED_REVID=94596318
* Forbid **kwargs and *args in BUILD files.Gravatar Laurent Le Brun2015-05-27
| | | | | | | | | 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
* RELNOTES: Attribute error messages related to Android resources are easier ↵Gravatar Philipp Wollermann2015-05-27
| | | | | | | to understand now. -- MOS_MIGRATED_REVID=94573044
* Extract version numbers that look like "..._1.2.3_..." from ↵Gravatar Googler2015-05-27
| | | | | | | BUILD_EMBED_LABEL into Info.plist. -- MOS_MIGRATED_REVID=94572729
* Don't make sha1 field mandatory until there's a helper to generate themGravatar Kristina Chodorow2015-05-27
| | | | | | | It's too annoying for people with existing projects. -- MOS_MIGRATED_REVID=94569925
* Make the PackageFunction cache an actual Cache.Gravatar Eric Fellheimer2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94569621
* Rollback of commit 3e66823d81b6432953f8fa4105a82c3fe605239e.Gravatar Laurent Le Brun2015-05-27
| | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel / iOS projects ([]) *** Original change description *** Always set Runfiles suffix in runfiles Skylark function -- MOS_MIGRATED_REVID=94554564
* Give each extra action script file a unique name to avoid action conflicts ↵Gravatar Janak Ramakrishnan2015-05-27
| | | | | | | when there are multiple extra actions attached to a given configured target, each with a long command line. -- MOS_MIGRATED_REVID=94529604
* Add an entry to TransitiveTargetValue that tracks theGravatar Greg Estren2015-05-27
| | | | | | | | | | | | | | | | 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
* Adds tools for building Android apps.Gravatar Alex Humesky2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94515805
* Minor refactoring to SkyframeExecutor progress receiver.Gravatar Eric Fellheimer2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94506006
* Logging for yet another location we're failing to get the MD5 algorithm.Gravatar Janak Ramakrishnan2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94480621
* Skylark: File object can now retrieve dirname/basename.Gravatar Googler2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94478925
* Filter out middleman artifacts in RunfilesSupplierImplGravatar Michajlo Matijkiw2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94477507
* Add textual_hdrs to the Bazel C++ rule classes.Gravatar Lukacs Berki2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94452308
* TestRunnerAction attaches runfilesGravatar Michajlo Matijkiw2015-05-26
| | | | | -- MOS_MIGRATED_REVID=94319218
* Add runfiles to metadata caches and make them isFile awareGravatar Michajlo Matijkiw2015-05-26
| | | | | -- MOS_MIGRATED_REVID=94318260
* Quiet error-checking by implementing hash code for object that already had ↵Gravatar Janak Ramakrishnan2015-05-22
| | | | | | | hash code implementation from super class. -- MOS_MIGRATED_REVID=94297315
* Include all input files in the "files" count in the description of a ↵Gravatar Lukacs Berki2015-05-22
| | | | | | | JavaCompileAction. -- MOS_MIGRATED_REVID=94282408
* Allow @repo//foo:bar targets in BUILD filesGravatar Kristina Chodorow2015-05-22
| | | | | | | | This allows you to use @repo//... syntax outside of the WORKSPACE file, which makes it easier to use external dependencies. -- MOS_MIGRATED_REVID=94275085
* Expose Proto providers to Skylark for experimentation.Gravatar Laurent Le Brun2015-05-22
| | | | | | | Providers are still experimental, we'll document them properly later. -- MOS_MIGRATED_REVID=94274960
* Documentation fixes.Gravatar Laurent Le Brun2015-05-22
| | | | | -- MOS_MIGRATED_REVID=94274751
* Expose more CppConfiguration functions to Skylark.Gravatar Laurent Le Brun2015-05-22
| | | | | -- MOS_MIGRATED_REVID=94274156
* Minor cleanup, use "failure" instead of "error" for consistency with the ↵Gravatar Laurent Le Brun2015-05-22
| | | | | | | attribute -- MOS_MIGRATED_REVID=94268096
* Fixes for several issues with using ibtool.Gravatar Googler2015-05-22
| | | | | | | | | | | | Added support for errors, warnings, notices from ibtool Canonicalizes paths passed to ibtool to get around radar 21045660 'ibtool has difficulty dealing with relative paths'. Added support for module argument to ibtool. Consolidates argument passing for storyboards and xibs. Sets output for ibtool to human readable. Turns on auto-activate-custom-fonts for ibtool to match Xcode invocations. -- MOS_MIGRATED_REVID=94240330
* Add a hidden flag which allows us to set the size of the legacy globbing ↵Gravatar Eric Fellheimer2015-05-22
| | | | | | | thread pool. -- MOS_MIGRATED_REVID=94236393
* Add sha1 checksum for maven jarsGravatar Kristina Chodorow2015-05-22
| | | | | | | | | Also made the "repositories" into "repository" while I was here. Fixes #57. -- MOS_MIGRATED_REVID=94219426