File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,10 @@ template("dart_io") {
535535 }
536536 }
537537
538+ if (dart_disable_secure_socket ) {
539+ defines += [ " DART_IO_SECURE_SOCKET_DISABLED" ]
540+ }
541+
538542 include_dirs = [
539543 " .." ,
540544 " //third_party" ,
@@ -845,6 +849,9 @@ template("dart_executable") {
845849 if (exclude_kernel_service ) {
846850 defines += [ " EXCLUDE_CFE_AND_KERNEL_PLATFORM" ]
847851 }
852+ if (dart_disable_secure_socket ) {
853+ defines += [ " DART_IO_SECURE_SOCKET_DISABLED" ]
854+ }
848855 include_dirs = [
849856 " .." ,
850857 " //third_party" ,
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ declare_args() {
4848 # verified at the operating system level.
4949 dart_use_fallback_root_certificates = false
5050
51+ # Whether to disable support for secure sockets in the Dart IO library.
52+ dart_disable_secure_socket = false
53+
5154 # Whether to link Crashpad library for crash handling. Only supported on
5255 # Windows for now.
5356 dart_use_crashpad = false
You can’t perform that action at this time.
0 commit comments