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

Side by Side Diff: runtime/bin/BUILD.gn

Issue 2563463002: Fuchsia: dart:io Processes (Closed)
Patch Set: Format Created 4 years 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/fdutils_fuchsia.cc » ('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 import("gypi_contents.gni") 5 import("gypi_contents.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Whether to fall back to built-in root certificates when they cannot be 8 # Whether to fall back to built-in root certificates when they cannot be
9 # verified at the operating system level. 9 # verified at the operating system level.
10 dart_use_fallback_root_certificates = false 10 dart_use_fallback_root_certificates = false
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 if (is_win) { 327 if (is_win) {
328 libs = [ 328 libs = [
329 "iphlpapi.lib", 329 "iphlpapi.lib",
330 "psapi.lib", 330 "psapi.lib",
331 "ws2_32.lib", 331 "ws2_32.lib",
332 "Rpcrt4.lib", 332 "Rpcrt4.lib",
333 "winmm.lib", 333 "winmm.lib",
334 ] 334 ]
335 } 335 }
336
337 if (defined(is_fuchsia) && is_fuchsia) {
338 libs = [ "launchpad" ]
339 }
336 } 340 }
337 341
338 # A source set for the implementation of 'dart:io' library 342 # A source set for the implementation of 'dart:io' library
339 # (without secure sockets) suitable for linking with gen_snapshot. 343 # (without secure sockets) suitable for linking with gen_snapshot.
340 source_set("gen_snapshot_dart_io") { 344 source_set("gen_snapshot_dart_io") {
341 configs += [ 345 configs += [
342 "..:dart_config", 346 "..:dart_config",
343 "..:dart_maybe_product_config", 347 "..:dart_maybe_product_config",
344 "..:dart_precompiler_config", 348 "..:dart_precompiler_config",
345 ] 349 ]
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 427
424 if (is_mac) { 428 if (is_mac) {
425 libs += [ "CoreServices.framework" ] 429 libs += [ "CoreServices.framework" ]
426 } 430 }
427 } else { 431 } else {
428 deps = [ 432 deps = [
429 "//third_party/boringssl", 433 "//third_party/boringssl",
430 ] 434 ]
431 } 435 }
432 436
437 if (defined(is_fuchsia) && is_fuchsia) {
438 libs = [ "launchpad" ]
439 }
440
433 sources = io_impl_sources_gypi + builtin_impl_sources_gypi 441 sources = io_impl_sources_gypi + builtin_impl_sources_gypi
434 sources += [ 442 sources += [
435 "builtin_natives.cc", 443 "builtin_natives.cc",
436 "io_natives.cc", 444 "io_natives.cc",
437 "io_natives.h", 445 "io_natives.h",
438 "log_android.cc", 446 "log_android.cc",
439 "log_linux.cc", 447 "log_linux.cc",
440 "log_macos.cc", 448 "log_macos.cc",
441 "log_win.cc", 449 "log_win.cc",
442 "log.h", 450 "log.h",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 616
609 if (is_win) { 617 if (is_win) {
610 libs = [ 618 libs = [
611 "iphlpapi.lib", 619 "iphlpapi.lib",
612 "psapi.lib", 620 "psapi.lib",
613 "ws2_32.lib", 621 "ws2_32.lib",
614 "Rpcrt4.lib", 622 "Rpcrt4.lib",
615 "winmm.lib", 623 "winmm.lib",
616 ] 624 ]
617 } 625 }
626
627 if (defined(is_fuchsia) && is_fuchsia) {
628 libs = [ "launchpad" ]
629 }
618 } 630 }
619 } 631 }
620 632
621 dart_executable("dart") { 633 dart_executable("dart") {
622 extra_deps = [ 634 extra_deps = [
623 "..:libdart", 635 "..:libdart",
624 ":dart_snapshot_cc", 636 ":dart_snapshot_cc",
625 "../observatory:standalone_observatory_archive", 637 "../observatory:standalone_observatory_archive",
626 ] 638 ]
627 extra_sources = [ "builtin_nolib.cc" ] 639 extra_sources = [ "builtin_nolib.cc" ]
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 # The only effect of DART_SHARED_LIB is to export the Dart API. 870 # The only effect of DART_SHARED_LIB is to export the Dart API.
859 "DART_SHARED_LIB", 871 "DART_SHARED_LIB",
860 ] 872 ]
861 if (is_win) { 873 if (is_win) {
862 libs = [ "dart.lib" ] 874 libs = [ "dart.lib" ]
863 abs_root_out_dir = rebase_path(root_out_dir) 875 abs_root_out_dir = rebase_path(root_out_dir)
864 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 876 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
865 } 877 }
866 } 878 }
867 } 879 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/fdutils_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698