| 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 import("gypi_contents.gni") | 5 import("gypi_contents.gni") |
| 6 import("../runtime_args.gni") | 6 import("../runtime_args.gni") |
| 7 | 7 |
| 8 # Generate a resources.cc file for the service isolate without Observatory. | 8 # Generate a resources.cc file for the service isolate without Observatory. |
| 9 action("gen_resources_cc") { | 9 action("gen_resources_cc") { |
| 10 visibility = [ ":*" ] # Only targets in this file can see this. | 10 visibility = [ ":*" ] # Only targets in this file can see this. |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 "$dart_zlib_path", | 574 "$dart_zlib_path", |
| 575 ] + extra_deps | 575 ] + extra_deps |
| 576 | 576 |
| 577 defines = extra_defines | 577 defines = extra_defines |
| 578 | 578 |
| 579 if (dart_use_tcmalloc) { | 579 if (dart_use_tcmalloc) { |
| 580 deps += [ "//third_party/tcmalloc" ] | 580 deps += [ "//third_party/tcmalloc" ] |
| 581 } | 581 } |
| 582 | 582 |
| 583 sources = [ | 583 sources = [ |
| 584 "exit.h", |
| 584 "main.cc", | 585 "main.cc", |
| 586 "snapshot.cc", |
| 587 "snapshot.h", |
| 585 "vmservice_impl.cc", | 588 "vmservice_impl.cc", |
| 586 "vmservice_impl.h", | 589 "vmservice_impl.h", |
| 587 "$target_gen_dir/resources_gen.cc", | 590 "$target_gen_dir/resources_gen.cc", |
| 588 ] + extra_sources | 591 ] + extra_sources |
| 589 | 592 |
| 590 include_dirs = [ | 593 include_dirs = [ |
| 591 "..", | 594 "..", |
| 592 "//third_party", | 595 "//third_party", |
| 593 ] | 596 ] |
| 594 | 597 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 ] | 852 ] |
| 850 if (is_linux || is_android) { | 853 if (is_linux || is_android) { |
| 851 cflags = [ "-fPIC" ] | 854 cflags = [ "-fPIC" ] |
| 852 } | 855 } |
| 853 if (is_win) { | 856 if (is_win) { |
| 854 libs = [ "dart.lib" ] | 857 libs = [ "dart.lib" ] |
| 855 abs_root_out_dir = rebase_path(root_out_dir) | 858 abs_root_out_dir = rebase_path(root_out_dir) |
| 856 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 859 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 857 } | 860 } |
| 858 } | 861 } |
| OLD | NEW |