aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* cpp: correct the globals variable name in ComputeBaseDirectories() documentationGravatar Thiago Farina2016-04-26
| | | | | | | | | | There is no |lock_file| in GlobalVariables structure. Actually, it was referring to |lockfile| variable. -- Change-Id: Ic27bd4fad79c2e8b98ae8fa701d0b81fbdd98aa2 Reviewed-on: https://bazel-review.googlesource.com/#/c/3360/ MOS_MIGRATED_REVID=120792865
* cc_configure.bzl: Add -Wl,-no-as-needed as default link optionsGravatar Damien Martin-Guillerez2016-04-26
| | | | | -- MOS_MIGRATED_REVID=120791766
* Include Jekyll layout files, style sheets, and Bazel logo images in theGravatar David Chen2016-04-26
| | | | | | | public Bazel tree. -- MOS_MIGRATED_REVID=120787331
* Refactor JavaBuilder output handlingGravatar Liam Miller-Cushon2016-04-26
| | | | | | | | | Prefer Writer to OutputStream to reduce the number of char/byte conversions, and pass in a Writer for the persistent worker entry point instead of redirecting stdout and stderr. -- MOS_MIGRATED_REVID=120771072
* Refactor CompilationSupport.registerFullyLinkedAction to be the ↵Gravatar Chris Parsons2016-04-26
| | | | | | | | | | responsibility of the caller to invoke, instead of creating the fully linked artifact by default It makes more sense for the caller rule to opt-in to creating its own implicit output. This also makes it easier for classes to use CompilationSupport without generating this artifact. -- MOS_MIGRATED_REVID=120764517
* Adds an ObjcProtoProvider which bundles the proto sources and filters, along ↵Gravatar Sergio Campama2016-04-26
| | | | | | | with an ObjcProtoAspect which propagates the proto provider through the dependency chain. -- MOS_MIGRATED_REVID=120747710
* Clean up assertionsGravatar Liam Miller-Cushon2016-04-26
| | | | | -- MOS_MIGRATED_REVID=120742339
* Adds support for strict dependency management. This is done by filtering a ↵Gravatar Sergio Campama2016-04-26
| | | | | | | list of strict deps keys from being propagated more than one level in the dependency graph. Values added to those keys from dependency providers are routed into the non_propagated_items map, preventing them from being propagated again. -- MOS_MIGRATED_REVID=120724767
* Ensure env is passed to DockerLayer actions so xzcat worksGravatar Simon Horlick2016-04-26
| | | | | | | | | This is required to fully fix #611. -- Change-Id: Iffeab2a80a02f2e1208637fe85195d0c2862e637 Reviewed-on: https://bazel-review.googlesource.com/#/c/3492 MOS_MIGRATED_REVID=120724036
* Split ActionMetadata into ActionAnalysisMetadata and ActionExecutionMetadata.Gravatar Rumou Duan2016-04-26
| | | | | | | Except in action execution logic (ActionExecutionFunction, SkyframeActionExecutor, etc.), switch Action interface references to either ActionAnalysisMetadata if possible or ActionExecutionMetadata. -- MOS_MIGRATED_REVID=120723431
* Create runfiles at both .runfiles/ws/external/repo and .runfiles/repoGravatar Kristina Chodorow2016-04-26
| | | | | | | | | The major piece of #848. 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. -- MOS_MIGRATED_REVID=120722312
* Implements pch in experimental_objc_library as a feature. Provides a ↵Gravatar Cal Peyser2016-04-25
| | | | | | | mechanism to add build variables through the CcLibraryHelper API. -- MOS_MIGRATED_REVID=120710713
* Fix release test after commit e7be839Gravatar Damien Martin-Guillerez2016-04-25
| | | | | | | | | Fixes #1187. -- Change-Id: I36e87d86926a38785dcd98c841db826c518cc575 Reviewed-on: https://bazel-review.googlesource.com/3463 MOS_MIGRATED_REVID=120710112
* Factor out various ways to execute subprocesses into separate functions.Gravatar Lukacs Berki2016-04-25
| | | | | | | This is so that they can be implemented properly for Windows. For now, though, they are left in blaze_util.cc since the Windows implementations aren't there yet. -- MOS_MIGRATED_REVID=120709884
* Exposes ObjcProvider for objc_proto_library and j2objc_library rules.Gravatar Erik Abair2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120708846
* Fix docs on test environment and add a testGravatar Kristina Chodorow2016-04-25
| | | | | | | Fixes #1126. -- MOS_MIGRATED_REVID=120707955
* Add the workspace name to the SDK pathGravatar Kristina Chodorow2016-04-25
| | | | | | | | | | | | This makes the android rules work if the workspace name is set. See https://github.com/bazelbuild/bazel/wiki/Updating-the-runfiles-tree-structure for more details. This is required for rolling forward https://github.com/bazelbuild/bazel/issues/848. -- MOS_MIGRATED_REVID=120705755
* Fix bug in experimental_oom_more_eagerly_threshold options parsing.Gravatar Janak Ramakrishnan2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120704733
* Enable msvc toolchain to support params fileGravatar Yun Peng2016-04-25
| | | | | | | | | Also fixed a small bug -- Change-Id: I22fa16272587471b9652f3b7f7d9cb1341fc6524 Reviewed-on: https://bazel-review.googlesource.com/#/c/3464 MOS_MIGRATED_REVID=120703703
* Fix cache invalidation problem in CppModuleMapAction.Gravatar Manuel Klimek2016-04-25
| | | | | | | | | When a file changes its execution root (for example, a previously checked in file now becoming a generated file), the cache key would be the same, using a broken module map. -- MOS_MIGRATED_REVID=120703120
* Make the Bazel client check the response cookie.Gravatar Lukacs Berki2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120702105
* Restrict execution of bound_targets_test in bazel to OS X only.Gravatar Cal Peyser2016-04-25
| | | | | | | Fixes #1183. -- MOS_MIGRATED_REVID=120701344
* Add mechanism to crosstool language to specify action-specific execution ↵Gravatar Cal Peyser2016-04-25
| | | | | | | requirements. Uses this mechanism to configure c/c++ compilation and linking for darwin execution from the crosstool. -- MOS_MIGRATED_REVID=120701108
* Make gRPC mode honor --max_idle_secs.Gravatar Lukacs Berki2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120699557
* Make the client wait for running commands to finish before shutting the ↵Gravatar Lukacs Berki2016-04-25
| | | | | | | server down due to differing startup options. -- MOS_MIGRATED_REVID=120697380
* Make cancel_thread_mutex_ protect cancel_thread_action_ properly.Gravatar Lukacs Berki2016-04-25
| | | | | | | This is just a minor fix because when this call happens, the other thread is not running yet, but better be safe than sorry. -- MOS_MIGRATED_REVID=120695754
* Add new android_common jars (sdk-common 25.0.0, builder 2.0.0)Gravatar Jan Voung2016-04-25
| | | | | | Add the jars in preparation of using the new version. Change-Id: I5e81f9c30ad0897d69ba7d2a42ff28b07aad9c9a
* Windows build: propagate retCode from tests.Gravatar Dmitry Lomov2016-04-25
| | | | | | | Helps with #1182. -- MOS_MIGRATED_REVID=120695171
* Fixed broken link in the documentation.Gravatar Florian Weikert2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120695090
* Write the server.pid file from C++ instead of Java.Gravatar Lukacs Berki2016-04-25
| | | | | | | This is because OsUtils.getpid() cannot work under msys2 since java.exe is not an msys2 binary. We might make it work by including JNI code, but the current plan is to go without JNI on Windows. -- MOS_MIGRATED_REVID=120694746
* Extend API to add interface-only deps.Gravatar Googler2016-04-25
| | | | | -- MOS_MIGRATED_REVID=120690977
* Make the server tell not only the port, but also the address it is listening on.Gravatar Lukacs Berki2016-04-25
| | | | | | | This is necessary because on Windows/msys2, the Java gRPC server listens only on IPv6 but the C++ client only tries to connect over IPv4, resulting in breakage. -- MOS_MIGRATED_REVID=120689437
* Updated javadoc that was invalidated by commit ↵Gravatar Florian Weikert2016-04-25
| | | | | | | 0dbe07f017d391aba0613b4e6ca1503b62382ccd -- MOS_MIGRATED_REVID=120687334
* ExperimentalEventHandler: narrow synchronization blocksGravatar Klaus Aehlig2016-04-25
| | | | | | | | | | | In particular, do not own a lock while waiting for another thread---especially not the update thread that might be waiting for the very lock were holding. -- Change-Id: I46aef3585b712e25cd4317004eacd8b48557a341 Reviewed-on: https://bazel-review.googlesource.com/#/c/3462 MOS_MIGRATED_REVID=120686232
* Failing tests on Windows shouldn't fail the build.Gravatar Dmitry Lomov2016-04-25
| | | | | | | Helps with #1182. -- MOS_MIGRATED_REVID=120686181
* Fixes the bazel_apple_testGravatar Dmitry Shevchenko2016-04-25
| | | | | | | | | | Instead of default SDK version, use currently installed one. Fixes #1184. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1186 MOS_MIGRATED_REVID=120685979
* Make the PID be the contents of the PID file instead of a symlink.Gravatar Lukacs Berki2016-04-25
| | | | | | | I wonder why it was implemented like this in the first place. Unsurprisingly, it doesn't work on Windows. -- MOS_MIGRATED_REVID=120682316
* Make --target_label and --rule_kind optionalGravatar Liam Miller-Cushon2016-04-25
| | | | | | | | This is consistent with JavaBuilder. Some actions (e.g. resource compilations) don't set these flags. -- MOS_MIGRATED_REVID=120590777
* Always output entitlements plist in the XML formatGravatar Googler2016-04-25
| | | | | | | Adding --extra_entitlements flag to a build triggers a merge of entitlements files using plmerge tool. Configure build rules to output the resulting plist file in the XML format. Bundles signed with entitlements in the binary format fail to load on device. -- MOS_MIGRATED_REVID=120588271
* Add a --legacy_external_runfiles optionGravatar Kristina Chodorow2016-04-25
| | | | | | | | This isn't hooked up to anything yet, but is another piece of getting #848 rolled forward. -- MOS_MIGRATED_REVID=120582973
* Release 0.2.2b (2016-04-22)Gravatar Bazel Release System2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | Baseline: 759bbfe Cherry picks: + 1250fda: Rollback of commit 351475627b9e94e5afdf472cbf465f49c433a25e. + ba8700e: Correctly set up build variables for the correct pic mode for fake_binary rules. + 386f242: Automated [] rollback of commit 525fa71b0d6f096e9bfb180f688a4418c4974eb4. + 97e5ab0: Fix cc_configure include path for Frameworks on OS X. + a20352e: cc_configure: always add -B/usr/bin to the list of gcc option + 0b26f44: cc_configure: Add piii to the list of supported cpu_value + 3e4e416: cc_configure: uses which on the CC environment variable + aa3dbd3: cc_configure.bzl: strip end of line when looking for the cpu + 810d60a: cc_configure: Add -B to compiler flag too Patch release, only includes fixes to C++ auto-configuration.
* cc_configure: Add -B to compiler flag tooGravatar Damien Martin-Guillerez2016-04-22
| | | | | | | | | On some target platform gcc invokes external tools during compilation, see #1152. Also support absolute path when looking for gcc. This needs to be cherry-picked to fix #1177. -- MOS_MIGRATED_REVID=120581887
* Add a Skylark rule to build Swift modules.Gravatar Dmitry Shevchenko2016-04-22
| | | | | | | | * Adds a swift_library rule that produces a (.a, .swiftmodule) pair. It can handle dependencies between modules and can be used as a dependency of objc_binary. * Does not work with Objective-C yet. -- MOS_MIGRATED_REVID=120578875
* Add a "Cherry picks" line to the release notesGravatar Kristina Chodorow2016-04-22
| | | | | | | | I was confused about the bulleted list on 0.2.2, so I figured it would be nice tell people what the commit list is. -- MOS_MIGRATED_REVID=120577721
* Wire up --host_java_toolchainGravatar Liam Miller-Cushon2016-04-22
| | | | | -- MOS_MIGRATED_REVID=120574676
* Clean up launcher attributeGravatar Liam Miller-Cushon2016-04-22
| | | | | -- MOS_MIGRATED_REVID=120567604
* Fix target parsing bug with targets in the empty package (e.g. "blah" was ↵Gravatar Nathan Harmata2016-04-22
| | | | | | | | | | | | | incorrectly not being parsed as "//:blah"). Also add tests for parsing absolute labels in the empty package. The empty package has been a thing in Bazel for a while now. Note that the old error message in this case "couldn't determine target for filename 'blah'" was almost always misleading and unhelpful since we were (almost certainly incorrectly) assuming the user intended for 'blah' to be an input file in the empty package. Now the error message would be "no such target '//:blah'") which is similarly misleading and unhelpful but probably marginally less so. If we desire to improve this, a future cleanup can introduce smarter error messages. -- MOS_MIGRATED_REVID=120566819
* cpp: keep the documentation of MakeAbsolute() function up-to-dateGravatar Thiago Farina2016-04-22
| | | | | | | | | | | | | | commit 2ad804cef42f: ("Fixed bugs blocking bazel shell test on Windows"), updated the documentation in blaze_util.cc but forgot to update the same doc comment in the header file. To prevent this from happening again, this copies the added sentence to the header file and deletes the documentation from the source file. -- Change-Id: I240b3a31d7b457ef4d50558f1ca54619666b8d2c Reviewed-on: https://bazel-review.googlesource.com/#/c/3470 MOS_MIGRATED_REVID=120561630
* Bind path to xcrunwrapper in workspace files.Gravatar Cal Peyser2016-04-22
| | | | | -- MOS_MIGRATED_REVID=120558192
* Check for additions to the directory in new_local_repositoryGravatar Kristina Chodorow2016-04-22
| | | | | | | | | | Fixes #806. RELNOTES: External repository correctness fix: adding a new file/directory as a child of a new_local_repository is now noticed. -- MOS_MIGRATED_REVID=120557511