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

Side by Side 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, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/bin/io_impl_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 ] 273 ]
274 if (!is_mac && !is_ios) { 274 if (!is_mac && !is_ios) {
275 # Dart tree uses *_macos.* instead of *_mac.* 275 # Dart tree uses *_macos.* instead of *_mac.*
276 custom_sources_filter += [ 276 custom_sources_filter += [
277 "*_macos.h", 277 "*_macos.h",
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 defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ] 283 if (is_mac || is_ios) {
284 libs = [
285 "Security.framework",
286 ]
287 } else {
288 defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ]
289 }
284 290
285 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources 291 sources = io_impl_sources_gypi.sources + builtin_impl_sources_gypi.sources
286 sources += [ 292 sources += [
287 "builtin_nolib.cc", 293 "builtin_nolib.cc",
288 "builtin_natives.cc", 294 "builtin_natives.cc",
289 "io_natives.cc", 295 "io_natives.cc",
290 "io_natives.h", 296 "io_natives.h",
291 "embedded_dart_io.cc", 297 "embedded_dart_io.cc",
292 "embedded_dart_io.h", 298 "embedded_dart_io.h",
293 "log_android.cc", 299 "log_android.cc",
294 "log_linux.cc", 300 "log_linux.cc",
295 "log_macos.cc", 301 "log_macos.cc",
296 "log_win.cc", 302 "log_win.cc",
297 "log.h", 303 "log.h",
298 ] 304 ]
299 305
300 include_dirs = [ 306 include_dirs = [
301 "..", 307 "..",
302 "//third_party" 308 "//third_party"
303 ] 309 ]
304 } 310 }
OLDNEW
« 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