| OLD | NEW |
| 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 declare_args() { | 6 declare_args() { |
| 7 dart_io_support = false | 7 dart_io_support = false |
| 8 } | 8 } |
| 9 | 9 |
| 10 | 10 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "*_macos.cc", | 278 "*_macos.cc", |
| 279 ] | 279 ] |
| 280 } | 280 } |
| 281 set_sources_assignment_filter(custom_sources_filter) | 281 set_sources_assignment_filter(custom_sources_filter) |
| 282 | 282 |
| 283 if (is_mac || is_ios) { | 283 if (is_mac || is_ios) { |
| 284 libs = [ | 284 libs = [ |
| 285 "Security.framework", | 285 "Security.framework", |
| 286 ] | 286 ] |
| 287 } else { | 287 } else { |
| 288 defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ] | 288 deps = [ |
| 289 "../../third_party/boringssl", |
| 290 ] |
| 289 } | 291 } |
| 290 | 292 |
| 291 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources | 293 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources |
| 292 sources += [ | 294 sources += [ |
| 293 "builtin_nolib.cc", | 295 "builtin_nolib.cc", |
| 294 "builtin_natives.cc", | 296 "builtin_natives.cc", |
| 295 "io_natives.cc", | 297 "io_natives.cc", |
| 296 "io_natives.h", | 298 "io_natives.h", |
| 297 "embedded_dart_io.cc", | 299 "embedded_dart_io.cc", |
| 298 "embedded_dart_io.h", | 300 "embedded_dart_io.h", |
| 299 "log_android.cc", | 301 "log_android.cc", |
| 300 "log_linux.cc", | 302 "log_linux.cc", |
| 301 "log_macos.cc", | 303 "log_macos.cc", |
| 302 "log_win.cc", | 304 "log_win.cc", |
| 303 "log.h", | 305 "log.h", |
| 304 ] | 306 ] |
| 305 | 307 |
| 306 include_dirs = [ | 308 include_dirs = [ |
| 307 "..", | 309 "..", |
| 308 "//third_party" | 310 "//third_party" |
| 309 ] | 311 ] |
| 310 } | 312 } |
| OLD | NEW |