Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 1 | load("@npm//:defs.bzl", "npm_link_all_packages") |
2 | load("//tools/build_rules:js.bzl", "ng_pkg") | ||||
Alex Perry | 89cd721 | 2022-04-06 20:55:37 -0700 | [diff] [blame] | 3 | |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 4 | npm_link_all_packages(name = "node_modules") |
5 | |||||
6 | ng_pkg( | ||||
Alex Perry | 89cd721 | 2022-04-06 20:55:37 -0700 | [diff] [blame] | 7 | name = "rpc", |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 8 | extra_srcs = [ |
9 | "public-api.ts", | ||||
Alex Perry | 89cd721 | 2022-04-06 20:55:37 -0700 | [diff] [blame] | 10 | ], |
Philipp Schrader | 175a93c | 2023-02-19 13:13:40 -0800 | [diff] [blame] | 11 | generate_public_api = False, |
Alex Perry | 89cd721 | 2022-04-06 20:55:37 -0700 | [diff] [blame] | 12 | deps = [ |
Philipp Schrader | e5d1394 | 2024-03-17 15:44:35 -0700 | [diff] [blame] | 13 | ":node_modules", |
14 | "//:node_modules/flatbuffers", | ||||
Alex Perry | 89cd721 | 2022-04-06 20:55:37 -0700 | [diff] [blame] | 15 | ], |
16 | ) |