aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Adds information about resources referenced from AndroidManifest.xml toGravatar Alex Humesky2016-05-17
| | | | | | | the apk manifest. -- MOS_MIGRATED_REVID=122431761
* Always unzip paths ending in / as directoriesGravatar Kristina Chodorow2016-05-17
| | | | | | | | | | | | | Does file type mean nothing to people? Fixes #1263, also made some code hygiene improvements: * Added some tests. * Broke a java_test out of lib/BUILD. * Renamed ZipFunction so it doesn't look like a child of SkyFunction. -- MOS_MIGRATED_REVID=122431322
* Trim whitespace off of wc resultGravatar Kristina Chodorow2016-05-16
| | | | | | | Apparently Darwin's wc has a slightly different format. Fixes #1267. -- MOS_MIGRATED_REVID=122419982
* Prototype for remote execution using gRPC and Netty transportGravatar Alpha Lam2016-05-16
| | | | | | | | | | | | | | | | | | | This change implements a remote worker that executes work (build or test). Bazel will be a client of the remote worker. The communication uses gRPC and Netty as transport. A single remote worker has little advantage over running locally. Additional infrastructure is needed to run workers on multiple machines and distributing the work among them. This change provides the basic building blocks for a distributed build farm. (Mainly reformatting changes compared to https://bazel-review.googlesource.com/3110, some BUILD file changes.) -- Change-Id: If7d285444ef42a6823b59443af17b61b04b9ce6a Reviewed-on: https://bazel-review.googlesource.com/#/c/3110/ MOS_MIGRATED_REVID=122376861
* Memory Optimizations:Gravatar Googler2016-05-16
| | | | | | | | * Cache the FullyQualifiedName instances. Due to a very high number of duplicated resource keys, all FullyQualifiedNames should be effectively interned. * Presume xliff in all resources. Inlining the xmlns is a bit costly. -- MOS_MIGRATED_REVID=122375955
* Honor a whitelist of dx flags in incremental dexingGravatar Googler2016-05-16
| | | | | -- MOS_MIGRATED_REVID=122342484
* Adds configuration fragment requirements for intellij_info_aspect.Gravatar Michael Staib2016-05-16
| | | | | | | | | | | | | In the near future, aspect RuleContexts will enforce that they only access the configuration fragments they have declared as required, in order to prepare for the eventual migration to dynamic configurations (where only configuration fragments which are actually necessary for a particular build are loaded for that build). This change adds those declarations to intellij_info_aspect. -- MOS_MIGRATED_REVID=122337003
* Global cleanup change.Gravatar Googler2016-05-16
| | | | | -- MOS_MIGRATED_REVID=122312325
* Adds configuration fragment requirements for AndroidNeverlinkAspect.Gravatar Michael Staib2016-05-16
| | | | | | | | | | | | | In the near future, aspect RuleContexts will enforce that they only access the configuration fragments they have declared as required, in order to prepare for the eventual migration to dynamic configurations (where only configuration fragments which are actually necessary for a particular build are loaded for that build). This change adds those declarations to AndroidNeverlinkAspect. -- MOS_MIGRATED_REVID=122296909
* Adds configuration fragment requirements for J2ObjcAspect.Gravatar Michael Staib2016-05-16
| | | | | | | | | | | | | In the near future, aspect RuleContexts will enforce that they only access the configuration fragments they have declared as required, in order to prepare for the eventual migration to dynamic configurations (where only configuration fragments which are actually necessary for a particular build are loaded for that build). This change adds those declarations to J2ObjcAspect. -- MOS_MIGRATED_REVID=122296270
* Stop converting temporary direct deps to a set. In almost all cases, this ↵Gravatar Janak Ramakrishnan2016-05-16
| | | | | | | conversion is unnecessary and wasteful. In the remaining cases, the set conversion can be explicit. -- MOS_MIGRATED_REVID=122294939
* Speed Optimizations:Gravatar Googler2016-05-16
| | | | | | | | | * Adds threading to the AndroidDataWriter and AndroidDataSerializer. * Changes to a BufferedWriter for the Writer (turns out it's faster for string writing.) * Added buffers to the serializer reading. -- MOS_MIGRATED_REVID=122280993
* Update JavaDoc for class Artifact.Gravatar Rumou Duan2016-05-16
| | | | | -- MOS_MIGRATED_REVID=122261549
* Uses long in portable_sysctlbyname instead of jlong. Fixes #1249. Fixes #1254.Gravatar Yue Gan2016-05-16
| | | | | -- MOS_MIGRATED_REVID=122257999
* Print a proper error when calling a rule from a .bzl fileGravatar Laurent Le Brun2016-05-16
| | | | | -- MOS_MIGRATED_REVID=122251175
* Improve pass-through during buildGravatar Klaus Aehlig2016-05-13
| | | | | | | | | | | | | If tests are run with --test_output=streamed, output has to be passed through before the end of the (overall) build. In this situation, enforcing a line-end to redraw the status bar messes up the output that is streamed through. Therefore, buffer stdout/stderr to full lines and pass them through without extra newlines added. -- Change-Id: I52d5dfbd1cb30a6ce2d7d2fd34658a606abcc277 Reviewed-on: https://bazel-review.googlesource.com/#/c/3620 MOS_MIGRATED_REVID=122248012
* Rollback of commit 7f339de7feb071d790ecbca1c346244f5794a7e3.Gravatar Greg Estren2016-05-13
| | | | | | | | | | | | | | | | | *** Reason for rollback *** This is breaking ~1,000 tests in the latest Blaze nightly: [] Per sheriff policy, we need to either roll back or provide a quick fix tonight. *** Original change description *** Optimize hotspot in DependencySet.process(). -- MOS_MIGRATED_REVID=122220429
* Fix wrong method accessor in "this dep isGravatar Greg Estren2016-05-13
| | | | | | | allowed but with a warning" messages. -- MOS_MIGRATED_REVID=122194162
* Support NDK r11 in bazelGravatar Alex Humesky2016-05-13
| | | | | | | RELNOTES: Added supported for Android NDK revision 11 -- MOS_MIGRATED_REVID=122181286
* Finally remove the android_jack attribute from android_sdk.Gravatar Michael Staib2016-05-13
| | | | | | | | | Deletes the now-useless android_jack attribute; its functionality has already been turned off, so there is not much to remove besides the attribute definition. -- MOS_MIGRATED_REVID=122171309
* Make CppConfiguration fragment available from CcToolchainProvider.Gravatar Googler2016-05-13
| | | | | -- MOS_MIGRATED_REVID=122170387
* Fix NullPointerException when using android resource shrinking with an ↵Gravatar Andrew Pellegrini2016-05-12
| | | | | | | incomplete primary resource container. -- MOS_MIGRATED_REVID=122160699
* Refactoring: Introduced AttributeValueSource to handle attribute name ↵Gravatar Florian Weikert2016-05-12
| | | | | | | | | | | | validation and conversion for different types of attributes. Two reasons for this change: 1. These tasks shouldn't be the business of SkylarkRuleClassFunctions which previously handled such things. 2. With unknown commit we have to take care of three different types of attributes (normal vs. late-bound vs. computed default), which means that a boolean argument is no longer sufficient. -- MOS_MIGRATED_REVID=122136679
* apple_binary creates _lipo.a (multi-architecture archive library)Gravatar Chris Parsons2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122134847
* Setting a year length to 365 days.Gravatar Googler2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122115984
* Allow modules to inject a custom AttributeContainer.Gravatar Janak Ramakrishnan2016-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | Rollback of commit cda4b4eae0c495a8f90f2a70a8db46e34062ee26. *** Reason for rollback *** Roll-forward with fixes (see ExternalPackageBuilder). *** Original change description *** Automated [] rollback of commit 178a3dfda8bf72abf22758597a90a4afb8eed181. *** Reason for rollback *** Broke ci.bazel.io. See #1234. *** Original change description *** Allow modules to inject a custom AttributeContainer. -- MOS_MIGRATED_REVID=122100417
* Add a simple e2e app build test for swift_library.Gravatar Dmitry Shevchenko2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122099968
* Refactor Blaze command line construction to allow for greater flexibility ↵Gravatar Eric Fellheimer2016-05-12
| | | | | | | and separation of concerns. -- MOS_MIGRATED_REVID=122067150
* Style cleanups.Gravatar Damien Martin-Guillerez2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122058951
* Introducing SpawnActionTemplate, a stub action for TreeArtifacts at analysis ↵Gravatar Rumou Duan2016-05-12
| | | | | | | time that can expand into a list of SpawnActions operating on associated TreeFileArtifacts inside TreeArtifacts at execution time. -- MOS_MIGRATED_REVID=122056131
* Skylark: allow_files can now accept a string list argumentGravatar Laurent Le Brun2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122052644
* Add feature to selectively disable Blaze's cc include scanner.Gravatar Googler2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122052211
* Remove return value from ctx.file_action functionGravatar Laurent Le Brun2016-05-12
| | | | | | | It was useless anyway. -- MOS_MIGRATED_REVID=122051899
* Optimize hotspot in DependencySet.process().Gravatar Googler2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122050015
* Make create_embedded_tools.sh an sh scriptGravatar Klaus Aehlig2016-05-11
| | | | | | | | | | | | This script is called directly (and not as an argument to the shell), hence the #!-line needs to be correct. As the script does not use any bash-specific feature, we can maintain it as a script for the POSIX shell, which has the advantage that the path is canonical. -- Change-Id: Id1d1d0a4f4516c91fa25cf2402dda5190e618166 Reviewed-on: https://bazel-review.googlesource.com/#/c/3602 MOS_MIGRATED_REVID=122046234
* On FreeBSD, don't assume bash to be installed under /binGravatar Klaus Aehlig2016-05-11
| | | | | | | | | | Instead, take the path from the environment, if provided, otherwise use the path /usr/local/bin/bash of the default installation. -- Change-Id: Ida48967a2dc9b4ed321959b140391b3d44844035 Reviewed-on: https://bazel-review.googlesource.com/#/c/3600 MOS_MIGRATED_REVID=122045593
* Remove the disable_pbh feature again.Gravatar Googler2016-05-11
| | | | | -- MOS_MIGRATED_REVID=122044135
* Refactor ios_split_cpu to be apple_split_cpu, in preparation for using it to ↵Gravatar Chris Parsons2016-05-11
| | | | | | | | | specify platform mutli_cpu splits other than on ios_multi_cpu (such as a split on watchos) No users should be manually specifying this flag, so this shouldn't break anyone... -- MOS_MIGRATED_REVID=122037152
* Reconcile cc and objc default compiler flags in the crosstool.Gravatar Cal Peyser2016-05-11
| | | | | -- MOS_MIGRATED_REVID=122035585
* Action configs are activated like features (instead of being activated by ↵Gravatar Cal Peyser2016-05-11
| | | | | | | default). Action configs can imply features. -- MOS_MIGRATED_REVID=122032003
* Stop catching RuntimeException. This made the errors in issue #1234 more ↵Gravatar Janak Ramakrishnan2016-05-11
| | | | | | | confusing. And we should never catch RuntimeException unless we're about to crash. -- MOS_MIGRATED_REVID=122031190
* Dynamic configurations: have HostTransition just clone theGravatar Greg Estren2016-05-11
| | | | | | | | | | | | | | | original options if they're already from the host. This fixes an obscure incompatibility between Bazel's flag invocation policy infrastructure and multiple host configurations. In short, when multiple host configurations are possible, policy settings may not get consistently applied. Bazel invocation policies: https://github.com/bazelbuild/bazel/blo[]d24e2b69789ea54762ab034fdafc205cdcecea5/src/main/protobuf/invocation_policy.proto -- MOS_MIGRATED_REVID=122014371
* Print an error message when the wrong type of input is given as an aspectGravatar Kristina Chodorow2016-05-11
| | | | | | | | | And add a test. Another issue I found while attempting to reproduce #1228, but not actually a fix for that bug. -- MOS_MIGRATED_REVID=121998625
* Flip --deep_execroot to default to trueGravatar Kristina Chodorow2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121996611
* Use runfiles path, not execroot path, for Skylark's short_pathGravatar Kristina Chodorow2016-05-11
| | | | | | | Will help with fixing #1233. -- MOS_MIGRATED_REVID=121993946
* Adds dSYMs from embedded extensions to the outputs of ios_application.Gravatar Dmitry Shevchenko2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121987056
* Make RegexFilterExpression publicGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121982887
* Add support for custom "no match" errors in select()s.Gravatar Greg Estren2016-05-11
| | | | | | | | | | | | | | | | | | | | From: https://github.com/bazelbuild/bazel/issues/1225 Example: cc_binary( name = "hello_custom_no_match_error", srcs = select( { "//conditions:a": ["not_chosen.cc"] }, no_match_error = "You always have to choose condition a!" ) ) Fixes #1225 -- MOS_MIGRATED_REVID=121978888
* Allow Skyframe tests to use the NotifyingGraph and DeterministicGraph ↵Gravatar Janak Ramakrishnan2016-05-11
| | | | | | | helpers to enforce concurrency synchronization points and determinism even if they are not using an InMemoryGraph-backed evaluator. -- MOS_MIGRATED_REVID=121977783
* Move methods getRunfilesSuppliers, inputsKnown and discoversInputs fromGravatar Rumou Duan2016-05-11
| | | | | | | | | | ActionAnalysisMetadata to ActionExecutionMetadata. They are not called in analysis phase. RELNOTES:None. -- MOS_MIGRATED_REVID=121976260