aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Implements dynamic split transitions (minus latebound attribute splits).Gravatar Greg Estren2016-08-08
| | | | | | | | | | With the prereq work behind this, this is surprisingly straightforward. The main change is to eliminate BuildConfiguration.SplittableTransitionApplier, make both DynamicTransitionApplier and StaticTransitionApplier split-aware, and add awareness of this to ConfiguredTargetFunction.trimConfigurations. Latebound splits will follow next. -- MOS_MIGRATED_REVID=129480309
* Initial checkin of the OutputJar and main.Gravatar Sasha Smundak2016-08-08
| | | | | -- MOS_MIGRATED_REVID=129473820
* Adds 'Beautiful Error Messages' design doc.Gravatar Pedro Liberal Fernandez2016-08-08
| | | | | | | -- Change-Id: Id626d41b0af9861a0e79022dcb48cffaa8c12e3a Reviewed-on: https://bazel-review.googlesource.com/#/c/4260/4 MOS_MIGRATED_REVID=129458423
* Allow test targets to completely disable the test security manager viaGravatar Googler2016-08-08
| | | | | | | | | | | a property without installing a different security manager. This is required to run JUnit's tests in Blaze. RELNOTES: Test targets can disable the JUnit4 test security manager via a property. -- MOS_MIGRATED_REVID=129453237
* Added a design document and fixed linksGravatar Vladimir Moskva2016-08-08
| | | | | | | -- Change-Id: I1a904d19e1a63eff8c245bac3c18eb4ce9838912 Reviewed-on: https://bazel-review.googlesource.com/#/c/4271/ MOS_MIGRATED_REVID=129451413
* Document --watchfs optionGravatar Dan Fabulich2016-08-08
| | | | | | | -- Change-Id: Id1f37cfe4dcb77a4af0465028f6b17e574b85954 Reviewed-on: https://bazel-review.googlesource.com/#/c/4191/ MOS_MIGRATED_REVID=129442887
* Prefer IP agnostic terms in favor of those only for ipv4.Gravatar Shreya Bhattarai2016-08-08
| | | | | -- MOS_MIGRATED_REVID=129438985
* Adding a necessary header to the documentation fileGravatar Vladimir Moskva2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129436348
* Rollback of commit 7a1d4132012c5ae6c1617045138e1a662e3964bd.Gravatar Klaus Aehlig2016-08-05
| | | | | | | | | | | | | | | | | *** Reason for rollback *** The underlying issue (wrong operator '==' instead of '=' for test (a.k.a '[')) was fixed by commit 31b059fc07831f86be951609128b7cd51613df98 which removed the offending code completely. *** Original change description *** Revert build-runfiles to use /bin/bash If /bin/sh is dash (default on Ubuntu), this output a lot of garbage error, which make thing that the dummy build-runfiles is incorrect. See http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=ubuntu_15.10-x86_64/731/console -- MOS_MIGRATED_REVID=129432905
* Updating the index file for design proposalsGravatar Vladimir Moskva2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129432777
* Add 'Extensibility For Native Rules' design docGravatar Marcel Hlopko2016-08-05
| | | | | | -- Reviewed-on: https://bazel-review.googlesource.com/#/c/4250/5 MOS_MIGRATED_REVID=129431153
* Revert build-runfiles to use /bin/bashGravatar Damien Martin-Guillerez2016-08-05
| | | | | | | | | If /bin/sh is dash (default on Ubuntu), this output a lot of garbage error, which make thing that the dummy build-runfiles is incorrect. See http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=ubuntu_15.10-x86_64/731/console -- MOS_MIGRATED_REVID=129430198
* Fixed some documentation in zip_main.ccGravatar Yun Peng2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129429378
* Adding a design document about Declared ProvidersGravatar Vladimir Moskva2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129426286
* Remove the AF_UNIX client/server communication protocol.Gravatar Lukacs Berki2016-08-05
| | | | | | | | | It has been superseded by gRPC. RELNOTES[INC]: Blaze doesn't support Unix domain sockets for communication between its client and server anymore. Therefore, the --command_port command line argument doesn't accept -1 as a valid value anymore. -- MOS_MIGRATED_REVID=129424092
* Rewords the rules pitfall documentGravatar Damien Martin-Guillerez2016-08-05
| | | | | | | So it stop suggesting that it is hard to write rules, though it is not easy to write good rules :) -- MOS_MIGRATED_REVID=129423968
* Fix exception about undocumented argument.Gravatar Matthew DeVore2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129423168
* Avoid hard-coded extensions for compilation outputs.Gravatar Lukacs Berki2016-08-05
| | | | | | | | | The multi-layered transformation (base -> base.pic -> base.pic.pcm -> base.pic.pcm.d) is kinda ugly, but is preferable to having 22 separate, mostly orthogonal artifact categories. It's actually untested what happens if we put these new name patterns into the CROSSTOOL file. -- MOS_MIGRATED_REVID=129423055
* Make SkylarkClassObject "Bazel-specific".Gravatar Dmitry Lomov2016-08-05
| | | | | | | This in preparation to DeclaredProviders implementation. -- MOS_MIGRATED_REVID=129420617
* Emphasize that default_strict_deps_java_protos is subject to change at any ↵Gravatar Carmi Grushko2016-08-05
| | | | | | | time without prior notice. -- MOS_MIGRATED_REVID=129409727
* Fix Environment.Continuation's tracking of global variablesGravatar Jon Brandvein2016-08-05
| | | | | | | RELNOTES[INC]: Skylark: It is an error to shadow a global variable with a local variable after the global has already been accessed in the function. -- MOS_MIGRATED_REVID=129365195
* Delete unused RuleClass.createPlaceholderBuilderGravatar Michajlo Matijkiw2016-08-05
| | | | | -- MOS_MIGRATED_REVID=129360870
* Rollback of commit 70fbf690e571037370044f7d1e316b0bf9172e1c.Gravatar Googler2016-08-05
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** The Play Store serving team doesn't want to add support for any new density buckets, so I'm going to roll this back for now (this CL allows us to build an APK declaring 340, but the APK can't be pushed to the Play Store, so not very useful). I can roll forward again in the unlikely event that the Play Store folks change their mind. I will investigate some other build solution for getting an APK into the play store that can be offered to devices declaring 340 dpi. *** Original change description *** Adds support for round and 340dpi to resource qualifiers, and allows stamping 340dpi into the density filtered manifest. Also adds 340dpi to the list of supported Android Wear densities. 340dpi is the density declared by Nemo and Swordfish, and the Play Store will not offer APKs to those devices unless they include <compatible-screens> entries with this density. -- MOS_MIGRATED_REVID=129354693
* Tentatively fix build for jdk7Gravatar Laurent Le Brun2016-08-04
| | | | | | | #1603 -- MOS_MIGRATED_REVID=129331613
* Check that deeply nested values in sets are immutableGravatar Jon Brandvein2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129331086
* Use std::string instead of const char* in InputJar::Open and MappedFile::Open.Gravatar Sasha Smundak2016-08-04
| | | | | | | Move not performance-critical code to the input_jar.cc. -- MOS_MIGRATED_REVID=129329869
* Enable named arguments for SkylarkCallable annotationGravatar Damien Martin-Guillerez2016-08-04
| | | | | | | | | | This just add the support on the Skylark side, the documentation generator still needs to be updated. -- Change-Id: Ic26547cdb8d2c5c01839a4014c10f1b9b209b92b Reviewed-on: https://bazel-review.googlesource.com/#/c/4247/ MOS_MIGRATED_REVID=129328278
* Create Python executable zip fileGravatar Yun Peng2016-08-04
| | | | | | | | | | using --build_python_zip to specify it, by default it's enabled on Windows and disabled on other platforms. -- Change-Id: Ib992edaf70c08568816b973159a429ff7165eed8 Reviewed-on: https://bazel-review.googlesource.com/#/c/4244 MOS_MIGRATED_REVID=129326115
* zipper now can specify actual path a file is added toGravatar Yun Peng2016-08-04
| | | | | | | | | | | Examples for how to use <zip_path>=<file> syntax: zipper c x.zip a/b/__init__.py= # Add an empty file at a/b/__init__.py zipper c x.zip a/b/main.py=foo/bar/bin.py # Add file foo/bar/bin.py at a/b/main.py -- Change-Id: I3c09dfb31d082f3ca8036e87affc8d99f7e75fe0 Reviewed-on: https://bazel-review.googlesource.com/#/c/4243 MOS_MIGRATED_REVID=129325719
* Fix #1602: Bazel server couldn't start on system lacking IPv6 support.Gravatar Philipp Wollermann2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129320850
* Make compile.sh print the console output for any failing commands during ↵Gravatar Lukacs Berki2016-08-04
| | | | | | | | | bootstrap. Previously, we deleted the temp dir and after that, we tried to print errfile in it, and were surprised that it didn't exist. -- MOS_MIGRATED_REVID=129320375
* Short-circuit runfiles tree creation if runfiles are disabled (for example, ↵Gravatar Lukacs Berki2016-08-04
| | | | | | | on Windows by default) -- MOS_MIGRATED_REVID=129319018
* Add a necessary dependency to options_test.Gravatar Lukacs Berki2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129316675
* Fix an embarrassing bug in the stub build-runfiles script used during ↵Gravatar Lukacs Berki2016-08-04
| | | | | | | | | bootstrapping. It apparently happened not to make a difference, but still. -- MOS_MIGRATED_REVID=129314926
* Remove static checks from the parser.Gravatar Laurent Le Brun2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129313959
* Update windows.md againGravatar Yun Peng2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129305218
* Late-bound split attribute configs weren't being properly propagated to deps ↵Gravatar Greg Estren2016-08-04
| | | | | | | | | | | | | | | | with dynamic configs. The old code incorrectly applied a no-op instead of hard-setting a specific config. Testing: This is a prereq piece for the main change adding dynamic split transitions. Once we have that change, standard Bazel tests over implemented late-bound split attributes (e.g. AppleBinaryRule: ":cc_toolchain") will provide proper coverage. There's no easy way to test this directly since the affected code won't really work until the dynamic split change is in. -- MOS_MIGRATED_REVID=129278253
* Handle archives with preamble.Gravatar Sasha Smundak2016-08-04
| | | | | -- MOS_MIGRATED_REVID=129228122
* Global cleanup change.Gravatar Googler2016-08-03
| | | | | -- MOS_MIGRATED_REVID=129226221
* Refactor CppLinkAction to construct its command line using the crosstool ↵Gravatar Cal Peyser2016-08-03
| | | | | | | instead of a hardcoded switch. Add action configs to CppConfiguration for each link type. -- MOS_MIGRATED_REVID=129221108
* Do not compile turbine for Java 7 build.Gravatar Damien Martin-Guillerez2016-08-03
| | | | | | | -- Change-Id: I3ed7407826b433df6118310872634ad4706939d0 Reviewed-on: https://bazel-review.googlesource.com/#/c/4246/ MOS_MIGRATED_REVID=129217952
* Fix links to Skylark design stuff.Gravatar Dmitry Lomov2016-08-03
| | | | | -- MOS_MIGRATED_REVID=129217657
* Start removing the parsePython booleanGravatar Laurent Le Brun2016-08-03
| | | | | | | It's still used in one place and should be removed completely in October. -- MOS_MIGRATED_REVID=129207133
* Prefer IPv6 when binding the gRPC server to localhost, because the OS X ↵Gravatar Philipp Wollermann2016-08-03
| | | | | | | sandbox will not allow us to bind to the IPv4 one. Automatically falls back to IPv4 if binding to [::1] fails. -- MOS_MIGRATED_REVID=129206917
* Add an enum representing the specific build file name (WORKSPACE, BUILD) to ↵Gravatar John Cater2016-08-03
| | | | | | | the PackageLookupValue to reduce the number of references to the filename "BUILD". -- MOS_MIGRATED_REVID=129203257
* Preliminary cleanup for removing Blaze-specific code from the environmentGravatar Laurent Le Brun2016-08-03
| | | | | | | | The goal is to remove parse and eval functions from Environment, as well as isSkylark boolean. -- MOS_MIGRATED_REVID=129202204
* Remove reference to android_tool_runner.Gravatar Googler2016-08-03
| | | | | | | We actually don't need it. -- MOS_MIGRATED_REVID=129149261
* Provides a clearer message when target analysis fails because its dynamicGravatar Greg Estren2016-08-03
| | | | | | | | | | | | | | | config is missing required fragments. Before this change, Bazel crashes with the mysterious error: "Fragment foo can't load missing options BarOptions" with no details on which target or dep needed Foo. So figuring out the source of the error is painful. With this change, we instead get: //foo:foo: dependency //bar:bar from attribute "deps" is missing required config fragments: JavaConfiguration -- MOS_MIGRATED_REVID=129143764
* Make remote worker message ipv4/v6 agnostic.Gravatar Shreya Bhattarai2016-08-03
| | | | | -- MOS_MIGRATED_REVID=129141770
* Introduce apple_watch2_extension rule for bundling watchOS2 extensions.Gravatar Chris Parsons2016-08-03
| | | | | | | | | | | This can be used in conjunction with apple_binary to add watchOS2 extensions to an ios application bundle. This is the majority of the native work for this bundling logic. Before announcing general availability of this feature, we will want to: 1. Iterate with teams who have existing watchOS2 apps to catch any corner-case bugs 2. Introduce a skylark macro to wrap apple_watch2_extension and apple_binary into a single rule; this will both serve as a convenience and ensure users set the appropriate linkopts and platformtype on their apple_binary target. -- MOS_MIGRATED_REVID=129122855