aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Adds build encyclopedia info for gen jars.Gravatar Alex Humesky2015-07-13
| | | | | -- MOS_MIGRATED_REVID=97991619
* Provide placeholder rule class for deserialized Skylark rulesGravatar Mark Schaller2015-07-10
| | | | | | | | | | | | At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. Resubmitting after previous rollback. -- MOS_MIGRATED_REVID=97972209
* Added tests for [] (invalid double slashes in load statements)Gravatar Florian Weikert2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97953408
* Invalid double slashes in load statements are now also discovered in BUILD modeGravatar Florian Weikert2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97951248
* Skylark: Implemented ctx.expand_location() which expands the location(s) of ↵Gravatar Florian Weikert2015-07-10
| | | | | | | the target file(s) of labels -- MOS_MIGRATED_REVID=97949264
* Actions can now request Skyframe dependencies and bypass action cache checking.Gravatar Laszlo Csomor2015-07-10
| | | | | | | | | | By implementing the SkyframeAwareAction interface an Action gains the power to request Skyframe dependencies after its declared inputs have been built and discovered but before execution. Such actions bypass the action cache check and rely on Skyframe's dependency tracking to decide when to be reexecuted. -- MOS_MIGRATED_REVID=97947856
* Add the android_http_tools_repository rule that lets one download the ↵Gravatar Lukacs Berki2015-07-10
| | | | | | | Blaze-specific Android tools (*not* the NDK or the SDK) from a remote server. -- MOS_MIGRATED_REVID=97945259
* Add getter for SkyFunctionName's nameGravatar Michajlo Matijkiw2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97926138
* Add debug preconditions guard for null skykeys to ↵Gravatar Michajlo Matijkiw2015-07-10
| | | | | | | InMemoryMemoizingEvaluator#delete -- MOS_MIGRATED_REVID=97908428
* Allows bundlemerge to handle zip files that have directory entries in them. ↵Gravatar Googler2015-07-10
| | | | | | | | | Directory entries are allowed to exist in multiple zip files. File entries are only allowed to exist in one zip file. RELNOTES:None -- MOS_MIGRATED_REVID=97887821
* Log error description, not implementation detailsGravatar Mark Schaller2015-07-10
| | | | | | | | RecursiveDirectoryTraversalFunction should provide a description of what went wrong to the user instead of logging class names. -- MOS_MIGRATED_REVID=97878795
* Improve error reporting in tests when there's an actual event/expected event ↵Gravatar Janak Ramakrishnan2015-07-10
| | | | | | | mismatch. -- MOS_MIGRATED_REVID=97878625
* Adds an output group for gen jars.Gravatar Alex Humesky2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97872859
* Minor tweaks to AndroidLocalToolsRepositoryRule.Gravatar Lukacs Berki2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97872365
* Implement the android_local_tools_repository rule.Gravatar Lukacs Berki2015-07-10
| | | | | | | | | This (and its eventual sibling that downloads these from a .zip file) will be used to relax the requirement that Android tools need to be present in every repository where Android builds are done. Due to lack of any reasonable way to put this in a test, I tested it manually by removing the src and tools/android directories in a workspace and running an Android build. -- MOS_MIGRATED_REVID=97849649
* Make android_binary rules with the application_id= attribute set the correct ↵Gravatar Lukacs Berki2015-07-10
| | | | | | | package name for mobile-install. -- MOS_MIGRATED_REVID=97849200
* Make include() work with remote repositories.Gravatar Lukacs Berki2015-07-10
| | | | | | | This in itself is not very interesting because include() is deprecated, but it paves the way for fetching the appropriate dependencies for the eventual label-based load() statements. -- MOS_MIGRATED_REVID=97849076
* Handle errors from DirectoryListingFunctionGravatar Mark Schaller2015-07-10
| | | | | | | | | | | | | | | | | | | SkyFunctions that call DirectoryListingFunction directly, as in the case of RecursiveDirectoryTraversalFunction, or transitively, as in the case of IncludeParser's call to GlobFunction, had been failing to handle the exceptions that DirectoryListingFunction can throw. DirectoryListingFunction can throw InconsistentFilesystemException directly, but it can also throw IOException and FileOutsidePackageRootsException because of its call to DirectoryListingStateFunction without any of its own error handling. RecursiveFilesystemTraversalFunction also calls DirectoryListingFunction, but is not yet in use. A follow-up CL will take care of its error handling needs. -- MOS_MIGRATED_REVID=97828177
* Add "errors" to the list of things that actool should report to us.Gravatar Googler2015-07-10
| | | | | | | RELNOTES: errors should now be reported correctly by actoolzip -- MOS_MIGRATED_REVID=97819979
* Throw InterruptedException directly if a query is interrupted, instead of ↵Gravatar Janak Ramakrishnan2015-07-10
| | | | | | | | | wrapping it in a QueryException. QueryException should usually indicate a persistent failure, while an InterruptedException is transient. Wrapping the InterruptedException in a QueryException just obfuscates state. -- MOS_MIGRATED_REVID=97815388
* Exclude third-party tests from closure_library js_library.Gravatar Kamil Jiwa2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97814117
* Remove the option for adding multiple --tool_tag options.Gravatar Googler2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97800307
* Fixes the phrasing of an error message.Gravatar Alex Humesky2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97795868
* Adds gen jar and manifest proto outputs.Gravatar Alex Humesky2015-07-10
| | | | | | | Adds a jar output to Java and Android rules which contains the class files for source files generated from Java annotation processors. For a java_binary foo, the jar will be foo-gen.jar, and for a java_library foo the jar will be libfoo-gen.jar, and similarly for Android. Also adds a binary serialized proto manifest file output to Java and Android rules which describes the contents of the output class jar of those rules, which is used to create the -gen.jar. See src/main/protobuf/java_compilation.proto. -- MOS_MIGRATED_REVID=97793715
* Tolerate "..." as the base filename for the fdo profile.Gravatar Janak Ramakrishnan2015-07-10
| | | | | | | This is fragile, and there might be other places in the codebase this issue occurs. -- MOS_MIGRATED_REVID=97784977
* Add a bit more debugging information in case of a digest mismatch.Gravatar Janak Ramakrishnan2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97782188
* Global cleanup change.Gravatar Googler2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97780353
* Add a separate section for workspace rules in the encyclopediaGravatar Kristina Chodorow2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97771662
* Add a bazel.rc that makes it possible to use --config=android instead of ↵Gravatar Lukacs Berki2015-07-08
| | | | | | | | | --crosstool_top=@androidndk//:toolchain --host_crosstool_top=//tools/cpp:toolchain. I feel dirty. -- MOS_MIGRATED_REVID=97769925
* Add a test for the correct handling BUILD_SCM_STATUS in the workspace status ↵Gravatar Lukacs Berki2015-07-08
| | | | | | | command. -- MOS_MIGRATED_REVID=97766808
* Fix up BazelWorkspaceStatusAction.equals() so that it returns false if the ↵Gravatar Lukacs Berki2015-07-08
| | | | | | | | | workspace status command changes. Fixes #284. -- MOS_MIGRATED_REVID=97766038
* Added a deploy target to AppEngine supportGravatar Damien Martin-Guillerez2015-07-08
| | | | | | | | This target enable deploying to AppEngine directly. This change also use template_action instead of file_action for clarity. -- MOS_MIGRATED_REVID=97763347
* Add missing dependency.Gravatar Han-Wen Nienhuys2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97762435
* Blog post on tweaking the java_toolchainGravatar Damien Martin-Guillerez2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97760002
* Make globs work in remote repositories.Gravatar Lukacs Berki2015-07-08
| | | | | | | | | | | This involved quite a few changes, mainly changing a bunch of places where we refer to packages by a PathFragment to PackageIdentifier. The only wart is the code in PathPackageLocator: ideally, it would just call into PackageLookupFunction. Unfortunately, it is (through globbing and Parser.include) called from within a Skyframe function, and we don't want to have two eval() calls going on at the same time, so we cannot use that. There is a potential correctness issue there: PathPackageLocator now assumes where external repositories are put and assumes that they are there when it gets control, but my understanding is that the associated RepositoryValue is always evaluated before, so it works out okay. -- MOS_MIGRATED_REVID=97751539
* Moves ibtoolzip from src/tools/xcode-common/j/c/g/devtools/ to src/tools/xcode.Gravatar Googler2015-07-08
| | | | | | | | | | Moves ibtoolzip from being java based to being bash based for easier dev/testing. Changes the name of ibtoolzip to ibtoolwrapper to avoid conflicts with currently deployed bazel depending on the ibtoolzip name. Updates realpath Cleans up update_binaries.sh -- MOS_MIGRATED_REVID=97724252
* Rollback of commit 4dbd628dc1384e5dce8c036e2b6bf93dd974bf04.Gravatar Mark Schaller2015-07-08
| | | | | | | | | | | | | | | | | | []*** Reason for rollback *** Large number of newly broken targets found by [] *** Original change description *** Provide placeholder rule class for deserialized Skylark rules At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. -- MOS_MIGRATED_REVID=97716849
* Add --proto:default_values option for blaze query, which can be used to supressGravatar Googler2015-07-08
| | | | | | | | | including attributes not explicitly specified in the output. Works for output=proto and has same semantics as --xml:default_values has for output=xml. -- MOS_MIGRATED_REVID=97710199
* Add tar.gz support for remote repositoriesGravatar Kristina Chodorow2015-07-08
| | | | | | | Fixes #156. -- MOS_MIGRATED_REVID=97702622
* Reintroduce simple smart negation for query universe loadingGravatar Mark Schaller2015-07-08
| | | | | | | | | | This adds a simple form of smart negation to the target pattern sequence processing done for preloading query universes. The use cases for these sequences are controlled, and in practice these sequences are short, so a quadratic cost is acceptable. -- MOS_MIGRATED_REVID=97698204
* Description redacted.Gravatar Googler2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97697160
* Tell the Unused analyzer about SkylarkSignature.Gravatar Francois-Rene Rideau2015-07-08
| | | | | | | Remove some unused field warnings. -- MOS_MIGRATED_REVID=97693607
* Skylark: Fixed a bug where set.union() was erroneously seen as a global functionGravatar Florian Weikert2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97681893
* Provide placeholder rule class for deserialized Skylark rulesGravatar Mark Schaller2015-07-08
| | | | | | | | | | At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. -- MOS_MIGRATED_REVID=97679963
* Activate interleaved package and transitive target loadingGravatar Mark Schaller2015-07-08
| | | | | | | | Hooks up the recently introduced interleaved loading functions to normal graph loading. -- MOS_MIGRATED_REVID=97679451
* Introduce hook to BazelWorkspaceStatusModule that calls externalGravatar Ming Zhao2015-07-08
| | | | | | | | | | | | | script(controled by workspace_status_command option, default to tools/buildstamp/get_workspace_status) to emit addtional workspace information to stable-status.txt. This should address #216. -- Change-Id: Iffb06482489f0d55393e27b0764e6e127fedbc20 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1550 MOS_MIGRATED_REVID=97678871
* Open source tests for android/ziputils.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97677526
* Get rid of legacy default features that are not needed any more.Gravatar Manuel Klimek2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97675547
* Basic dashboard for build resultsGravatar Kristina Chodorow2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97675174
* Open-source workspace_status_command option.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97670493