Compile conditionally
diff --git a/root_certificates.cc b/root_certificates.cc
index 3103979..375f7ff 100644
--- a/root_certificates.cc
+++ b/root_certificates.cc
@@ -6,6 +6,11 @@
* fetched June 29, 2015, and converted to PEM format and to a C char array.
*/
+#if !defined(DART_IO_SECURE_SOCKET_DISABLED)
+
+#include "platform/globals.h"
+#if !defined(TARGET_OS_MACOS) && !defined(TARGET_OS_ANDROID)
+
namespace dart {
namespace bin {
@@ -20620,3 +20625,7 @@
} // namespace bin
} // namespace dart
+
+#endif // !defined(TARGET_OS_MACOS) && !defined(TARGET_OS_ANDROID)
+
+#endif // !defined(DART_IO_SECURE_SOCKET_DISABLED)