aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fix incorrect package path.Gravatar Alex Humesky2016-04-20
| | | | | -- MOS_MIGRATED_REVID=120282869
* Introduce SplitTransitionProvider, to determine the split transition on an ↵Gravatar Chris Parsons2016-04-20
| | | | | | | attribute based on the Rule itself (the transition may thus be determined based on the values of other attributes of the rule) -- MOS_MIGRATED_REVID=120275649
* 4 of 5: Serialization of UnwrittenMergedAndroidData.Gravatar Googler2016-04-20
| | | | | | | | | | | Adding AndroidDataSerializer, the serialize_format proto, and KeyValueConsumers (utility class for keeping consumers straight). The serializtion is a bit more manual as previous experience has proven to me that simply writing all the resources into a proto map and pulling them out is not performant in the least. So, the serializer stores each message independent, the keys and then the values allowing for potential lazy loading and other optimizations in the future. Also adds tests for parsing and writing style resources. -- MOS_MIGRATED_REVID=120274904
* Refactor CompilationSupport and IntermediateArtifacts to optionally take a ↵Gravatar Chris Parsons2016-04-20
| | | | | | | BuildConfiguration that is not the current rule context's configuration. -- MOS_MIGRATED_REVID=120271518
* Overwrite the WORKSPACE file for new_local_repositoryGravatar Kristina Chodorow2016-04-20
| | | | | | | | | | | | | This prevents an ugly warning when you do something like: new_local_repository( name = "bazel_tools", path = ".", build_file = "BUILD", ) -- MOS_MIGRATED_REVID=120271366
* Adds Stripe.com to the list of users of Bazel.Gravatar Damien Martin-Guillerez2016-04-20
| | | | | -- MOS_MIGRATED_REVID=120262286
* Added configuration for wrapper scripts of msvc toolchainGravatar Yun Peng2016-04-20
| | | | | | | | | Now we only need to specify --cpu=x64_windows_msvc when using msvc toolchain -- Change-Id: Id501dd9ef2fd6553285677605ec75e80499b9ef7 Reviewed-on: https://bazel-review.googlesource.com/#/c/3441 MOS_MIGRATED_REVID=120260588
* Update IDE setup script to only query rdeps in built universe.Gravatar Janak Ramakrishnan2016-04-20
| | | | | | | | | | | This avoids problems when some of the universe doesn't build, and should make the IDE setup script a bit faster. Also use --keep_going in query so that any future breakages don't break IDE setup. -- Change-Id: If9bf30ca5d63f9d9a3455cbbb78b7139a3e5324d Reviewed-on: https://bazel-review.googlesource.com/3430 MOS_MIGRATED_REVID=120250626
* Allow executing input files in addition to output onesGravatar Brian Silverman2016-04-20
| | | | | | | | | | | | With remote repositories, it is useful to do this to execute an input file which isn't actually part of the source tree. Closes #984 -- Change-Id: Ic986ea9bbe88e0edb933939ce1d7a8b6ea9d6e88 Reviewed-on: https://bazel-review.googlesource.com/#/c/3030/ MOS_MIGRATED_REVID=120248102
* Rename CppCompilationContext.getCompilationPrerequisites toGravatar Manuel Klimek2016-04-20
| | | | | | | | | | | | | | getTransitiveCompilationPrerequisites. The missing 'transitive' in the name is misleading. This change is a preparation for further refactorings that will in the end introduce a getCompilationPrerequisites method that actually returns the compilation prerequisites for a rule - as that will be require some more things to be shuffled around in CppCompilationContext, this change gets the purely syntactical change in first. -- MOS_MIGRATED_REVID=120247461
* Add Gulava to list of Bazel clients.Gravatar Matthew DeVore2016-04-20
| | | | | -- MOS_MIGRATED_REVID=120247206
* cc_configure: uses which on the CC environment variableGravatar Damien Martin-Guillerez2016-04-20
| | | | | | | | | It's wrong to assume it points to an absolute path. Discovered in issue #1152. -- MOS_MIGRATED_REVID=120242469
* Make java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} mandatoryGravatar Liam Miller-Cushon2016-04-20
| | | | | -- MOS_MIGRATED_REVID=120241405
* Block when another command is running on the server and not on the client ↵Gravatar Lukacs Berki2016-04-20
| | | | | | | when in gRPC mode. -- MOS_MIGRATED_REVID=120233121
* Add shell test to msvc CROSSTOOLGravatar Yun Peng2016-04-20
| | | | | | | -- Change-Id: I4df7be7de77dd5d44b2090311bce79dbc85a6775 Reviewed-on: https://bazel-review.googlesource.com/#/c/3388 MOS_MIGRATED_REVID=120232900
* Document maven_jar name restrictionsGravatar Kristina Chodorow2016-04-20
| | | | | | | Fixes #1066. -- MOS_MIGRATED_REVID=120232176
* Fixed bugs blocking bazel shell test on WindowsGravatar Yun Peng2016-04-20
| | | | | | | -- Change-Id: I6a2f9026fda578905ccb72b317223eaca16b882b Reviewed-on: https://bazel-review.googlesource.com/#/c/3440 MOS_MIGRATED_REVID=120228541
* Move the runfiles for external repositories to under the x.runfiles/ directoryGravatar Kristina Chodorow2016-04-20
| | | | | | | | | | | | | | | This also sets the Bazel workspace name to io_bazel_source. Fixes #848. Relevant to #1116, #1124, RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles. --- Furthermore, if a Bazel project does not provide a workspace name in the WORKSPACE file, Bazel will now default to using __main__ as the workspace name (instead of "", as previously). The repository's runfiles will appear under x.runfiles/__main__/. -- MOS_MIGRATED_REVID=120224534
* cc_configure: Add piii to the list of supported cpu_valueGravatar Damien Martin-Guillerez2016-04-19
| | | | | | | Fixes #1122. -- MOS_MIGRATED_REVID=120223970
* Allow external repositories to have includes attributes that point to ↵Gravatar Janak Ramakrishnan2016-04-19
| | | | | | | | | packages not in third_party. We don't need to police users' external repositories. Fixes #1151 -- MOS_MIGRATED_REVID=120222222
* Review a number of action subclasses and update them according to the spec.Gravatar Ulf Adams2016-04-19
| | | | | | | | Consists of adding @Immutable annotations, adding final modifiers, and changing the types of fields to immutable types. -- MOS_MIGRATED_REVID=120221067
* Add mechanism to crosstool language to specify action-specific execution ↵Gravatar Cal Peyser2016-04-19
| | | | | | | requirements. Uses this mechanism to configure c/c++ compilation and linking for darwin execution from the crosstool. -- MOS_MIGRATED_REVID=120218079
* cc_configure: always add -B/usr/bin to the list of gcc optionGravatar Damien Martin-Guillerez2016-04-19
| | | | | | | Fixes #760. -- MOS_MIGRATED_REVID=120217217
* Review a number of action subclasses and update them according to the spec.Gravatar Ulf Adams2016-04-19
| | | | | | | | | | Second pass. Consists of adding @Immutable annotations, adding final modifiers, and changing the types of fields to immutable types. -- MOS_MIGRATED_REVID=120216592
* Rename LateBoundLabel#getDefault(Rule, AttributeMap, T) to #resolve().Gravatar Lukacs Berki2016-04-19
| | | | | | | Its old name was confusing because resolve() and getDefault() do radically different things: getDefault() returns a good enough lie for when BuildConfiguration is not available, and resolve() resolves the dependency when we do have a BuildConfiguration. -- MOS_MIGRATED_REVID=120212630
* Fix cc_configure include path for Frameworks on OS X.Gravatar Damien Martin-Guillerez2016-04-19
| | | | | | | | | | | | cc_configure assumed the paths returned by $(CC) -E -xc++ -v where not containing any extra information but clang on OS X adds " (framework directory)" for path from Frameworks. This change strip this out. -- Change-Id: I90617e825100f86a1f0991e128755802da2c7afd Reviewed-on: https://bazel-review.googlesource.com/3389 MOS_MIGRATED_REVID=120210800
* Bind the gRPC command server port only to localhost.Gravatar Lukacs Berki2016-04-19
| | | | | | | Work towards #930. -- MOS_MIGRATED_REVID=120205147
* Signal that the version command does not buildGravatar Klaus Aehlig2016-04-19
| | | | | | | | | | | | The version command is not expected to every run any actions. Hence any messages about progress of the build process or running actions would be confusing. Therefore, signal this fact to allow the experimental UI to present information accordingly. -- Change-Id: I8a75704a39e161f52c4d008677f62e4b36097647 Reviewed-on: https://bazel-review.googlesource.com/#/c/3387 MOS_MIGRATED_REVID=120203058
* Make it possible to interrupt commands when communicating over gRPC.Gravatar Lukacs Berki2016-04-19
| | | | | | | | | | | Drive-by fix: eliminate the GRPC messages from the console by passing a null logging function. This also prepares us for the time when multiple commands will be running, because then we'll need to tell which command exactly we want to interrupt. Work towards #930. -- MOS_MIGRATED_REVID=120203008
* Do not start the AF_UNIX server when in gRPC mode.Gravatar Lukacs Berki2016-04-19
| | | | | | | Work towards #930. With this, it's conceivable that server mode works on Windows to some degree (I haven't tried, though, because there are many issues that need to be fixed) -- MOS_MIGRATED_REVID=120202037
* Rollback of commit 9dc24effb614f3695c962c4e1d1012e9e2aeb453.Gravatar Cal Peyser2016-04-19
| | | | | | | | | | | | | *** Reason for rollback *** looks like this is probably break [] *** Original change description *** Bind path to xcrunwrapper in workspace files. -- MOS_MIGRATED_REVID=120167193
* Deprecate top-level Java toolchain flags in favour of java_toolchainGravatar Liam Miller-Cushon2016-04-19
| | | | | | | | | | | | | This change disables --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top, and finishes replacing them with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}. RELNOTES: Replace --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} -- MOS_MIGRATED_REVID=120154954
* Check for the presence of an AndroidSdkProvider in JackAspect.Gravatar Michael Staib2016-04-19
| | | | | | | | | If no AndroidSdkProvider is present, JackAspect exits with an error instead of throwing and thus crashing Bazel. This is acceptable; the Android rules which JackAspect is attached to will do the same. -- MOS_MIGRATED_REVID=120150996
* Fixes GenClass exception when the temp directory does not exists.Gravatar Damien Martin-Guillerez2016-04-19
| | | | | | | -- Change-Id: Ie4236fbadc63ef38f08783acc0162cf0dd4fe872 Reviewed-on: https://bazel-review.googlesource.com/3422 MOS_MIGRATED_REVID=120146252
* Tokenize java_toolchain.miscGravatar Liam Miller-Cushon2016-04-19
| | | | | | | For consistency with java_library.javacopts and the top-level --javacopts flag. -- MOS_MIGRATED_REVID=120145920
* Extract common logic for detecting action and artifact prefix conflicts.Gravatar Rumou Duan2016-04-19
| | | | | -- MOS_MIGRATED_REVID=120145833
* Change misleading warning when an error is encountered while loading a ↵Gravatar Janak Ramakrishnan2016-04-19
| | | | | | | target. We also no longer say that the target will not be built because it may well happen during a query, when no building is happening anyway. -- MOS_MIGRATED_REVID=120130554
* Add sanity unit test for options classes that are subclasses of other ↵Gravatar Nathan Harmata2016-04-19
| | | | | | | options classes. -- MOS_MIGRATED_REVID=120125572
* Bind path to xcrunwrapper in workspace files.Gravatar Cal Peyser2016-04-19
| | | | | -- MOS_MIGRATED_REVID=120124909
* Add the option to have non-interface dependencies. This can greatly speed upGravatar Googler2016-04-19
| | | | | | | | builds with C++ modules as modules can be built without waiting on dependencies that are only required for the module's implementation. -- MOS_MIGRATED_REVID=120119435
* Update the documentation for the Action class.Gravatar Ulf Adams2016-04-18
| | | | | -- MOS_MIGRATED_REVID=120117310
* Remove option to include transitive header module srcs in the compilation.Gravatar Googler2016-04-18
| | | | | -- MOS_MIGRATED_REVID=120115843
* Remove directories field from MavenServerFunction.Gravatar Ulf Adams2016-04-18
| | | | | -- MOS_MIGRATED_REVID=120114796
* Refactor the coverage report module to make it less stateful.Gravatar Ulf Adams2016-04-18
| | | | | -- MOS_MIGRATED_REVID=120112783
* Module cleanup - don't hold on to stuff after the command completes.Gravatar Ulf Adams2016-04-18
| | | | | -- MOS_MIGRATED_REVID=120111522
* experimental UI: avoid empty lines between one-line FAILURE notesGravatar Klaus Aehlig2016-04-18
| | | | | | | | | | | | | | When reporting a multi-line test-failure message (the test that failed, plus the paths to the log files) to the scrollback buffer, it makes sense to end this whole block by an empty line. If, however, the test failure does not report any logs (e.g., if the build was interrupted), the next scroll-back buffer line can follow immediately to keep the scroll-back buffer more compact. -- Change-Id: I59d8ba9416d0a9bcbc8d959fee21cc94fa89018e Reviewed-on: https://bazel-review.googlesource.com/#/c/3386 MOS_MIGRATED_REVID=120108504
* Rename field names in command_server.proto so that they don't conflict with ↵Gravatar Lukacs Berki2016-04-18
| | | | | | | | | C symbols. Fixed #1155. -- MOS_MIGRATED_REVID=120107746
* Fix mismatch between docs and backend/BUILD in master in examples/tutorial.Gravatar Eric Paniagua2016-04-18
| | | | | | | | The tutorial is broken when using the original BUILD source copied from the docs, and this change fixes it. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1137 MOS_MIGRATED_REVID=120102063
* Fix sandbox when nobody's uid != 65534Gravatar Brian Silverman2016-04-18
| | | | | | | | | | | | It looks like the fix for #481 wasn't quite complete. Somebody on the mailing list reported namespace-sandbox failing due to this [1]. [1] https://groups.google.com/d/topic/bazel-discuss/FR949mCW9cA/discussion -- Change-Id: I52dbe4c9639c9df282a035d9acc9b8bff0c5004b Reviewed-on: https://bazel-review.googlesource.com/#/c/3401 MOS_MIGRATED_REVID=120102039
* GenClass: delete the temporary directory before usageGravatar Damien Martin-Guillerez2016-04-18
| | | | | | | Fixes #1104. -- MOS_MIGRATED_REVID=120098776