| 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 # TODO(zra, jamesr): Remove this check once we start building boringssl for | 9 # TODO(zra, jamesr): Remove this check once we start building boringssl for |
| 10 # the fuchsia port. | 10 # the fuchsia port. |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 sources = [ | 443 sources = [ |
| 444 "$root_gen_dir/dart_snapshot.cc", | 444 "$root_gen_dir/dart_snapshot.cc", |
| 445 ] | 445 ] |
| 446 | 446 |
| 447 deps = [ | 447 deps = [ |
| 448 ":generate_snapshot_file", | 448 ":generate_snapshot_file", |
| 449 ] | 449 ] |
| 450 } | 450 } |
| 451 | 451 |
| 452 if (defined(is_fuchsia) && is_fuchsia) { | 452 if (defined(is_fuchsia) && is_fuchsia) { |
| 453 executable("fuchsia_test") { | |
| 454 configs += ["..:dart_config", | |
| 455 "..:dart_product_config", | |
| 456 "..:dart_precompiled_runtime_config"] | |
| 457 sources = [ | |
| 458 "fuchsia_test.cc", | |
| 459 "log_fuchsia.cc", | |
| 460 ] | |
| 461 | |
| 462 include_dirs = [ | |
| 463 "..", | |
| 464 "../include" | |
| 465 ] | |
| 466 | |
| 467 deps = [ | |
| 468 ":dart_snapshot_cc", | |
| 469 ":libdart_embedder_noio", | |
| 470 ] | |
| 471 } | |
| 472 | |
| 473 copy("hello_fuchsia") { | 453 copy("hello_fuchsia") { |
| 474 sources = [ "../tests/vm/dart/hello_fuchsia_test.dart" ] | 454 sources = [ "../tests/vm/dart/hello_fuchsia_test.dart" ] |
| 475 outputs = [ "$root_out_dir/hello_fuchsia.dart" ] | 455 outputs = [ "$root_out_dir/hello_fuchsia.dart" ] |
| 476 } | 456 } |
| 477 | 457 |
| 478 executable("dart_no_observatory") { | 458 executable("dart_no_observatory") { |
| 479 configs += ["..:dart_config", | 459 configs += ["..:dart_config", |
| 480 "..:dart_product_config", | 460 "..:dart_product_config", |
| 481 "..:dart_precompiled_runtime_config",] | 461 "..:dart_precompiled_runtime_config",] |
| 482 deps = [ | 462 deps = [ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 566 |
| 587 executable("run_vm_tests_fuchsia") { | 567 executable("run_vm_tests_fuchsia") { |
| 588 testonly = true | 568 testonly = true |
| 589 configs += ["..:dart_config"] | 569 configs += ["..:dart_config"] |
| 590 sources = [ | 570 sources = [ |
| 591 "run_vm_tests_fuchsia.cc" | 571 "run_vm_tests_fuchsia.cc" |
| 592 ] | 572 ] |
| 593 libs = [ "launchpad" ] | 573 libs = [ "launchpad" ] |
| 594 } | 574 } |
| 595 } # defined(is_fuchsia) && is_fuchsia | 575 } # defined(is_fuchsia) && is_fuchsia |
| OLD | NEW |