aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Rollback of commit 13ef26d0817a429bf214d3dc4c5551e616e403fe.Gravatar Laurent Le Brun2015-06-30
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks 'blaze query' *** Original change description *** Skylark: write labels readably Write a label as Label("//x:x") instead of merely "//x:x", so it can be read and evaluated back, as per the Python convention. However, the OutputFormatter for BUILD files still needs to output "//x:x". -- MOS_MIGRATED_REVID=97156166
* For each objc target, export all xcdatamodels in the transitive closure to ↵Gravatar Rumou Duan2015-06-30
| | | | | | | XcodeGen. -- MOS_MIGRATED_REVID=97145288
* Fix Bazel compilation: add missing strict java dependenciesGravatar Damien Martin-Guillerez2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97140679
* Add missing transitive dependencies of Error Prone.Gravatar Liam Miller-Cushon2015-06-29
| | | | | | | Fixes #265 -- MOS_MIGRATED_REVID=97140486
* Add basic support for building Java AppEngine WARGravatar Damien Martin-Guillerez2015-06-29
| | | | | | | | This support is based on kchodorow@'s genrule to build the Bazel's dashboard AppEngine and was tested with it. -- MOS_MIGRATED_REVID=97135934
* Update error-prone-javac version to javac-1.9.0-dev-r2644-2Gravatar Liam Miller-Cushon2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97135891
* Allow resources to be added only once in each rule.Gravatar Peter Schmitt2015-06-29
| | | | | | | Otherwise this may cause collisions in the final bundle. -- MOS_MIGRATED_REVID=97132278
* Remove unnecessary dependencies from action context consumers.Gravatar Philipp Wollermann2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97131151
* Eliminate BuildConfiguration.getShortName().Gravatar Lukacs Berki2015-06-29
| | | | | | | This was only used in error reporting, and the interface of BuildConfiguration could use some more simplicity. The comment on BuildConfiguration.getShortName() was confusing: that field is *not* actually used to compute the output directory name, which took me a few minutes to realize. -- MOS_MIGRATED_REVID=97128287
* Split sandbox code from standalone module.Gravatar Philipp Wollermann2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97126283
* Allow / in repository namesGravatar Kristina Chodorow2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97125970
* Deflake GlobTest dealing with glob interruption. Do not assume that an ↵Gravatar Eric Fellheimer2015-06-29
| | | | | | | interrupted result implies that the thread pool is idle. -- MOS_MIGRATED_REVID=97125559
* Remove --experimental_persistent_javac. Bazel does not support theGravatar Han-Wen Nienhuys2015-06-29
| | | | | | | "local" spawn strategy. -- MOS_MIGRATED_REVID=97124055
* Allow relative paths for generate_workspace argumentsGravatar Kristina Chodorow2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97121724
* Update CI script to build against a common ancestor of origin/master and HEADGravatar Thomas Broyer2015-06-29
| | | | | | | | | | Also give advice for some changes to make to the script depending on the environment and events triggering the script. -- Change-Id: Ic230d96c29785c8df392b72fc4809eb7703fafff Reviewed-on: https://bazel-review.googlesource.com/#/c/1570/ MOS_MIGRATED_REVID=97118314
* Ijar's zipper: fallback when external attributes is unsetGravatar Damien Martin-Guillerez2015-06-29
| | | | | | | | Some ZIP files does not define external attributes leading to wrong uncompression by the zipper of ijar. -- MOS_MIGRATED_REVID=97117828
* Remove references to all Android tools from AndroidConfiguration.Gravatar Lukacs Berki2015-06-29
| | | | | | | | | Bazel unconditionally loads all the labels in configurations for now, and we don't want Android stuff to be loaded if the build doesn't have anything to do with Android. The alternative would be to fix this by not loading all configuration fragments, but this is the more expedient solution. The SDK will be dealt with by binding //external:android/sdk to a dummy SDK unless overridden by an android_sdk_repository rule. -- MOS_MIGRATED_REVID=97116824
* Remove BuildConfiguration.cacheKey() and replace .shortCacheKey() with a ↵Gravatar Lukacs Berki2015-06-29
| | | | | | | | | | | .checksum() method that is computed from the checksum of the build options. Also remove Fragment.cacheKey() and Fragment.getName(). The reasoning is that within a single build, if two BuildConfigurations share the same BuildOptions, they must be the same because BuildConfiguration can only be a function of BuildOptions, specific targets (which stay the same during a build) and BlazeDirectories (which stay the same during the lifetime of a server). Between different builds if the configurations are recreated, they will always be considered different because Java reference equality (==) is used for comparing BuildConfigurations. Also remove "Serializable" tags from configuration-related things. -- MOS_MIGRATED_REVID=97107881
* Make split configuration transitions work with Bazel.Gravatar Lukacs Berki2015-06-29
| | | | | | | Creating the split configurations in Bazel uncovered an incrementality issue: ConfigurationFactory.hostConfigCache kept state between builds untracked by Skyframe, which is not good, and therefore had to be fixed. -- MOS_MIGRATED_REVID=97106917
* Batch retrieval of children when removing reverse deps.Gravatar Janak Ramakrishnan2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97022077
* Refactor HOST configuration transitions to be dynamic-configuration friendly.Gravatar Greg Estren2015-06-29
| | | | | | | | | Dynamic configuration transitions require access to Skyframe (since they instantiate BuildConfigurations as Skyframe nodes). There are various places in Bazel where static transitions are done with no convenient Skyframe access. This cl shuffles host transitions, in particular, to places that are more amenable. This change also assumes one host configuration per invocation. While this isn't strictly true (each target configuration can have its own host, and multiple target configurations are possible per build), we don't leverage that functionality in any meaningful way today. So until we have a proper interface for multiple host configurations, let's not block dynamic config progress on it. -- MOS_MIGRATED_REVID=97008479
* Implement multi-level intermediate dwp actions. These avoid OOMsGravatar Googler2015-06-29
| | | | | | | by reducing the size of the final dwp action. -- MOS_MIGRATED_REVID=97004508
* Refactor the legacy globbing thread pool to make use of more modern ↵Gravatar Eric Fellheimer2015-06-29
| | | | | | | | | concurrency abstractions. Care is taken to maintain the invariant that the glob result returns after all of the work is done, even if there was an exception that cuts the task short. Interruption is an exception to this: In this case, the GlobCache later cancels the task and ensures it is done. -- MOS_MIGRATED_REVID=97000506
* Skylark: Glob argument is exclude, not excludesGravatar Laurent Le Brun2015-06-29
| | | | | -- MOS_MIGRATED_REVID=96991829
* experimental_ios_test: Support data dependenciesGravatar Daniel Wagner-Hall2015-06-29
| | | | | | | This CL makes me so unhappy. As a follow up, I may rename BaseRule and/or RuleBase. Because seriously, you guys, naming. -- MOS_MIGRATED_REVID=96990894
* Advertise JavaSourceInfoProvider.class in java_library rule.Gravatar Rumou Duan2015-06-29
| | | | | -- MOS_MIGRATED_REVID=96989486
* Update mainGroup sourceTree to be absolute instead of group.Gravatar Googler2015-06-29
| | | | | | | | | Currently the path of mainGroup is being set to an absolute path and the sourceTree is "<group>" (the default). Xcode doesn't seem to have a problem with this, but it is confusing other tools like AppCode. -- MOS_MIGRATED_REVID=96976734
* Re-enable generate_workspace testGravatar Kristina Chodorow2015-06-29
| | | | | -- MOS_MIGRATED_REVID=96974643
* Refactoring of SkyframeTargetPatternEvaluator. Now instead of making ↵Gravatar Marian Lobur2015-06-29
| | | | | | | separate calls to skyframeExecutor for each target patterns, all of them are computed in one call. -- MOS_MIGRATED_REVID=96973513
* Skylark: re-implemented String#format(), which has the following effects:Gravatar Florian Weikert2015-06-29
| | | | | | | | | - Braces can now be escaped ('{{' and '}}') - In addition to named arguments, both manual ('{0}') and automatic ('{}') positional replacement fields are supported - An error related to specific regex characters (such as '$') was fixed -- MOS_MIGRATED_REVID=96971731
* Only run the worker if the build is incremental. Gravatar Han-Wen Nienhuys2015-06-26
| | | | | | | This feature is tunable through --worker_max_changed_files flag. If unspecified, all builds are considered incremental. -- MOS_MIGRATED_REVID=96968367
* Fix libunix dependency on OS XGravatar Kristina Chodorow2015-06-26
| | | | | | | Fixes #261. -- MOS_MIGRATED_REVID=96967085
* Skylark doc, wrt configurationsGravatar Laurent Le Brun2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96966305
* Skylark: Document executable and test rulesGravatar Laurent Le Brun2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96965664
* Support --nowatchfs global option in the launcher.Gravatar Han-Wen Nienhuys2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96965558
* Clean up ReleaseBundlingSupports calling of ShellCommands.Gravatar Googler2015-06-26
| | | | | | | Escapes several of the paths, and gets rid of hardcoding bash -c in several locations. -- MOS_MIGRATED_REVID=96927479
* Remove unused SkyFunctionName isComputed.Gravatar Michajlo Matijkiw2015-06-26
| | | | | | | | | Removing since we don't appear to need it. Replaced SkyFunctionName.computed with create to simplify changing everything. Moved all constructors using new to use create for consistency. Chose create over new since it was less changes. -- MOS_MIGRATED_REVID=96914199
* Fix Blaze/Bazel mixup in docsGravatar Googler2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96911530
* Fix of intermittent hang when building Aar files. This is an untested fix ↵Gravatar Andrew Pellegrini2015-06-26
| | | | | | | because the hang cannot be reproduced on demand, but not calling System.exit() has caused the same problem previously in both AndroidResourceProcessingAction and AarGeneratorAction. Mimics the exception handling behavior in AndroidResourceProcessingAction, which is not known to cause any hangs. -- MOS_MIGRATED_REVID=96911485
* Rollback of commit 6f049bb19941b89d16364b26cca66aae09f9cb42.Gravatar Nathan Harmata2015-06-26
| | | | | | | | | | | | | *** Reason for rollback *** Ended up not being necessary; I was able to rephrase things using SettableFuture instead. *** Original change description *** Introduce a simple concurrent Multimap-like data structure with reference counting. -- MOS_MIGRATED_REVID=96884190
* Open source AarGeneratorAction and AndroidResourceProcessingAction.Gravatar Andrew Pellegrini2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96883818
* Add "allrdeps" function that computes rdeps in whatever universe happens to ↵Gravatar Janak Ramakrishnan2015-06-26
| | | | | | | | | | | be loaded. This avoids having to materialize the full universe scope in memory when doing an rdeps query over "//...". Another option considered was special-casing the string "//..." if it was the first argument to rdeps, but this seemed cleaner. -- MOS_MIGRATED_REVID=96878999
* Add a blog posts on Java configuration.Gravatar Damien Martin-Guillerez2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96877924
* Use Apache Velocity for templating for generating Build Encyclopedia. ↵Gravatar David Chen2015-06-26
| | | | | | | | | | | | | Refactor code used for extracting documentation from rule classes into separate class. Todo after this CL: * Use RuleDocumentation and RuleDocumentationAttribute directly in .vm templates to further simplify BuildEncyclopediaProcessor code * Use VTL #include for including common attribute documentation * Split BE into multiple pages * Use templating for Skylark Library -- MOS_MIGRATED_REVID=96865477
* Create an example script for CI servers.Gravatar Andrew Z Allen2015-06-26
| | | | | | | | | | | | | This script looks at the files changed in git against origin/master and queries for all build and test targets associated with those files. Running this script on a CI server should allow you to only test the things that have changed since the last time your merged. -- Change-Id: I30d33e21eff370b795e1055c7150906f2a6782cd Reviewed-on: https://bazel-review.googlesource.com/#/c/1470 MOS_MIGRATED_REVID=96849243
* Add android_common to third_party at version 23.1.3.Gravatar Andrew Pellegrini2015-06-25
|
* Removed Truth 0.24+ binary from third_partyGravatar Damien Martin-Guillerez2015-06-25
|
* Setup FDO command-line options via feature configurations.Gravatar Googler2015-06-25
| | | | | -- MOS_MIGRATED_REVID=96835732
* Update Error Prone to 2.0.4Gravatar Liam Miller-Cushon2015-06-25
| | | | | -- MOS_MIGRATED_REVID=96816237
* Externalize documentation for -extra_checksGravatar Liam Miller-Cushon2015-06-25
| | | | | -- MOS_MIGRATED_REVID=96814231