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

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

Issue 2977513002: [Fuchsia] Routes timeline events to Fuchsia's tracing app (Closed)
Patch Set: Format Created 3 years, 5 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 | « runtime/BUILD.gn ('k') | runtime/vm/BUILD.gn » ('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 import("../runtime_args.gni") 6 import("../runtime_args.gni")
7 import("../../build/compiled_action.gni") 7 import("../../build/compiled_action.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Controls the kind of core snapshot linked into the standalone VM. Using a 10 # Controls the kind of core snapshot linked into the standalone VM. Using a
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 ":libdart_builtin", 635 ":libdart_builtin",
636 "$dart_zlib_path", 636 "$dart_zlib_path",
637 ] + extra_deps 637 ] + extra_deps
638 638
639 defines = extra_defines 639 defines = extra_defines
640 640
641 if (dart_use_tcmalloc) { 641 if (dart_use_tcmalloc) {
642 deps += [ "//third_party/tcmalloc" ] 642 deps += [ "//third_party/tcmalloc" ]
643 } 643 }
644 644
645 if (is_fuchsia) {
646 deps += [ "//apps/tracing/lib/trace" ]
647 }
648
645 sources = [ 649 sources = [
646 "error_exit.cc", 650 "error_exit.cc",
647 "error_exit.h", 651 "error_exit.h",
648 "main.cc", 652 "main.cc",
649 "snapshot_utils.cc", 653 "snapshot_utils.cc",
650 "snapshot_utils.h", 654 "snapshot_utils.h",
651 "vmservice_impl.cc", 655 "vmservice_impl.cc",
652 "vmservice_impl.h", 656 "vmservice_impl.h",
653 ] + extra_sources 657 ] + extra_sources
654 658
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 "..", 882 "..",
879 "$target_gen_dir", 883 "$target_gen_dir",
880 ] 884 ]
881 defines = [ "TESTING" ] 885 defines = [ "TESTING" ]
882 886
883 if (dart_use_tcmalloc) { 887 if (dart_use_tcmalloc) {
884 deps += [ "//third_party/tcmalloc" ] 888 deps += [ "//third_party/tcmalloc" ]
885 defines += [ "DART_USE_TCMALLOC" ] 889 defines += [ "DART_USE_TCMALLOC" ]
886 } 890 }
887 891
892 if (is_fuchsia) {
893 deps += [ "//apps/tracing/lib/trace" ]
894 }
895
888 # The VM sources are already included in libdart, so we just want to add in 896 # The VM sources are already included in libdart, so we just want to add in
889 # the tests here. 897 # the tests here.
890 vm_tests = rebase_path(vm_tests_list, ".", "../vm") 898 vm_tests = rebase_path(vm_tests_list, ".", "../vm")
891 899
892 sources = [ 900 sources = [
893 "error_exit.cc", 901 "error_exit.cc",
894 "error_exit.h", 902 "error_exit.h",
895 "snapshot_utils.cc", 903 "snapshot_utils.cc",
896 "snapshot_utils.h", 904 "snapshot_utils.h",
897 "builtin_nolib.cc", 905 "builtin_nolib.cc",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 ] 961 ]
954 if (is_linux || is_android) { 962 if (is_linux || is_android) {
955 cflags = [ "-fPIC" ] 963 cflags = [ "-fPIC" ]
956 } 964 }
957 if (is_win) { 965 if (is_win) {
958 libs = [ "dart.lib" ] 966 libs = [ "dart.lib" ]
959 abs_root_out_dir = rebase_path(root_out_dir) 967 abs_root_out_dir = rebase_path(root_out_dir)
960 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 968 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
961 } 969 }
962 } 970 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/vm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698