Skip to content

Commit 4bb08e1

Browse files
committed
simplify io/jsg/util build.bazel
1 parent 799594d commit 4bb08e1

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

src/workerd/io/BUILD.bazel

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,18 @@ wd_cc_library(
204204
"actor-sqlite.h",
205205
"actor-storage.h",
206206
],
207+
implementation_deps = [
208+
":io-gate",
209+
"//src/workerd/util:autogate",
210+
"//src/workerd/util:duration-exceeded-logger",
211+
"@capnp-cpp//src/capnp:capnp-rpc",
212+
],
207213
visibility = ["//visibility:public"],
208214
deps = [
209215
":actor-storage_capnp",
210-
":io-gate",
211216
":trace",
212217
"//src/workerd/jsg:exception",
213-
"//src/workerd/util:autogate",
214-
"//src/workerd/util:duration-exceeded-logger",
215218
"//src/workerd/util:sqlite",
216-
"@capnp-cpp//src/capnp:capnp-rpc",
217219
"@capnp-cpp//src/kj:kj-async",
218220
],
219221
)
@@ -222,11 +224,13 @@ wd_cc_library(
222224
name = "frankenvalue",
223225
srcs = ["frankenvalue.c++"],
224226
hdrs = ["frankenvalue.h"],
227+
implementation_deps = [
228+
"@capnp-cpp//src/capnp:capnpc",
229+
],
225230
visibility = ["//visibility:public"],
226231
deps = [
227232
":frankenvalue_capnp",
228233
"//src/workerd/jsg",
229-
"@capnp-cpp//src/capnp:capnpc",
230234
],
231235
)
232236

@@ -237,6 +241,8 @@ wd_cc_library(
237241
implementation_deps = [
238242
"//src/workerd/util:entropy",
239243
"//src/workerd/util:thread-scopes",
244+
"@capnp-cpp//src/capnp:capnpc",
245+
"@capnp-cpp//src/kj/compat:kj-http",
240246
],
241247
visibility = ["//visibility:public"],
242248
deps = [
@@ -245,9 +251,6 @@ wd_cc_library(
245251
"//src/workerd/jsg:memory-tracker",
246252
"//src/workerd/util:own-util",
247253
"@capnp-cpp//src/capnp:capnp-rpc",
248-
"@capnp-cpp//src/capnp:capnpc",
249-
"@capnp-cpp//src/kj/compat:kj-http",
250-
"@ssl",
251254
],
252255
)
253256

@@ -307,14 +310,16 @@ wd_cc_library(
307310
name = "worker-interface",
308311
srcs = ["worker-interface.c++"],
309312
hdrs = ["worker-interface.h"],
313+
implementation_deps = [
314+
"@capnp-cpp//src/capnp:capnpc",
315+
],
310316
visibility = ["//visibility:public"],
311317
deps = [
312318
":frankenvalue_capnp",
313319
":trace",
314320
":worker-interface_capnp",
315321
"//src/workerd/util",
316322
"@capnp-cpp//src/capnp:capnp-rpc",
317-
"@capnp-cpp//src/capnp:capnpc",
318323
"@capnp-cpp//src/capnp/compat:http-over-capnp",
319324
],
320325
)
@@ -408,6 +413,7 @@ kj_test(
408413
deps = [
409414
":actor",
410415
":io-gate",
416+
"//src/workerd/util:autogate",
411417
"//src/workerd/util:test",
412418
"//src/workerd/util:test-util",
413419
"@sqlite3",

src/workerd/jsg/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ kj_test(
333333
src = "url-test.c++",
334334
deps = [
335335
":url",
336-
"@ssl",
337336
],
338337
)
339338

src/workerd/util/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ wd_cc_library(
102102
":strings",
103103
"//src/workerd/jsg:memory-tracker",
104104
"@capnp-cpp//src/kj",
105-
"@capnp-cpp//src/kj:kj-async",
106105
],
107106
)
108107

@@ -342,7 +341,6 @@ kj_test(
342341
deps = [
343342
":sqlite",
344343
"//src/workerd/io:io-gate",
345-
"@sqlite3",
346344
],
347345
)
348346

0 commit comments

Comments
 (0)