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

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

Issue 2563463002: Fuchsia: dart:io Processes (Closed)
Patch Set: Add const 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') | runtime/bin/process_fuchsia.cc » ('J')
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 = [
339 "launchpad",
340 ]
341 }
336 } 342 }
337 343
338 # A source set for the implementation of 'dart:io' library 344 # A source set for the implementation of 'dart:io' library
339 # (without secure sockets) suitable for linking with gen_snapshot. 345 # (without secure sockets) suitable for linking with gen_snapshot.
340 source_set("gen_snapshot_dart_io") { 346 source_set("gen_snapshot_dart_io") {
341 configs += [ 347 configs += [
342 "..:dart_config", 348 "..:dart_config",
343 "..:dart_maybe_product_config", 349 "..:dart_maybe_product_config",
344 "..:dart_precompiler_config", 350 "..:dart_precompiler_config",
345 ] 351 ]
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 429
424 if (is_mac) { 430 if (is_mac) {
425 libs += [ "CoreServices.framework" ] 431 libs += [ "CoreServices.framework" ]
426 } 432 }
427 } else { 433 } else {
428 deps = [ 434 deps = [
429 "//third_party/boringssl", 435 "//third_party/boringssl",
430 ] 436 ]
431 } 437 }
432 438
439 if (defined(is_fuchsia) && is_fuchsia) {
440 libs = [
441 "launchpad",
442 ]
443 }
444
433 sources = io_impl_sources_gypi + builtin_impl_sources_gypi 445 sources = io_impl_sources_gypi + builtin_impl_sources_gypi
434 sources += [ 446 sources += [
435 "builtin_natives.cc", 447 "builtin_natives.cc",
436 "io_natives.cc", 448 "io_natives.cc",
437 "io_natives.h", 449 "io_natives.h",
438 "log_android.cc", 450 "log_android.cc",
439 "log_linux.cc", 451 "log_linux.cc",
440 "log_macos.cc", 452 "log_macos.cc",
441 "log_win.cc", 453 "log_win.cc",
442 "log.h", 454 "log.h",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 620
609 if (is_win) { 621 if (is_win) {
610 libs = [ 622 libs = [
611 "iphlpapi.lib", 623 "iphlpapi.lib",
612 "psapi.lib", 624 "psapi.lib",
613 "ws2_32.lib", 625 "ws2_32.lib",
614 "Rpcrt4.lib", 626 "Rpcrt4.lib",
615 "winmm.lib", 627 "winmm.lib",
616 ] 628 ]
617 } 629 }
630
631 if (defined(is_fuchsia) && is_fuchsia) {
632 libs = [
633 "launchpad",
634 ]
635 }
618 } 636 }
619 } 637 }
620 638
621 dart_executable("dart") { 639 dart_executable("dart") {
622 extra_deps = [ 640 extra_deps = [
623 "..:libdart", 641 "..:libdart",
624 ":dart_snapshot_cc", 642 ":dart_snapshot_cc",
625 "../observatory:standalone_observatory_archive", 643 "../observatory:standalone_observatory_archive",
626 ] 644 ]
627 extra_sources = [ "builtin_nolib.cc" ] 645 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. 876 # The only effect of DART_SHARED_LIB is to export the Dart API.
859 "DART_SHARED_LIB", 877 "DART_SHARED_LIB",
860 ] 878 ]
861 if (is_win) { 879 if (is_win) {
862 libs = [ "dart.lib" ] 880 libs = [ "dart.lib" ]
863 abs_root_out_dir = rebase_path(root_out_dir) 881 abs_root_out_dir = rebase_path(root_out_dir)
864 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 882 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
865 } 883 }
866 } 884 }
867 } 885 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/fdutils_fuchsia.cc » ('j') | runtime/bin/process_fuchsia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698