Index: runtime/bin/io_impl_sources.gypi |
diff --git a/runtime/bin/io_impl_sources.gypi b/runtime/bin/io_impl_sources.gypi |
index 390b4ef4be60b54474100a7304e57a22e94f50ea..9236ec744fe57566764370188cb6dc9904d4c975 100644 |
--- a/runtime/bin/io_impl_sources.gypi |
+++ b/runtime/bin/io_impl_sources.gypi |
@@ -59,9 +59,22 @@ |
], |
'conditions': [ |
['dart_io_support==1', { |
+ 'conditions': [ |
+ ['dart_io_secure_socket==1', { |
+ 'sources!' : [ |
+ 'secure_socket_unsupported.cc', |
+ ], |
+ }, { # else dart_io_secure_socket == 0 |
+ 'sources!' : [ |
+ 'net/nss_memio.cc', |
+ 'net/nss_memio.h', |
+ 'secure_socket.cc', |
+ 'secure_socket.h', |
+ ], |
+ }], |
+ ], |
'sources!' : [ |
'filter_unsupported.cc', |
- 'secure_socket_unsupported.cc', |
'io_service_unsupported.cc', |
], |
},{ # else dart_io_support == 0 |