Skip to content

Commit fc90cc3

Browse files
committed
cleanup deps/implementation_deps
1 parent 15ccfc8 commit fc90cc3

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

src/workerd/api/crypto/impl.c++

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#include "impl.h"
66

7+
#include "simdutf.h"
8+
79
#include <workerd/api/util.h>
810
#include <workerd/jsg/memory.h>
911

src/workerd/api/crypto/rsa.c++

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "impl.h"
44
#include "keys.h"
5-
#include "simdutf.h"
65
#include "util.h"
76

87
#include <openssl/bn.h>

src/workerd/jsg/BUILD.bazel

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ wd_cc_library(
4848
"//src/workerd/util:sentry",
4949
"//src/workerd/util:thread-scopes",
5050
"@capnp-cpp//src/kj",
51-
"@simdutf",
5251
"@workerd-v8//:v8",
5352
],
5453
)
@@ -111,6 +110,7 @@ wd_cc_library(
111110
],
112111
# Some JSG headers can't be compiled on their own
113112
features = ["-parse_headers"],
113+
implementation_deps = ["@simdutf"],
114114
local_defines = ["JSG_IMPLEMENTATION"],
115115
deps = [
116116
":exception",
@@ -126,7 +126,6 @@ wd_cc_library(
126126
"//src/workerd/util:thread-scopes",
127127
"//src/workerd/util:uuid",
128128
"@capnp-cpp//src/kj",
129-
"@simdutf",
130129
"@ssl",
131130
"@workerd-v8//:v8",
132131
],
@@ -156,15 +155,15 @@ wd_cc_library(
156155
hdrs = [
157156
"inspector.h",
158157
],
159-
local_defines = ["JSG_IMPLEMENTATION"],
160-
# Some JSG headers can't be compiled on their own
161-
visibility = ["//visibility:public"],
162-
deps = [
158+
implementation_deps = [
163159
":jsg-core",
164160
"@capnp-cpp//src/kj",
165161
"@simdutf",
166162
"@workerd-v8//:v8",
167163
],
164+
local_defines = ["JSG_IMPLEMENTATION"],
165+
# Some JSG headers can't be compiled on their own
166+
visibility = ["//visibility:public"],
168167
)
169168

170169
wd_cc_library(

src/workerd/jsg/iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#pragma once
66

7-
#include <workerd/jsg/jsg.h>
87
#include <workerd/jsg/memory.h>
8+
#include <workerd/jsg/promise.h>
99
#include <workerd/jsg/struct.h>
1010

1111
#include <concepts>

src/workerd/jsg/jsg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ class USVString: public kj::String {
11261126
}
11271127

11281128
private:
1129-
// This is a seperate method to avoid including simdutf8 in the header file.
1129+
// This is a seperate method to avoid including simdutf in the header file.
11301130
bool isValidUtf8() const;
11311131
};
11321132

src/workerd/jsg/value.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// Handling of various basic value types: numbers, booleans, strings, optionals, maybes, variants,
99
// arrays, buffers, dicts.
1010

11-
#include "simdutf.h"
12-
1311
#include <workerd/jsg/fast-api.h>
1412
#include <workerd/jsg/util.h>
1513
#include <workerd/jsg/web-idl.h>

0 commit comments

Comments
 (0)