aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Rollback of commit 0c6e4cdab3c38f8751fb3b944ccaa53866e4c032.Gravatar Adam Michael2016-11-02
| | | | | | | | *** Reason for rollback *** Broke internal builds. -- MOS_MIGRATED_REVID=137959459
* Merge BlazeModule.getEnvironmentExtensions into serverInit / ServerBuilder.Gravatar Ulf Adams2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137955061
* Improve overhead/safety of RecorderStreamGravatar Michajlo Matijkiw2016-11-02
| | | | | | | | | | Bypass converting bytes to string - RecordOutputStream is typically used to wrap stdout/err, which we write bytes to, the string step is waste. Make defensive copies of byte[]s passed to Event since Event doesn't. -- MOS_MIGRATED_REVID=137949714
* Description redacted.Gravatar Luis Fernando Pino Duque2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137944374
* Multiplying strings with negative numbers no longer leads to an exception.Gravatar Florian Weikert2016-11-02
| | | | | | | This CL also contains a small refactoring that should make the introduction of list-int-mulitplication easier. -- MOS_MIGRATED_REVID=137938998
* Move createActionCache to ExecutorBuilder.Gravatar Ulf Adams2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137936478
* Description redacted.Gravatar Yue Gan2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137935119
* remove other AF_UNIX referencesGravatar Thiago Farina2016-11-02
| | | | | | | | | | | Now this time in the client documentation, since they are not true anymore as the gRPC mechanism is always the default and there is no other mechanism to choose. -- Change-Id: I59d2cf9276764c32b9b28bf5dc2c0ff6777cec40 Reviewed-on: https://bazel-review.googlesource.com/#/c/7031/ MOS_MIGRATED_REVID=137925682
* Add support for --keep-main-dex flag to RexGravatar Googler2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137886595
* Add support for Rex package mapGravatar Googler2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137877037
* Change Bazel default android_manifest_merger to android.Gravatar Adam Michael2016-11-02
| | | | | | | | | | | | | The Firebase Android libraries contain lots of AARs with manifests that include ${applicationId}. As far as I can tell, tools/android/merge_manifests.py only allows for substitution of ${packageName} and not arbitrary placeholder substitution. The new aar_import rule exposes the AARs in <sdk>/extras which include include the Firebase Android libraries. RELNOTES: Default android_manifest_merger is now "android" which uses the official Android manifest merger. http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger -- MOS_MIGRATED_REVID=137875695
* Have query Lexer operated directly on StringGravatar Michajlo Matijkiw2016-11-02
| | | | | | | | No need for the char[] in the middle, prevents us from accidentally modifying input, or sucking up ram on huge queries. -- MOS_MIGRATED_REVID=137872573
* Use common logic to create proto action in j2objc proto aspect.Gravatar Rumou Duan2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137871914
* Android native libraries compile with -mstackrealign for 32bit x86 clang.Gravatar Adam Michael2016-11-02
| | | | | | | | | | This is a workaround for a clang bug. See https://code.google.com/p/android/issues/detail?id=220159. RELNOTES: Fix for Android clang++ std::stack segfault on 32bit x86. See https://code.google.com/p/android/issues/detail?id=220159 -- MOS_MIGRATED_REVID=137871199
* Add logging to TimestampGranularityMonitor.Gravatar Julio Merino2016-11-02
| | | | | | | | These new log statements help in understanding what files trigger the TimestampGranularityMonitor's wait logic and when the wait is performed. -- MOS_MIGRATED_REVID=137868235
* Do not tickle TimestampGranularityMonitor for CONSTANT_METADATA artifacts.Gravatar Julio Merino2016-11-02
| | | | | | | | | | | | | | | | | | | | "Constant metadata" artifacts represent real files whose changes should be ignored by the build system. However, these artifacts were triggering the timestamp granularity checks in TimestampGranularityMonitor because the fact that they were "constant metadata" was not respected. Avoid this so that their regeneration does not cause the build to unnecessarily stall. One of these artifacts is the volatile workspace status file, which is unconditionally updated on each build. Before this fix, "blaze build" would get stuck for up to a second waiting for file system timestamps to catch up. With this fix, the artifact is ignored and the wait is gone. This problem is magnified on macOS where the default HFS+ file system only has second-level granularity. (This also affects Linux, but because current Linux file systems have milli/nanosecond-level granularity, the wait imposed by TimestampGranularityMonitor is minimal and thus not generally noticeable.) -- MOS_MIGRATED_REVID=137867586
* ProtoCompileActionBuilder takes ImmutableMap for toolchains, which has a ↵Gravatar Carmi Grushko2016-11-02
| | | | | | | predictable iteration order. -- MOS_MIGRATED_REVID=137864799
* Rollback, breaks dependent code.Gravatar Jon Brandvein2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137864618
* Pad apple SDK version number strings to ensure there are at least two ↵Gravatar Chris Parsons2016-11-02
| | | | | | | | | components. In other words, ensure that a version number such as "10" is always padded as "10.0" when describing an apple sdk version number. -- MOS_MIGRATED_REVID=137836480
* Remove deprecation warning from ios_simulator_version flag. Its semantics ↵Gravatar Chris Parsons2016-11-02
| | | | | | | remain unchanged; it is overridden by ios_test "target_device" attribute. -- MOS_MIGRATED_REVID=137835927
* A version of ProtoCompileActionBuilder that uses proto_lang_toolchain() ↵Gravatar Carmi Grushko2016-11-02
| | | | | | | rules instead of a soup of methods. -- MOS_MIGRATED_REVID=137835755
* experimental_objc_library relies on ObjcProvider for compilation data, ↵Gravatar Cal Peyser2016-11-02
| | | | | | | | | exporting only CcLinkParamsProvider to provide cc-interop (see the current objc_library implementation). This allows experimental_objc_library to take advantage of ObjcProvider's direct-deps semantics for protos. -- MOS_MIGRATED_REVID=137826198
* Description redacted.Gravatar Googler2016-11-02
| | | | | -- MOS_MIGRATED_REVID=137800285
* Initial implementation of "dylib" attribute for apple_binary and ↵Gravatar Chris Parsons2016-11-02
| | | | | | | | | | | | apple_dynamic_library rules Provided values propagated from "dylib" dependencies will be compiled against the srcs of the rule, and linked together with the dependencies. It is worth noting that "dylibs" differs from "deps" in that there is no configuration transition along this edge. There is more work to be done on this attribute, so it remains undocumented. Namely, symbol deduping between dylib and statically-linked dependencies needs to be addressed. -- MOS_MIGRATED_REVID=137721599
* Refactor the module API to use the builder pattern for executor creation.Gravatar Ulf Adams2016-11-02
| | | | | | | This significantly simplifies several of our modules. -- MOS_MIGRATED_REVID=137713119
* Windows: java_binary can be an action executableGravatar Laszlo Csomor2016-10-31
| | | | | | | | | | | | | | | | | | This change introduces a new output of java_binary on Windows: %{name}.cmd, a Windows-compatible Java launcher script. This simply calls out to bash.exe passing the shell launcher we use on other platforms. This change allows java_binary to be the executable of a Skylark action or any SpawnAction. Fixes https://github.com/bazelbuild/bazel/issues/1925 RELNOTES[NEW]: Bazel on Windows: java_binary can now be a the executable of Skylark rule actions (ctx.action's executable argument) -- MOS_MIGRATED_REVID=137708331
* Add method getCurrentlyAvailableNodes to QueryableGraph and Walkable GraphGravatar Googler2016-10-31
| | | | | | | | | | It allows all graph implementations to return the list of nodes which are immediately available to be fetched. NOTE: Not-currently-available here does not mean the nodes do not exist in the graph. It simply means they are not ready to be fetched immediately yet. -- MOS_MIGRATED_REVID=137701432
* Allow calling attributes of built-in objects.Gravatar Vladimir Moskva2016-10-31
| | | | | | | | | If `f` is an object with an attribute `x` which is callable, it's valid now to call `f.x()` directly (caused a "no function called x" error before because .x is a attribute, not a method). -- MOS_MIGRATED_REVID=137698425
* Bring experimental_objc_library module semantics in line with those ofGravatar Cal Peyser2016-10-31
| | | | | | | | | | | objc_library. That is, a module map is always generated, but modules only used by the library if module maps are enabled. This is in contrast with previous behavior, under which modules were always used. -- MOS_MIGRATED_REVID=137697659
* ObjcCompileAction provides all headers to sandboxed execution. This allowsGravatar Cal Peyser2016-10-31
| | | | | | | headers pruned by .d pruning to be re-added if they are changed. -- MOS_MIGRATED_REVID=137697323
* Add experimental flag to stop requiring all transitive modules as inputs.Gravatar Googler2016-10-31
| | | | | | | | | Requiring all transitive modules to always be available can lead to long critical paths and even unnecessary compiles in combination with the prune_header_modules feature. -- MOS_MIGRATED_REVID=137696794
* Move Bazel{ActionListener,ExtraAction} rule to rules.extra and drop prefix.Gravatar Ulf Adams2016-10-31
| | | | | -- MOS_MIGRATED_REVID=137694143
* Fix typo in bazel docs: Borne -> Bourne.Gravatar Googler2016-10-31
| | | | | -- MOS_MIGRATED_REVID=137688913
* Small doc fixes for BazelActionListenerRule.Gravatar Ulf Adams2016-10-31
| | | | | -- MOS_MIGRATED_REVID=137682796
* remove references to "server.socket" fileGravatar Thiago Farina2016-10-31
| | | | | | | | | | | | The C++ client now talks to the Java server through protobuf messages using the RPC mechanism provided by grpc, so this AF_UNIX socket file is not used anymore for the communication between them since commit a3c4833dc24b: ("Remove support for using AF_UNIX..."). -- Change-Id: Ic71e4c65ebb6bb2e661128635c2440007feaf5f6 Reviewed-on: https://bazel-review.googlesource.com/#/c/7030/ MOS_MIGRATED_REVID=137679905
* Description redacted.Gravatar Googler2016-10-31
| | | | | -- MOS_MIGRATED_REVID=137669164
* Introduce proto_lang_toolchain().Gravatar Carmi Grushko2016-10-31
| | | | | | | RELNOTES: New rule: proto_lang_toolchain(), to support LANG_proto_library rules on multiple platforms. -- MOS_MIGRATED_REVID=137550563
* Verify (in test) that ObjcProvider keys are either exposed to skylark or ↵Gravatar Chris Parsons2016-10-31
| | | | | | | explicitly omitted -- MOS_MIGRATED_REVID=137547748
* Integration tests for RepositoryCache using Skylark's download() and ↵Gravatar Jingwen Chen2016-10-28
| | | | | | | | | download_and_execute(). GITHUB: #1752 -- MOS_MIGRATED_REVID=137535936
* Avoid passing a Windows path as a regexGravatar Laszlo Csomor2016-10-28
| | | | | | | | | | | See https://github.com/bazelbuild/bazel/issues/2002 This bug was making //src/t/j/c/g/d/build/lib/skyframe:SkyframeTests fail on my Windows machine. -- MOS_MIGRATED_REVID=137521932
* Rollback of commit b6301a5f7628d5a7e11abc6c1115918d42c6fba8.Gravatar Luis Fernando Pino Duque2016-10-28
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks blaze_util_test for Bazel https://github.com/bazelbuild/bazel/issues/1999 *** Original change description *** Uncomment lines inside blaze_util_tests since the tests are now passing. -- MOS_MIGRATED_REVID=137516264
* Disable protobuf modulemap generation if it's a linking target. Correctly ↵Gravatar Sergio Campama2016-10-28
| | | | | | | configure protos intermediate artifacts to use the build configuration, if any provided. -- MOS_MIGRATED_REVID=137514384
* Add the IsNullary(arg) and IsUnary(arg, next_arg) functionsGravatar Luis Fernando Pino Duque2016-10-28
| | | | | | | to detect whether arg is a valid startup option. -- MOS_MIGRATED_REVID=137512954
* Rollback of commit 69c98ab99563e0542cd6146de22a397679c67fdb.Gravatar Tobias Werth2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137506734
* Small docs updates for the extra action rule.Gravatar Ulf Adams2016-10-28
| | | | | | | | Add the product name to the ConfiguredRuleClassProvider so that the doc generator can generate the proper links to the user manual. -- MOS_MIGRATED_REVID=137505460
* extract a function to return the embedded binaries root directoryGravatar Thiago Farina2016-10-28
| | | | | | | | | | This allow us to keep this logic in one place and add a documentation for what it means (making it more in sync with its Java counterpart). -- Change-Id: I20ecfa6ea2cd3129a2f7a920c3bffe532f664a90 Reviewed-on: https://bazel-review.googlesource.com/#/c/6990/ MOS_MIGRATED_REVID=137504319
* Reap the direct child process when double-forking to daemonize.Gravatar Lukacs Berki2016-10-28
| | | | | | | Otherwise, it'd only be reaped by init when the client terminates. -- MOS_MIGRATED_REVID=137502970
* Change our URL to bazel.buildGravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137500893
* Global cleanup change.Gravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137495530
* Delete obsolete API in ErrorProneAnalyzerGravatar Liam Miller-Cushon2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137464177