This repository was archived by the owner on Mar 4, 2020. It is now read-only.
File tree 3 files changed +65
-0
lines changed
3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ config("node_lib_config") {
130
130
cflags = [ " -Wno-microsoft-include" ]
131
131
132
132
configs = [ " :node_features" ]
133
+
134
+ if (is_debug ) {
135
+ defines = [ " DEBUG" ]
136
+ }
133
137
}
134
138
135
139
config (" node_internal_config" ) {
@@ -196,7 +200,9 @@ config("node_internal_config") {
196
200
component (" node_lib" ) {
197
201
deps = [
198
202
" :node_js2c" ,
203
+ " deps/brotli" ,
199
204
" deps/cares" ,
205
+ " deps/histogram" ,
200
206
" deps/http_parser" ,
201
207
" deps/llhttp" ,
202
208
" deps/nghttp2" ,
@@ -245,6 +251,7 @@ component("node_lib") {
245
251
sources += [
246
252
" src/inspector_agent.cc" ,
247
253
" src/inspector_agent.h" ,
254
+ " src/inspector_coverage.cc" ,
248
255
" src/inspector_io.cc" ,
249
256
" src/inspector_io.h" ,
250
257
" src/inspector_profiler.cc" ,
Original file line number Diff line number Diff line change
1
+ config (" brotli_config" ) {
2
+ include_dirs = [ " c/include" ]
3
+ if (is_linux ) {
4
+ defines = [ " OS_LINUX" ]
5
+ }
6
+ if (is_mac ) {
7
+ defines = [ " OS_MACOSX" ]
8
+ }
9
+ }
10
+
11
+ static_library (" brotli" ) {
12
+ public_configs = [ " :brotli_config" ]
13
+
14
+ libs = [ " m" ]
15
+
16
+ sources = [
17
+ # Common
18
+ " c/common/dictionary.c" ,
19
+ " c/common/transform.c" ,
20
+
21
+ # Decoder
22
+ " c/dec/bit_reader.c" ,
23
+ " c/dec/decode.c" ,
24
+ " c/dec/huffman.c" ,
25
+ " c/dec/state.c" ,
26
+
27
+ # Encoder
28
+ " c/enc/backward_references.c" ,
29
+ " c/enc/backward_references_hq.c" ,
30
+ " c/enc/bit_cost.c" ,
31
+ " c/enc/block_splitter.c" ,
32
+ " c/enc/brotli_bit_stream.c" ,
33
+ " c/enc/cluster.c" ,
34
+ " c/enc/compress_fragment.c" ,
35
+ " c/enc/compress_fragment_two_pass.c" ,
36
+ " c/enc/dictionary_hash.c" ,
37
+ " c/enc/encode.c" ,
38
+ " c/enc/encoder_dict.c" ,
39
+ " c/enc/entropy_encode.c" ,
40
+ " c/enc/histogram.c" ,
41
+ " c/enc/literal_cost.c" ,
42
+ " c/enc/memory.c" ,
43
+ " c/enc/metablock.c" ,
44
+ " c/enc/static_dict.c" ,
45
+ " c/enc/utf8_util.c"
46
+ ]
47
+ }
Original file line number Diff line number Diff line change
1
+ config (" histogram_config" ) {
2
+ include_dirs = [ " src" ]
3
+ }
4
+ static_library (" histogram" ) {
5
+ public_configs = [ " :histogram_config" ]
6
+
7
+ sources = [
8
+ " src/hdr_histogram.c" ,
9
+ " src/hdr_histogram.h" ,
10
+ ]
11
+ }
You can’t perform that action at this time.
0 commit comments