Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: runtime/bin/BUILD.gn

Issue 1839123003: Begin work on ios secure sockets (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/BUILD.gn
diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
index 04d7097e1f3d69d0e4162ec3bc82177fad0d1e7d..20b2a8a84a0a9d4e058c9a82e5da82fa00fbb6d4 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -280,7 +280,13 @@ source_set("embedded_dart_io") {
}
set_sources_assignment_filter(custom_sources_filter)
- defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ]
+ if (is_mac || is_ios) {
+ libs = [
+ "Security.framework",
+ ]
+ } else {
+ defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ]
+ }
sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources
sources += [
« no previous file with comments | « no previous file | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698