• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/test.gni")
15import("//foundation/communication/netstack/netstack_config.gni")
16
17TLS = "$NETSTACK_NATIVE_ROOT/tls_socket"
18TLS_NAPI = "$NETSTACK_DIR/frameworks/js/napi/tls"
19SOCKET = "$NETSTACK_DIR/frameworks/js/napi/socket"
20TLS_SOCKET_TEST = "$NETSTACK_DIR/test/unittest/tlssocket/client"
21
22tls_sources = [
23  "$TLS/src/secure_data.cpp",
24  "$TLS/src/socket_error.cpp",
25  "$TLS/src/tls_certificate.cpp",
26  "$TLS/src/tls_configuration.cpp",
27  "$TLS/src/tls_context.cpp",
28  "$TLS/src/tls_context_server.cpp",
29  "$TLS/src/tls_key.cpp",
30  "$TLS/src/tls_utils.cpp",
31  "$TLS_NAPI/src/tls_socket.cpp",
32  "$TLS_NAPI/src/tls_socket_server.cpp",
33]
34
35tls_napi_sources = [
36  "$TLS_NAPI/src/context/tls_bind_context.cpp",
37  "$TLS_NAPI/src/context/tls_connect_context.cpp",
38  "$TLS_NAPI/src/context/tls_extra_context.cpp",
39  "$TLS_NAPI/src/context/tls_init_context.cpp",
40  "$TLS_NAPI/src/context/tls_napi_context.cpp",
41  "$TLS_NAPI/src/context/tls_send_context.cpp",
42  "$TLS_NAPI/src/context/tls_server_close_context.cpp",
43  "$TLS_NAPI/src/context/tls_server_napi_context.cpp",
44  "$TLS_NAPI/src/context/tls_server_send_context.cpp",
45  "$TLS_NAPI/src/monitor.cpp",
46  "$TLS_NAPI/src/monitor_server.cpp",
47  "$TLS_NAPI/src/tlssocket_async_work.cpp",
48  "$TLS_NAPI/src/tlssocket_exec.cpp",
49  "$TLS_NAPI/src/tlssocket_module.cpp",
50  "$TLS_NAPI/src/tlssocketserver_async_work.cpp",
51  "$TLS_NAPI/src/tlssocketserver_exec.cpp",
52  "$TLS_NAPI/src/tlssocketserver_module.cpp",
53]
54
55socket_sources = [
56  "$NETSTACK_DIR/frameworks/js/napi/proxy/src/socks5_instance.cpp",
57  "$NETSTACK_DIR/frameworks/js/napi/proxy/src/socks5_none_method.cpp",
58  "$NETSTACK_DIR/frameworks/js/napi/proxy/src/socks5_package.cpp",
59  "$NETSTACK_DIR/frameworks/js/napi/proxy/src/socks5_passwd_method.cpp",
60  "$NETSTACK_DIR/frameworks/js/napi/proxy/src/socks5_utils.cpp",
61  "$SOCKET/async_context/src/bind_context.cpp",
62  "$SOCKET/async_context/src/common_context.cpp",
63  "$SOCKET/async_context/src/connect_context.cpp",
64  "$SOCKET/async_context/src/local_socket_context.cpp",
65  "$SOCKET/async_context/src/local_socket_server_context.cpp",
66  "$SOCKET/async_context/src/multicast_get_loopback_context.cpp",
67  "$SOCKET/async_context/src/multicast_get_ttl_context.cpp",
68  "$SOCKET/async_context/src/multicast_membership_context.cpp",
69  "$SOCKET/async_context/src/multicast_set_loopback_context.cpp",
70  "$SOCKET/async_context/src/multicast_set_ttl_context.cpp",
71  "$SOCKET/async_context/src/tcp_extra_context.cpp",
72  "$SOCKET/async_context/src/tcp_send_context.cpp",
73  "$SOCKET/async_context/src/tcp_server_common_context.cpp",
74  "$SOCKET/async_context/src/tcp_server_extra_context.cpp",
75  "$SOCKET/async_context/src/tcp_server_listen_context.cpp",
76  "$SOCKET/async_context/src/tcp_server_send_context.cpp",
77  "$SOCKET/async_context/src/udp_extra_context.cpp",
78  "$SOCKET/async_context/src/udp_send_context.cpp",
79  "$SOCKET/async_work/src/socket_async_work.cpp",
80  "$SOCKET/options/src/extra_options_base.cpp",
81  "$SOCKET/options/src/local_socket_options.cpp",
82  "$SOCKET/options/src/net_address.cpp",
83  "$SOCKET/options/src/proxy_options.cpp",
84  "$SOCKET/options/src/socket_remote_info.cpp",
85  "$SOCKET/options/src/socket_state_base.cpp",
86  "$SOCKET/options/src/tcp_connect_options.cpp",
87  "$SOCKET/options/src/tcp_extra_options.cpp",
88  "$SOCKET/options/src/tcp_send_options.cpp",
89  "$SOCKET/options/src/udp_extra_options.cpp",
90  "$SOCKET/options/src/udp_send_options.cpp",
91  "$SOCKET/socket_exec/src/local_socket_exec.cpp",
92  "$SOCKET/socket_exec/src/socket_exec.cpp",
93  "$SOCKET/socket_exec/src/socket_extra_exec.cpp",
94  "$SOCKET/socket_module/src/socket_module.cpp",
95]
96
97tls_socket_test_sources = [ "$TLS_SOCKET_TEST/tls_utils_test.cpp" ]
98
99config("tls_test_config") {
100  include_dirs = [
101    "$TLS/include",
102    "$TLS_NAPI/include",
103    "$TLS_NAPI/include/context",
104    "$NETSTACK_INNERKITS_DIR/tls_socket/include",
105    "$NETSTACK_DIR/frameworks/js/napi/proxy/include",
106    "$NETSTACK_DIR/utils/napi_utils/include",
107    "$SOCKET/async_context/include",
108    "$SOCKET/async_work/include",
109    "$SOCKET/constant/include",
110    "$SOCKET/socket_exec/include",
111    "$SOCKET/socket_module/include",
112    "$SOCKET/options/include",
113    "$SOCKET/task_queue/include",
114  ]
115}
116
117ohos_unittest("two_way_tls_socket_unittest") {
118  sanitize = {
119    cfi = true
120    cfi_cross_dso = true
121    debug = false
122  }
123
124  branch_protector_ret = "pac_ret"
125
126  sources = [ "TlsSocketTest.cpp" ]
127  sources += tls_sources
128  sources += tls_napi_sources
129  sources += socket_sources
130  sources += tls_socket_test_sources
131
132  configs = [ ":tls_test_config" ]
133
134  deps = [
135    "$NETSTACK_DIR/utils:stack_utils_common",
136    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
137  ]
138  external_deps = [
139    "c_utils:utils",
140    "hilog:libhilog",
141    "napi:ace_napi",
142    "openssl:libcrypto_shared",
143    "openssl:libssl_shared",
144    "samgr:samgr_proxy",
145    "hiappevent:hiappevent_innerapi",
146  ]
147
148  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
149  if (defined(global_parts_info) &&
150      defined(global_parts_info.communication_netmanager_base) &&
151      global_parts_info.communication_netmanager_base) {
152    external_deps += [
153      "netmanager_base:net_conn_manager_if",
154      "netmanager_base:net_security_config_if",
155    ]
156    defines += [ "HAS_NETMANAGER_BASE=1" ]
157  } else {
158    defines += [ "HAS_NETMANAGER_BASE=0" ]
159  }
160
161  module_out_path = "netstack/netstack/tls_socket_unittest"
162  part_name = "netstack"
163  subsystem_name = "communication"
164}
165
166ohos_unittest("one_way_tls_socket_unittest") {
167  sanitize = {
168    cfi = true
169    cfi_cross_dso = true
170    debug = false
171  }
172
173  branch_protector_ret = "pac_ret"
174
175  sources = [ "TlsSocketOneWayTest.cpp" ]
176  sources += tls_sources
177  sources += tls_napi_sources
178  sources += socket_sources
179  sources += tls_socket_test_sources
180
181  configs = [ ":tls_test_config" ]
182
183  deps = [
184    "$NETSTACK_DIR/utils:stack_utils_common",
185    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
186  ]
187  external_deps = [
188    "c_utils:utils",
189    "hilog:libhilog",
190    "napi:ace_napi",
191    "openssl:libcrypto_shared",
192    "openssl:libssl_shared",
193    "samgr:samgr_proxy",
194    "hiappevent:hiappevent_innerapi",
195  ]
196
197  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
198  if (defined(global_parts_info) &&
199      defined(global_parts_info.communication_netmanager_base) &&
200      global_parts_info.communication_netmanager_base) {
201    external_deps += [
202      "netmanager_base:net_conn_manager_if",
203      "netmanager_base:net_security_config_if",
204    ]
205    defines += [ "HAS_NETMANAGER_BASE=1" ]
206  } else {
207    defines += [ "HAS_NETMANAGER_BASE=0" ]
208  }
209
210  module_out_path = "netstack/netstack/tls_socket_unittest"
211  part_name = "netstack"
212  subsystem_name = "communication"
213}
214
215ohos_unittest("two_way_tls_socket_certchain_unittest") {
216  sanitize = {
217    cfi = true
218    cfi_cross_dso = true
219    debug = false
220  }
221
222  branch_protector_ret = "pac_ret"
223
224  sources = [ "TlsSocketCertChainTest.cpp" ]
225  sources += tls_sources
226  sources += tls_napi_sources
227  sources += socket_sources
228  sources += tls_socket_test_sources
229
230  configs = [ ":tls_test_config" ]
231
232  deps = [
233    "$NETSTACK_DIR/utils:stack_utils_common",
234    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
235  ]
236  external_deps = [
237    "c_utils:utils",
238    "hilog:libhilog",
239    "napi:ace_napi",
240    "openssl:libcrypto_shared",
241    "openssl:libssl_shared",
242    "samgr:samgr_proxy",
243    "hiappevent:hiappevent_innerapi",
244  ]
245
246  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
247  if (defined(global_parts_info) &&
248      defined(global_parts_info.communication_netmanager_base) &&
249      global_parts_info.communication_netmanager_base) {
250    external_deps += [
251      "netmanager_base:net_conn_manager_if",
252      "netmanager_base:net_security_config_if",
253    ]
254    defines += [ "HAS_NETMANAGER_BASE=1" ]
255  } else {
256    defines += [ "HAS_NETMANAGER_BASE=0" ]
257  }
258
259  module_out_path = "netstack/netstack/tls_socket_unittest"
260  part_name = "netstack"
261  subsystem_name = "communication"
262}
263
264ohos_unittest("one_way_tls_socket_certchain_unittest") {
265  sanitize = {
266    cfi = true
267    cfi_cross_dso = true
268    debug = false
269  }
270
271  branch_protector_ret = "pac_ret"
272
273  sources = [ "TlsSocketCertChainOneWayTest.cpp" ]
274  sources += tls_sources
275  sources += tls_napi_sources
276  sources += socket_sources
277  sources += tls_socket_test_sources
278
279  configs = [ ":tls_test_config" ]
280
281  deps = [
282    "$NETSTACK_DIR/utils:stack_utils_common",
283    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
284  ]
285  external_deps = [
286    "c_utils:utils",
287    "hilog:libhilog",
288    "napi:ace_napi",
289    "openssl:libcrypto_shared",
290    "openssl:libssl_shared",
291    "samgr:samgr_proxy",
292    "hiappevent:hiappevent_innerapi",
293  ]
294
295  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
296  if (defined(global_parts_info) &&
297      defined(global_parts_info.communication_netmanager_base) &&
298      global_parts_info.communication_netmanager_base) {
299    external_deps += [
300      "netmanager_base:net_conn_manager_if",
301      "netmanager_base:net_security_config_if",
302    ]
303    defines += [ "HAS_NETMANAGER_BASE=1" ]
304  } else {
305    defines += [ "HAS_NETMANAGER_BASE=0" ]
306  }
307
308  module_out_path = "netstack/netstack/tls_socket_unittest"
309  part_name = "netstack"
310  subsystem_name = "communication"
311}
312
313ohos_unittest("tls_socket_unilateral_connection") {
314  sanitize = {
315    cfi = true
316    cfi_cross_dso = true
317    debug = false
318  }
319
320  branch_protector_ret = "pac_ret"
321
322  sources = [ "TlsSocketUnilateralConnection.cpp" ]
323  sources += tls_sources
324  sources += tls_napi_sources
325  sources += socket_sources
326  sources += tls_socket_test_sources
327
328  configs = [ ":tls_test_config" ]
329
330  deps = [
331    "$NETSTACK_DIR/utils:stack_utils_common",
332    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
333  ]
334  external_deps = [
335    "access_token:libaccesstoken_sdk",
336    "access_token:libnativetoken_shared",
337    "access_token:libtoken_setproc",
338    "c_utils:utils",
339    "hilog:libhilog",
340    "napi:ace_napi",
341    "openssl:libcrypto_shared",
342    "openssl:libssl_shared",
343    "samgr:samgr_proxy",
344    "hiappevent:hiappevent_innerapi",
345  ]
346
347  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
348  if (defined(global_parts_info) &&
349      defined(global_parts_info.communication_netmanager_base) &&
350      global_parts_info.communication_netmanager_base) {
351    external_deps += [
352      "netmanager_base:net_conn_manager_if",
353      "netmanager_base:net_security_config_if",
354    ]
355    defines += [ "HAS_NETMANAGER_BASE=1" ]
356  } else {
357    defines += [ "HAS_NETMANAGER_BASE=0" ]
358  }
359
360  module_out_path = "netstack/netstack/tls_socket_unittest"
361  part_name = "netstack"
362  subsystem_name = "communication"
363}
364
365ohos_unittest("secure_data_unittest") {
366  sanitize = {
367    cfi = true
368    cfi_cross_dso = true
369    debug = false
370  }
371
372  branch_protector_ret = "pac_ret"
373
374  sources = [
375    "$TLS/src/secure_data.cpp",
376    "SecureDataTest.cpp",
377  ]
378
379  configs = [ ":tls_test_config" ]
380
381  deps = [ "$NETSTACK_DIR/utils:stack_utils_common" ]
382  external_deps = [
383    "c_utils:utils",
384    "hilog:libhilog",
385  ]
386
387  module_out_path = "netstack/netstack/tls_socket_unittest"
388  part_name = "netstack"
389  subsystem_name = "communication"
390}
391
392ohos_unittest("tls_key_test") {
393  sanitize = {
394    cfi = true
395    cfi_cross_dso = true
396    debug = false
397  }
398
399  branch_protector_ret = "pac_ret"
400
401  sources = [ "TlsKeyTest.cpp" ]
402  sources += tls_sources
403  sources += tls_napi_sources
404  sources += socket_sources
405
406  configs = [ ":tls_test_config" ]
407
408  deps = [
409    "$NETSTACK_DIR/utils:stack_utils_common",
410    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
411  ]
412  external_deps = [
413    "c_utils:utils",
414    "hilog:libhilog",
415    "napi:ace_napi",
416    "openssl:libcrypto_shared",
417    "openssl:libssl_shared",
418    "samgr:samgr_proxy",
419    "hiappevent:hiappevent_innerapi",
420  ]
421
422  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
423  if (defined(global_parts_info) &&
424      defined(global_parts_info.communication_netmanager_base) &&
425      global_parts_info.communication_netmanager_base) {
426    external_deps += [
427      "netmanager_base:net_conn_manager_if",
428      "netmanager_base:net_security_config_if",
429    ]
430    defines += [ "HAS_NETMANAGER_BASE=1" ]
431  } else {
432    defines += [ "HAS_NETMANAGER_BASE=0" ]
433  }
434
435  module_out_path = "netstack/netstack/tls_socket_unittest"
436  part_name = "netstack"
437  subsystem_name = "communication"
438}
439
440ohos_unittest("tls_cert_test") {
441  sanitize = {
442    cfi = true
443    cfi_cross_dso = true
444    debug = false
445  }
446
447  branch_protector_ret = "pac_ret"
448
449  sources = [ "TlsCertificateTest.cpp" ]
450  sources += tls_sources
451  sources += tls_napi_sources
452  sources += socket_sources
453
454  configs = [ ":tls_test_config" ]
455
456  deps = [
457    "$NETSTACK_DIR/utils:stack_utils_common",
458    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
459  ]
460  external_deps = [
461    "c_utils:utils",
462    "hilog:libhilog",
463    "napi:ace_napi",
464    "openssl:libcrypto_shared",
465    "openssl:libssl_shared",
466    "samgr:samgr_proxy",
467    "hiappevent:hiappevent_innerapi",
468  ]
469
470  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
471  if (defined(global_parts_info) &&
472      defined(global_parts_info.communication_netmanager_base) &&
473      global_parts_info.communication_netmanager_base) {
474    external_deps += [
475      "netmanager_base:net_conn_manager_if",
476      "netmanager_base:net_security_config_if",
477    ]
478    defines += [ "HAS_NETMANAGER_BASE=1" ]
479  } else {
480    defines += [ "HAS_NETMANAGER_BASE=0" ]
481  }
482
483  module_out_path = "netstack/netstack/tls_socket_unittest"
484  part_name = "netstack"
485  subsystem_name = "communication"
486}
487
488ohos_unittest("tls_configuration_test") {
489  sanitize = {
490    cfi = true
491    cfi_cross_dso = true
492    debug = false
493  }
494
495  branch_protector_ret = "pac_ret"
496
497  sources = [ "TlsConfigurationTest.cpp" ]
498  sources += tls_sources
499  sources += tls_napi_sources
500  sources += socket_sources
501
502  configs = [ ":tls_test_config" ]
503
504  deps = [
505    "$NETSTACK_DIR/utils:stack_utils_common",
506    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
507  ]
508  external_deps = [
509    "c_utils:utils",
510    "hilog:libhilog",
511    "napi:ace_napi",
512    "openssl:libcrypto_shared",
513    "openssl:libssl_shared",
514    "samgr:samgr_proxy",
515    "hiappevent:hiappevent_innerapi",
516  ]
517
518  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
519  if (defined(global_parts_info) &&
520      defined(global_parts_info.communication_netmanager_base) &&
521      global_parts_info.communication_netmanager_base) {
522    external_deps += [
523      "netmanager_base:net_conn_manager_if",
524      "netmanager_base:net_security_config_if",
525    ]
526    defines += [ "HAS_NETMANAGER_BASE=1" ]
527  } else {
528    defines += [ "HAS_NETMANAGER_BASE=0" ]
529  }
530
531  module_out_path = "netstack/netstack/tls_socket_unittest"
532  part_name = "netstack"
533  subsystem_name = "communication"
534}
535
536ohos_unittest("tls_context_test") {
537  sanitize = {
538    cfi = true
539    cfi_cross_dso = true
540    debug = false
541  }
542
543  branch_protector_ret = "pac_ret"
544
545  sources = [ "TlsContextTest.cpp" ]
546  sources += tls_sources
547  sources += tls_napi_sources
548  sources += socket_sources
549
550  configs = [ ":tls_test_config" ]
551
552  deps = [
553    "$NETSTACK_DIR/utils:stack_utils_common",
554    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
555  ]
556  external_deps = [
557    "c_utils:utils",
558    "hilog:libhilog",
559    "napi:ace_napi",
560    "openssl:libcrypto_shared",
561    "openssl:libssl_shared",
562    "samgr:samgr_proxy",
563    "hiappevent:hiappevent_innerapi",
564  ]
565
566  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
567  if (defined(global_parts_info) &&
568      defined(global_parts_info.communication_netmanager_base) &&
569      global_parts_info.communication_netmanager_base) {
570    external_deps += [
571      "netmanager_base:net_conn_manager_if",
572      "netmanager_base:net_security_config_if",
573    ]
574    defines += [ "HAS_NETMANAGER_BASE=1" ]
575  } else {
576    defines += [ "HAS_NETMANAGER_BASE=0" ]
577  }
578
579  module_out_path = "netstack/netstack/tls_socket_unittest"
580  part_name = "netstack"
581  subsystem_name = "communication"
582}
583
584ohos_unittest("socket_error_unittest") {
585  sanitize = {
586    cfi = true
587    cfi_cross_dso = true
588    debug = false
589  }
590
591  branch_protector_ret = "pac_ret"
592
593  sources = [ "SocketErrorTest.cpp" ]
594  sources += tls_sources
595  sources += tls_napi_sources
596  sources += socket_sources
597
598  configs = [ ":tls_test_config" ]
599
600  deps = [
601    "$NETSTACK_DIR/utils:stack_utils_common",
602    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
603  ]
604  external_deps = [
605    "c_utils:utils",
606    "hilog:libhilog",
607    "napi:ace_napi",
608    "openssl:libcrypto_shared",
609    "openssl:libssl_shared",
610    "samgr:samgr_proxy",
611    "hiappevent:hiappevent_innerapi",
612  ]
613
614  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
615  if (defined(global_parts_info) &&
616      defined(global_parts_info.communication_netmanager_base) &&
617      global_parts_info.communication_netmanager_base) {
618    external_deps += [
619      "netmanager_base:net_conn_manager_if",
620      "netmanager_base:net_security_config_if",
621    ]
622    defines += [ "HAS_NETMANAGER_BASE=1" ]
623  } else {
624    defines += [ "HAS_NETMANAGER_BASE=0" ]
625  }
626
627  module_out_path = "netstack/netstack/tls_socket_unittest"
628  part_name = "netstack"
629  subsystem_name = "communication"
630}
631
632ohos_unittest("tls_socket_branch_test") {
633  sanitize = {
634    cfi = true
635    cfi_cross_dso = true
636    debug = false
637  }
638
639  branch_protector_ret = "pac_ret"
640
641  sources = [ "TlsSocketBranchTest.cpp" ]
642  sources += tls_sources
643  sources += tls_napi_sources
644  sources += socket_sources
645
646  configs = [ ":tls_test_config" ]
647
648  deps = [
649    "$NETSTACK_DIR/utils:stack_utils_common",
650    "$NETSTACK_DIR/utils/napi_utils:napi_utils",
651  ]
652  external_deps = [
653    "access_token:libaccesstoken_sdk",
654    "access_token:libnativetoken_shared",
655    "access_token:libtoken_setproc",
656    "c_utils:utils",
657    "hilog:libhilog",
658    "napi:ace_napi",
659    "openssl:libcrypto_shared",
660    "openssl:libssl_shared",
661    "samgr:samgr_proxy",
662    "hiappevent:hiappevent_innerapi",
663  ]
664
665  defines = [ "OPENSSL_SUPPRESS_DEPRECATED" ]
666  if (defined(global_parts_info) &&
667      defined(global_parts_info.communication_netmanager_base) &&
668      global_parts_info.communication_netmanager_base) {
669    external_deps += [
670      "netmanager_base:net_conn_manager_if",
671      "netmanager_base:net_security_config_if",
672    ]
673    defines += [ "HAS_NETMANAGER_BASE=1" ]
674  } else {
675    defines += [ "HAS_NETMANAGER_BASE=0" ]
676  }
677
678  module_out_path = "netstack/netstack/tls_socket_unittest"
679  part_name = "netstack"
680  subsystem_name = "communication"
681}
682