aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add support for checking to see if we are on a network drive for darwin.Gravatar Dave MacLachlan2016-07-18
| | | | | | | Fix for: https://github.com/bazelbuild/bazel/issues/1511 -- MOS_MIGRATED_REVID=127722500
* Check maven_jar sha1s for validityGravatar Kristina Chodorow2016-07-18
| | | | | | | Fixes #1125. -- MOS_MIGRATED_REVID=127719941
* Rollback of commit 5ea55cbab969820da346d16c4998e957b8c3f60e.Gravatar Carmi Grushko2016-07-18
| | | | | | | | | | | | | *** Reason for rollback *** Let's launch open-source java_proto_library with strict-deps checking turned on by default. *** Original change description *** Unveil Bazel's proto_library and java_proto_library. -- MOS_MIGRATED_REVID=127716437
* Don't store workspace name on ruleGravatar Michajlo Matijkiw2016-07-18
| | | | | | | Instead have callers get it via package. -- MOS_MIGRATED_REVID=127715494
* Adding default value for environment variables and python binaryGravatar Yun Peng2016-07-18
| | | | | | | | | Also output more clear and useful information during auto configuration -- Change-Id: I7ea893ce8765d813b026bccc2c86e7aa2106baac Reviewed-on: https://bazel-review.googlesource.com/#/c/4051 MOS_MIGRATED_REVID=127703994
* Actually restart server timeout on Ping() and Cancel() RPCs.Gravatar Lukacs Berki2016-07-18
| | | | | | | In theory, now we can cancel Ping() and Cancel() RPCs, too, but since we don't tell their UUID anyone, we are fine. -- MOS_MIGRATED_REVID=127703598
* Make sure that aspects are only added once to Skylark attribute defintion.Gravatar Dmitry Lomov2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127701838
* Add omitted initialization in BlazeStartupOptions::Copy.Gravatar Janak Ramakrishnan2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127700522
* Allocate a buffer for WideCharToMultiByte whose size is based on the actual ↵Gravatar Lukacs Berki2016-07-18
| | | | | | | | | path length (as opposed to simple PATH_MAX). Turns out, NTFS does support path lengths longer than PATH_MAX here, let's be resilient against that. -- MOS_MIGRATED_REVID=127699843
* Use System#nanoTime() in the server timeout thread because it's monotonous, ↵Gravatar Lukacs Berki2016-07-18
| | | | | | | unlike System#currentTimeMillis(). -- MOS_MIGRATED_REVID=127697254
* Fix testFilesToBuild in CcToolchainSuiteTest on WindowsGravatar Yun Peng2016-07-18
| | | | | | | -- Change-Id: I4ee773fbd0019829e77f49ce28fab031bd7aea70 Reviewed-on: https://bazel-review.googlesource.com/#/c/4052 MOS_MIGRATED_REVID=127696817
* Remove GlobList formatting logicGravatar Michajlo Matijkiw2016-07-18
| | | | | | | Isn't strictly necessary, remove it before anyone decides they want to use it. -- MOS_MIGRATED_REVID=127585617
* Model the TopLevelArtifactContext as an argument to the CompletionFunction ↵Gravatar Googler2016-07-18
| | | | | | | | | rather than a PRECOMPUTED value. Having a stale TopLevelArtifactContext leads to invalidation of all the top level target nodes, causing time wasted due to a lot of cache hits for a null build. -- MOS_MIGRATED_REVID=127585059
* Drop Error Prone-specific javacoptsGravatar Liam Miller-Cushon2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127576227
* Stop input and output of cc_library from clobbering each other.Gravatar Michael Staib2016-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change: Any given cc_library can only contribute one library with a given name to targets which depend on it. If an input library has the same name as the cc_library which it is an input to, the decision of which to use is based on the link mode. e.g., cc_library( name = "foo", srcs = ["foo.c", "libfoo.so"], ) will only contribute libfoo.a (a static library containing foo.o) in static mode, while it will only contribute libfoo.so (the precompiled shared library) in dynamic mode. This change alters cc_library's behavior in this case: * If libfoo.a would be empty (i.e., there are no linkable sources), then this is allowed. The libfoo.so from srcs is simply passed through. (Previously, the empty libfoo.a would be forwarded.) * Otherwise, this is an error. In the case where there are multiple libraries in the srcs with the same library identifier (lib[name].[a|so|lo]), cc_library will still choose one based on the link mode. This behavior has not changed. Similarly, cc_library will still choose one of its own outputs based on the link mode. That behavior has not changed either. RELNOTES[INC]: It is now an error to include a precompiled library (.a, .lo, .so) in a cc_library which would generate a library with the same name (e.g., libfoo.so in cc_library foo) if that library also contains other linkable sources. -- MOS_MIGRATED_REVID=127569615
* Refactor test utilities.Gravatar Sasha Smundak2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127569037
* C++ reimplementation of singlejar tool: first checkin, take two: fix the ↵Gravatar Sasha Smundak2016-07-18
| | | | | | | | | | | | | | | | | | | problem that caused the rollback. *** Original change description *** Automated [] rollback of commit f667aa54f4fcc2c04182de9bc267a7ee469f6445. *** Reason for rollback *** Breaks CI, see, e.g., http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=ubuntu_15.10-x86_64/92/console *** Original change description *** C++ reimplementation of singlejar tool: first checkin. -- MOS_MIGRATED_REVID=127554239
* Unveil Bazel's proto_library and java_proto_library.Gravatar Carmi Grushko2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127543896
* Rename namespace-sandbox/-runner to linux-sandbox.Gravatar Philipp Wollermann2016-07-18
| | | | | -- MOS_MIGRATED_REVID=127538990
* Increase the server timeout for tests so that we don't get spurious failures ↵Gravatar Lukacs Berki2016-07-18
| | | | | | | on busy machines. -- MOS_MIGRATED_REVID=127538222
* Increase the ping timeout from one second to five seconds.Gravatar Lukacs Berki2016-07-18
| | | | | | | | | Turns out, one second is not enough and on very busy machines, the server can be perfectly healthy and still take more than a second to answer. When the port is not open, it will return quickly anyway. -- MOS_MIGRATED_REVID=127537803
* Add support for Hazelcast configuration fileGravatar Dan Fabulich2016-07-18
| | | | | | | -- Change-Id: I3255a14a60b7ae7749c49d5a885d92f4f19ec84f Reviewed-on: https://bazel-review.git.corp.google.com/#/c/3980/ MOS_MIGRATED_REVID=127537367
* When running Javac and related tools, use -XX:+TieredCompilation ↵Gravatar Philipp Wollermann2016-07-18
| | | | | | | | | -XX:TieredStopAtLevel=1 instead of -client, as the latter is ignored on 64-bit JVMs since at least JDK 6. The new flags have been shown to cut down CPU time by 50% due to reduced time spent in JIT and improving overall run time for short running actions, some times also cutting them in half. -- MOS_MIGRATED_REVID=127536578
* Fix Windows tests.Gravatar Dmitry Lomov2016-07-15
| | | | | | | -- Change-Id: Ib480661ebbc522007edd77b374d6720d216b4508 Reviewed-on: https://bazel-review.googlesource.com/#/c/4050 MOS_MIGRATED_REVID=127534581
* Make batch mode work again.Gravatar Lukacs Berki2016-07-15
| | | | | | | | | Well, this is embarrassing. Fixes #1526. -- MOS_MIGRATED_REVID=127532256
* Renamed module java_annotation-processing to java_annotation_processing.Gravatar Florian Weikert2016-07-15
| | | | | -- MOS_MIGRATED_REVID=127531480
* Bootstrap Bazel with debug symbols.Gravatar Philipp Wollermann2016-07-15
| | | | | | | This helps a lot when trying to debug Bazel from an IDE. -- MOS_MIGRATED_REVID=127529499
* Fixed repository.which() on WindowsGravatar Yun Peng2016-07-15
| | | | | | | | | Also removed previous workaround in cc_configure.bzl -- Change-Id: I6dcd039fc5e18af8f2d21969641d6bbd05c8badc Reviewed-on: https://bazel-review.googlesource.com/#/c/4034 MOS_MIGRATED_REVID=127518922
* java_proto_library: add support for avoiding generating code for protos that ↵Gravatar Carmi Grushko2016-07-15
| | | | | | | are already compiled into a proto runtime. -- MOS_MIGRATED_REVID=127489419
* Remove not-quite necessary serialization bitsGravatar Michajlo Matijkiw2016-07-15
| | | | | | | What we really are doing here is formatting. -- MOS_MIGRATED_REVID=127481183
* Record and propagate namespaces from the <resources> element correctly.Gravatar Googler2016-07-15
| | | | | | | | | | | * Reduces the size of merged values.xml * Improves correctness of merged xml Sadly, this is also backwards compatible by allowing multiple definitions of a prefix with different namespaces. Will be cleaned up after transition. -- MOS_MIGRATED_REVID=127481147
* Remove anydpi support to improve backwards compatibility.Gravatar Googler2016-07-15
| | | | | -- MOS_MIGRATED_REVID=127466889
* Fix embarassing typo in VariableContext#with.Gravatar Nathan Harmata2016-07-15
| | | | | | | | | Turns out that our existing test coverage was insufficient for catching this (I misread the tests during development of unknown commit and thus incorrectly thought we had test coverage for this). -- MOS_MIGRATED_REVID=127461716
* Create another pseudo-label for the JDK launcherGravatar Liam Miller-Cushon2016-07-15
| | | | | -- MOS_MIGRATED_REVID=127458867
* Expose some additional ObjcProvider fields to Skylark.Gravatar Googler2016-07-14
| | | | | | | | | | The new packaging rules need these in order to access resources included in objc_library dependencies of an application. RELNOTES: -- MOS_MIGRATED_REVID=127445152
* Build encyclopedia: mark attributes that don't work withGravatar Greg Estren2016-07-14
| | | | | | | | select() as "nonconfigurable", polish up general configurable attributes docs. -- MOS_MIGRATED_REVID=127440164
* Exposes ios_minimum_os setting to Skylark.Gravatar Erik Abair2016-07-14
| | | | | -- MOS_MIGRATED_REVID=127435666
* StandaloneTestStrategy: Use relative paths for environmental variables ↵Gravatar Philipp Wollermann2016-07-14
| | | | | | | | | | | related to tests. This allows for better caching and also makes it easy to run tests in a different directory than the global execroot. The paths are rewritten to absolute paths in test-setup.sh, because Test Encyclopedia says that we pass absolute paths to tests in these variables. -- MOS_MIGRATED_REVID=127432675
* Rollback of commit 80d1e16b7ae1d04fa2fa4c561588fe9fdbaefc41.Gravatar Carmi Grushko2016-07-14
| | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel's CI because the current release (0.3.0) is used to query some targets, which doesn't have java_proto_library yet. *** Original change description *** Use the native java_proto_library instead of the macro defined in genproto.bzl. -- MOS_MIGRATED_REVID=127431334
* clarified needing to run generate_workspace from bazel source folderGravatar Ittai Zeidman2016-07-14
| | | | | | | | | | | Hi, If you feel this is unnecessary please feel free to close this PR but it took me some time and @lberki's help to understand that even though I built the binary from source and I have the source cloned then I still need to run the command from the source folder so I added that note in. Closes #1489. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1489 MOS_MIGRATED_REVID=127429574
* Silence Error Prone warnings in BuildConfiguration.java .Gravatar Lukacs Berki2016-07-14
| | | | | -- MOS_MIGRATED_REVID=127425448
* Fix -XX:HeapDumpPath on Windows.Gravatar Dmitry Lomov2016-07-14
| | | | | | | -- Change-Id: I66e8bc8dea7a5cef8eeccc0afebdc06f1b2a8a58 Reviewed-on: https://bazel-review.googlesource.com/#/c/4033/ MOS_MIGRATED_REVID=127418054
* Delete ConfigurationsCreatedEvent. This is a resubmission of unknown commit ↵Gravatar Lukacs Berki2016-07-14
| | | | | | | | | and commit 6388680b44893c2b3ccddd73f6c4abb693a18cd4 now that the incompatibilities have been resolved. RELNOTES[INC]: The host_platform and target_platform entries are not written to the master log anymore. -- MOS_MIGRATED_REVID=127417109
* Rollback of commit 270f59b3630ef009f4a3e973581b3fc65a24ecc9.Gravatar Michael Staib2016-07-14
| | | | | | | | | | | | | *** Reason for rollback *** Broke Android targets with native code when cpu is explicitly set. *** Original change description *** RELNOTES: Improve Android split transition handling. -- MOS_MIGRATED_REVID=127377943
* Don't join header compilation classpath argumentsGravatar Liam Miller-Cushon2016-07-14
| | | | | | | The classpaths get split during flag parsing, so joining them is unnecessary. -- MOS_MIGRATED_REVID=127377219
* Memoize TestSize.name().toLowerCase() -> TestSize mappingsGravatar Michajlo Matijkiw2016-07-14
| | | | | | | | | | Saves some needless garbage generation. We expect TestSize#getTestSize(String) to always pass in a lowercase value, which we promptly change to uppercase for the enum lookup. Instead memoize the lowercase -> TestSize mapping to avoid this call. -- MOS_MIGRATED_REVID=127362499
* Allow SpawnActions to always use a params fileGravatar Liam Miller-Cushon2016-07-14
| | | | | | | | | | | and use it to work around an analysis performance regression caused by header compilation. SpawnAction expands the full argument list and compares the length to --min_param_file_size when deciding whether to use a params file, and header compilation actions often have very long JoinExecPathsArg fragemnts that are expensive to expand. -- MOS_MIGRATED_REVID=127354241
* Add host/target feature support for ThinLTOGravatar Googler2016-07-14
| | | | | | | | | | | ThinLTO isn't fully supported for host builds, in order to handle this add support for enabling either a 'host' or 'target' feature in the configuration. The thin_lto feature will require the new 'target' configuration. Companion crosstool change: unknown commit. -- MOS_MIGRATED_REVID=127350506
* Discourage passing NestedSets to SpawnAction.Builder#addInputsGravatar Liam Miller-Cushon2016-07-14
| | | | | | | This is equivalent to the deprecation of NestedSetBuilder#addAll(NestedSet). -- MOS_MIGRATED_REVID=127336417
* Omit redundant string formattingGravatar Liam Miller-Cushon2016-07-14
| | | | | -- MOS_MIGRATED_REVID=127334955