aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* More changes for chocolatey package.Gravatar Peter Mounce2016-10-14
| | | | | | | | | | | 1. Update required version of msys to match versions that are published on chocolatey 2. Warn user about required possibly incompatible entries in PATH. Closes #1933. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1933 MOS_MIGRATED_REVID=136129573
* Desugar Java 8 for Android builds without incremental dexing.Gravatar Googler2016-10-14
| | | | | | | This includes applying desugaring for mobile-install's stub apk. -- MOS_MIGRATED_REVID=136111631
* Validate ios platform corresponds with watchos platform in watchos extension ↵Gravatar Chris Parsons2016-10-14
| | | | | | | rule. -- MOS_MIGRATED_REVID=136099460
* Support input srcjar in filtered gen jar.Gravatar Googler2016-10-14
| | | | | | | | | | | This supports genrules that output srcjars that are then inputs to java_libraries. Also add support to produce a source jar with the contents of the gen jar. -- MOS_MIGRATED_REVID=136099457
* Refactor AarImportRule into a base rule.Gravatar Adam Michael2016-10-14
| | | | | | | Also moves AAR-specific tools from tools/zip into tools/android and renames embedded_jar_extractor to aar_embedded_jars_extractor because in a future change it will extract classes.jar and libs/*.jar. -- MOS_MIGRATED_REVID=136099324
* Change aar_import rule to directly unzip the resource files in a spawn action.Gravatar Rumou Duan2016-10-14
| | | | | | | PopulateTreeArtifactAction is going away. -- MOS_MIGRATED_REVID=136093999
* RELNOTES: Remove flag --experimental_zip_tree_artifact from j2objc Java ↵Gravatar Rumou Duan2016-10-14
| | | | | | | annotation processing support. -- MOS_MIGRATED_REVID=136084697
* --watchfs for OSX: use kFSEventStreamCreateFlagNoDefer to receive event as ↵Gravatar Damien Martin-Guillerez2016-10-14
| | | | | | | | | | | | | | | | soon as they arrives See https://developer.apple.com/reference/coreservices/1455376-fseventstreamcreateflags/kfseventstreamcreateflagnodefer?language=objc Also added the integration test now it is no more flaky. Tested with `bazel test src/test/java/com/google/devtools/build/lib/skyframe:SkyframeTests --runs_per_test 10 --test_filter=com.google.devtools.build.lib.skyframe.MacOSXFsEventsDiffAwarenessTest --nocache_test_results` Fixes #1362. -- Change-Id: I42ceebd8c5a2e0156653b140ca049af45d2e1e80 Reviewed-on: https://bazel-review.googlesource.com/6613 MOS_MIGRATED_REVID=136078777
* Fix IllegalStateException when reloading several time the same extensionGravatar Damien Martin-Guillerez2016-10-14
| | | | | | | | | Fixes #1469. -- Change-Id: I3ffc18208ba346e03658ebeb4d2bb5938113a476 Reviewed-on: https://bazel-review.googlesource.com/6615 MOS_MIGRATED_REVID=136073702
* Rollback of commit 2891ec527eed27d0c6460d66f51cb66a43373b6a.Gravatar Damien Martin-Guillerez2016-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Causes our integration tests on Darwin to time out *** Original change description *** Make --watchfs a common command option. Adding an options parameter to DiffAwareness#getCurrentView seems like the simplest way to achieve that. Alternatives considered: 1. Making the diff awareness modules stateful. However, I did not want to do so as I've also been working on improving the module API to reduce state, or at least to have a proper lifecycle management for any necessary state. 2. Making the watchFs flag a constructor parameter. However, that would also invalidate any implement... *** -- MOS_MIGRATED_REVID=136070807
* Slight refactor of ExternalFilesHelper:Gravatar Nathan Harmata2016-10-14
| | | | | | | | | | | -Make FileType and ExternalFileAction public. -Have producers use ExternalFileAction, rather than a boolean, to specify the desired behavior. And a big change in semantics (doesn't affect Bazel): -Replace ExternalFileAction.ERROR_OUT with ExternalFileAction.ASSUME_NON_EXISTENT_AND_IMMUTABLE, which does what it sounds like. This new action, like the old ERROR_OUT, is _not_ used in Bazel. -- MOS_MIGRATED_REVID=136063159
* Simplify imports in BuildFileASTGravatar Laurent Le Brun2016-10-14
| | | | | | | We don't actually need a map. -- MOS_MIGRATED_REVID=136040005
* Make --watchfs a common command option.Gravatar Ulf Adams2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | Adding an options parameter to DiffAwareness#getCurrentView seems like the simplest way to achieve that. Alternatives considered: 1. Making the diff awareness modules stateful. However, I did not want to do so as I've also been working on improving the module API to reduce state, or at least to have a proper lifecycle management for any necessary state. 2. Making the watchFs flag a constructor parameter. However, that would also invalidate any implementations that don't use the flag (of which we have several). 3. Only passing in a single boolean flag instead of an options class provider; however, this is a more principled, futureproof API, which allows other modules / awareness implementations to use their own options. RELNOTES: --watchfs is now a command option; the startup option of the same name is deprecated. I.e., use bazel build --watchfs, not blaze --watchfs build. -- MOS_MIGRATED_REVID=136026835
* Refactoring for LoadStatementGravatar Laurent Le Brun2016-10-13
| | | | | | | | | | Use StringLiteral instead of String+Location. This improves consistency. getRawImports() now returns StringLiterals, which makes possible to show location in error messages. -- MOS_MIGRATED_REVID=136019586
* Make Darwin sandboxing default again.Gravatar Yue Gan2016-10-13
| | | | | | | RELNOTES: Darwin sandboxing is default. -- MOS_MIGRATED_REVID=136013826
* Rollback of commit f695c54a8f5f6be7adb678d305005f78e4b44424.Gravatar Philipp Wollermann2016-10-13
| | | | | -- MOS_MIGRATED_REVID=136011723
* Fix createSymlinksForInputs to correctly handle existing files that are not ↵Gravatar Philipp Wollermann2016-10-13
| | | | | | | | | symlinks. This bug caused rare NotASymlinkException exceptions when using sandboxed workers. -- MOS_MIGRATED_REVID=136010526
* Provide a file action cache for action executor in TimestampBuilderTestCase.Gravatar Rumou Duan2016-10-13
| | | | | -- MOS_MIGRATED_REVID=135971761
* Refactor getParentWithSkylarkModule() into SkylarkInterfaceUtilsGravatar Jon Brandvein2016-10-13
| | | | | -- MOS_MIGRATED_REVID=135956016
* Global cleanup change.Gravatar Liam Miller-Cushon2016-10-13
| | | | | -- MOS_MIGRATED_REVID=135942005
* Adds an enum to describe how PackageLookupFunction should handle package labelsGravatar John Cater2016-10-13
| | | | | | | which cross into a sub-repository. Part of #1592. -- MOS_MIGRATED_REVID=135931868
* Rollback of commit 2fcf0e4cfb97af7cc8b8a090c5144c87b759bc13.Gravatar Adam Michael2016-10-12
| | | | | | | | | | | | | | | *** Reason for rollback *** Breaks android_integration_test, see https://github.com/bazelbuild/bazel/issues/1927 *** Original change description *** Generate aar_import and java_import rules for local maven repositories in <sdk>/extras for sdk in android_sdk_repository. Addresses https://github.com/bazelbuild/bazel/issues/1745. -- MOS_MIGRATED_REVID=135926334
* Add global_whole_archive into MSVC CROSSTOOLGravatar Yun Peng2016-10-12
| | | | | | | | | | | | | This feature is needed when linking the _pywrap_tensorflow.dll on Windows. Which will force link all the libraries in deps. I used /WHOLEARCHVIE to implement this, so it only works with Visual Stduio 2015 update 2 or later. -- Change-Id: I0b018d3f4f482e56d1ebf78faa08fa46e1d60bbf Reviewed-on: https://bazel-review.googlesource.com/#/c/6612 MOS_MIGRATED_REVID=135923622
* Prevent empty swift_library srcs.Gravatar Googler2016-10-12
| | | | | | | * This produces more human-readable error messages in cases where sources are omitted (e.g. if a glob matches nothing). -- MOS_MIGRATED_REVID=135920885
* Remove unneeded annotationGravatar Jon Brandvein2016-10-12
| | | | | | | | It was a temporary workaround due to client Skylark code that was sensitive to type(). That code has been fixed. -- MOS_MIGRATED_REVID=135920620
* Make MSVC wrapper script work with Python 3Gravatar Yun Peng2016-10-12
| | | | | | | | | Currently, TensorFlow only supports python3.5 on Windows. -- Change-Id: Ia3e805a7fdca06b79d9c00b0a2e83b9dd41e5f78 Reviewed-on: https://bazel-review.googlesource.com/#/c/6611 MOS_MIGRATED_REVID=135919759
* Fix failing test on windows #1930Gravatar Marcel Hlopko2016-10-12
| | | | | | -- Reviewed-on: https://bazel-review.googlesource.com/#/c/6610/ MOS_MIGRATED_REVID=135915721
* Automated [] rollback of commit e898023ffc6c47a27312c4d3659dbeeccdb3cd37.Gravatar Yue Gan2016-10-12
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Make darwin sandboxing default again. *** Original change description *** Fix #1849: Sandboxing on OS X should be turned off by default for 0.3.2. This restructures the way we set the default Spawn strategy so that each BlazeModule supplying a SpawnActionContext has an ActionContextConsumer that sets its own SpawnActionContext as the default, with the BazelRulesModule being put as the last module loaded in BazelMain, so that it can override that decision - it only does, if the user explicitly specifies a --spawn_strategy flag. IMHO this is a much saner approach than... *** ROLLBACK_OF=134770427 RELNOTES: Darwin sandboxing is default. -- MOS_MIGRATED_REVID=135905657
* Site publishing: add checksum computation to `gsutil rsync`Gravatar Damien Martin-Guillerez2016-10-12
| | | | | | | | | | `gsutil rsync` does not compute checksum when one of its argument is on a local filesystem because this can be slow, for our use case we want to do it or two files with the same size will be seen as identical. -- MOS_MIGRATED_REVID=135903003
* Add the coverage report generator to TestParams when the configuration says ↵Gravatar Lukacs Berki2016-10-12
| | | | | | | we should collect coverage, not only when the rule says so. -- MOS_MIGRATED_REVID=135896208
* Add a design document on a distribution artifact for bazelGravatar Klaus Aehlig2016-10-12
| | | | | | | | | | | | | | | | | | With bazel sources depending on checked-in binaries for the supported platforms, porting bazel to a new platform is hard; that approach also doesn't scale well if we want to support users on more platforms. This design document suggests an alternative approach based on creating a zip-archive that, besides all sources, also contains the generated output of the protoc actions. From this archive, bazel can be bootstrapped without depending on the right protoc on the target platform. -- Change-Id: I401452435ed4189ea95260961d981ccc99a98560 Reviewed-on: https://bazel-review.googlesource.com/#/c/6530 MOS_MIGRATED_REVID=135891242
* Need to make methods accessible, as currently they are only available to ↵Gravatar Googler2016-10-12
| | | | | | | package. -- MOS_MIGRATED_REVID=135869348
* Explicitly specify the directories in the Android SDK needed for tests.Gravatar Adam Michael2016-10-12
| | | | | | | | | | | | //src/test/shell/bazel/test-setup.sh uses this filegroup to symlink the contents of the Android SDK into the workspace for the test. However, since we add BUILD files into the Android SDK, we don't want to copy those into the workspace because they will be regenerated by the integration test. Fixes https://github.com/bazelbuild/bazel/issues/1927. -- MOS_MIGRATED_REVID=135858750
* When requesting all transitive traversal values recursively, request ↵Gravatar Janak Ramakrishnan2016-10-12
| | | | | | | | | | | packages/targets in parallel with subdirectories. The previous implementation was vulnerable to incomplete traversal in case of cycles: if a subdirectory had a cycle, the targets in the package would never be requested. Requesting the package first would create a different problem, where the subdirectories would never be requested if the package depended on a cycle. Also stop uniquifying Skylark import cycles when inlining. While uniquification is nice, this was leading to us emitting an error during queries that we weren't actually emitting when not inlining. Putting the cycle into the exception error message should be enough information, and since we emit an error per exception anyway, the number of events will still be lower (although each event might be more verbose). -- MOS_MIGRATED_REVID=135846847
* Automated [] rollback of commit 8d36a34ee02ad0fd07d713b8c8ee273ff30d2fb9.Gravatar Jon Brandvein2016-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Fixed depended-on broken CL *** Original change description *** Automated [] rollback of commit f341bc4f6e918b6a41c1536c111bbf24f14f967b. *** Reason for rollback *** Depends on c/135226123 which depends on commit 9c25afe750a937b2152c21a93effc8b9ba82c27b, which needs to be rolled back. *** Original change description *** Add ctx.get_actions(), for inspecting the actions created by the current rule. This returns an ActionsProvider. In the case where the rule does not emit any more actions afterwards, the provider is equivalent to the one that gets passed on to the rule's dependencies. This may be u... *** ROLLBACK_OF=135781162 -- MOS_MIGRATED_REVID=135833495
* Initial checkin of apple_dynamic_libraryGravatar Chris Parsons2016-10-12
| | | | | | | | | | | This is at this point mostly an exercise in refactoring, as this initial implementation of apple_dynamic_library mirrors apple_binary exactly, except for the output extension and the -dynamiclib linker arg. There will be additional followup to deal with significant differences between these two rules. -- MOS_MIGRATED_REVID=135822476
* [Roll-forward] Rollback of commit dd299dbc61be51112534a4698f7cf2deee43053b.Gravatar Jon Brandvein2016-10-12
| | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Fixed underlying broken CL that was depended on *** Original change description *** Automated [] rollback of commit e025939e71b179ae0f6bd09ef3af474f49b853a2. *** Reason for rollback *** Depends on commit 9c25afe750a937b2152c21a93effc8b9ba82c27b, which needs to be rolled back. *** Original change description *** Add API for individual actions This exposes action inputs, outputs, argv, content, and substitutions (if applicable). -- MOS_MIGRATED_REVID=135821603
* ide-compile output group now mirrors the compile-only output group for cc rulesGravatar Googler2016-10-12
| | | | | -- MOS_MIGRATED_REVID=135816762
* Automated cleanupGravatar Laurent Le Brun2016-10-12
| | | | | -- MOS_MIGRATED_REVID=135816105
* Make EvalUtils.getDataTypeNameFromClass() look for @SkylarkModules in parent ↵Gravatar Jon Brandvein2016-10-12
| | | | | | | | | classes This is needed to let subclasses of @SkylarkModules have the same type() string as their superclass, without requiring a second annotation for the subclass. -- MOS_MIGRATED_REVID=135814343
* Remove flag control of turbine bridge pruningGravatar Liam Miller-Cushon2016-10-12
| | | | | -- MOS_MIGRATED_REVID=135810752
* Provide a mechanism for objc code built with CppCompileAction to forego dotdGravatar Cal Peyser2016-10-12
| | | | | | | input pruning. -- MOS_MIGRATED_REVID=135807490
* Added support for rex to optionally compress dex files.Gravatar Googler2016-10-12
| | | | | -- MOS_MIGRATED_REVID=135805730
* Move interface so building to action configsGravatar Marcel Hlopko2016-10-12
| | | | | | | | | This cl moves the conditional building of interface libraries from LinkCommandLine to action configs and features. It provides link_dynamic_library.sh to keep blaze backwards compatible. The script and related code can be deleted once all crosstools are updated. RELNOTES: No. -- MOS_MIGRATED_REVID=135799041
* Add the public key directly on our website.Gravatar Damien Martin-Guillerez2016-10-12
| | | | | | | | | | | And refer it from the various release pages. Also: - Adds the sig file to the release candidate page - Fix a typo -- MOS_MIGRATED_REVID=135793241
* Sign all Bazel binaries using gpg during release processGravatar Yun Peng2016-10-11
| | | | | | | | | Fix https://github.com/bazelbuild/bazel/issues/1668 -- Change-Id: Ibe517744cd55ad5e32420302a081cc72da878bbe Reviewed-on: https://bazel-review.googlesource.com/#/c/6550 MOS_MIGRATED_REVID=135787988
* Rollback of commit 9c25afe750a937b2152c21a93effc8b9ba82c27b.Gravatar Ulf Adams2016-10-11
| | | | | | | | | | | | | | | *** Reason for rollback *** Seems to break some parts of aspects. *** Original change description *** Make EvalUtils.getDataTypeNameFromClass() look for @SkylarkModules in parent classes This is needed to let subclasses of @SkylarkModules have the same type() string as their superclass, without requiring a second annotation for the subclass (which would lead to redundant documentation being generated). -- MOS_MIGRATED_REVID=135786137
* Minor cleanupGravatar Laurent Le Brun2016-10-11
| | | | | | | | - Load prelude_bazel as a .bzl file (to simplify code paths) - Remove a function in BuildFileAST that was used only in tests -- MOS_MIGRATED_REVID=135785708
* Improve error message when 'del' keyword is usedGravatar Laurent Le Brun2016-10-11
| | | | | -- MOS_MIGRATED_REVID=135784854
* Rollback of commit e025939e71b179ae0f6bd09ef3af474f49b853a2.Gravatar Ulf Adams2016-10-11
| | | | | | | | | | | | | | | *** Reason for rollback *** Depends on commit 9c25afe750a937b2152c21a93effc8b9ba82c27b, which needs to be rolled back. *** Original change description *** Add API for individual actions This exposes action inputs, outputs, argv, content, and substitutions (if applicable). -- MOS_MIGRATED_REVID=135783964