Commit Graph

21 Commits

Author SHA1 Message Date
Aapeli Vuorinen 8c55021864
Upgrade protobuf and grpc deps (#1211)
* Upgrade protobuf and grpc deps

* Update protobuf version in prereqs dockerfile

Co-authored-by: Eryu Xia <eryu@google.com>
2022-03-08 13:40:04 -08:00
Eryu Xia 78ddf996d8
Clean up Javascript-related Bazel rules. (#1138) 2021-09-21 23:16:28 -07:00
Eryu Xia ef0f44e1ce Bump Bazel version -> 4.1.0 and Protobuf version -> 3.17.3 2021-08-05 00:26:31 -07:00
Yannic Bonenberger 302ef34811 Upgrade rules_closure 2020-12-11 21:25:54 -08:00
Yannic Bonenberger 9f20f76411 Fix buildifier warning 2020-11-20 12:51:47 -08:00
Yannic Bonenberger 6b6b7ac2ea Add plumbing for ClosureJS echo-example 2020-11-20 12:51:47 -08:00
Yannic Bonenberger e994bb108b [bazel] Introduce grpc_web_toolchain
This change adds a new rule `grpc_web_toolchain` which we will use to
provide the generator/runtime to `closure_grpc_web_library`.

Updates #507

RELNOTES: [bazel] `closure_grpc_web_library` now uses toolchains to
resolve the generator and runtime. To migrate, add the following snipped
to your `WORKSPACE`:
```starlark
load("@com_github_grpc_grpc_web//bazel:repositories.bzl", "grpc_web_toolchains")
grpc_web_toolchains()
```
2020-07-17 11:26:31 -07:00
Stanley Cheung e25afb40de Review fixes. Run buildifier on WORKSPACE file too 2020-07-08 11:45:32 -07:00
Stanley Cheung e27be18859 Update code generator to support Proto3 optional 2020-07-08 11:45:32 -07:00
Yannic Bonenberger 40cbb49772 [bazel] Update rules_closure + fix linter warnings
Working towards resolving #744, #575, #550, #700
2020-03-18 22:56:59 -07:00
Daniel Bader ed2c747a34 Update rules_closure version. 2019-07-02 13:32:32 -07:00
Yannic Bonenberger 8d538a1ac4 Attempt to fix flaky bazel tests 2019-03-21 11:44:25 -07:00
Yannic Bonenberger cb3499c967 [bazel] Migrate protobuf info provider to new-style one 2019-03-18 10:40:06 -07:00
Yannic Bonenberger ec4d1480fa [bazel] Upgrade to 0.22.0 2019-01-28 15:44:37 -08:00
Yannic 35f2abed45 [bazel] Upgrade rules_closure 2019-01-28 15:44:37 -08:00
Yannic 4aaa044916 [bazel] Use starlark version of http_archive 2019-01-28 15:44:37 -08:00
factuno-db e03f5ddb63 Make the bazel rules work with current rules_closure. (#368)
* closure_js_library_impl --> create_closure_js_library
* [WORKSPACE] update closure rules to current
* _CloserWorker + _closure_library_base --> CLOSURE_JS_TOOLCHAIN_ATTRS
2018-11-13 13:41:15 -08:00
Yannic Bonenberger 081d3f9bda Use official rules_closure repository
Fixes #278
2018-10-18 10:55:49 -07:00
Yannic Bonenberger 76a4de8a6c Add bazel rule closure_grpc_web_library 2018-08-05 15:30:57 +02:00
Stanley Cheung 98b882711f Add bazel integration and tests 2018-07-26 19:35:56 -07:00
zaucy 1683f7fe2e Added bazel WORKSPACE and BUILD file for protoc-gen-grpc-web 2018-07-26 17:56:38 -07:00