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

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

Issue 2977513002: [Fuchsia] Routes timeline events to Fuchsia's tracing app (Closed)
Patch Set: Address comments 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
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("../../build/executable_suffix.gni") 5 import("../../build/executable_suffix.gni")
6 import("../../build/prebuilt_dart_sdk.gni") 6 import("../../build/prebuilt_dart_sdk.gni")
7 import("../../utils/generate_patch_sdk.gni") 7 import("../../utils/generate_patch_sdk.gni")
8 import("gypi_contents.gni") 8 import("gypi_contents.gni")
9 import("../runtime_args.gni") 9 import("../runtime_args.gni")
10 10
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 } 29 }
30 30
31 static_library("libdart_platform") { 31 static_library("libdart_platform") {
32 configs += [ 32 configs += [
33 "..:dart_config", 33 "..:dart_config",
34 "..:dart_maybe_product_config", 34 "..:dart_maybe_product_config",
35 ] 35 ]
36 if (is_fuchsia) { 36 if (is_fuchsia) {
37 configs -= [ "//build/config:symbol_visibility_hidden" ] 37 configs -= [ "//build/config:symbol_visibility_hidden" ]
38 deps = [ "//apps/tracing/lib/trace" ]
38 } 39 }
39 public_configs = [ ":libdart_vm_config" ] 40 public_configs = [ ":libdart_vm_config" ]
40 41
41 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform") 42 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform")
42 43
43 include_dirs = [ ".." ] 44 include_dirs = [ ".." ]
44 } 45 }
45 46
46 vm_sources_list = processed_gypis.vm_sources 47 vm_sources_list = processed_gypis.vm_sources
47 48
48 source_set("libdart_vm_jit") { 49 source_set("libdart_vm_jit") {
49 configs += [ 50 configs += [
50 "..:dart_config", 51 "..:dart_config",
51 "..:dart_maybe_product_config", 52 "..:dart_maybe_product_config",
52 ] 53 ]
53 if (is_fuchsia) { 54 if (is_fuchsia) {
54 configs -= [ "//build/config:symbol_visibility_hidden" ] 55 configs -= [ "//build/config:symbol_visibility_hidden" ]
56 deps = [ "//apps/tracing/lib/trace" ]
55 } 57 }
56 public_configs = [ ":libdart_vm_config" ] 58 public_configs = [ ":libdart_vm_config" ]
57 set_sources_assignment_filter([ 59 set_sources_assignment_filter([
58 "*_test.cc", 60 "*_test.cc",
59 "*_test.h", 61 "*_test.h",
60 ]) 62 ])
61 sources = vm_sources_list 63 sources = vm_sources_list
62 include_dirs = [ ".." ] 64 include_dirs = [ ".." ]
63 } 65 }
64 66
65 source_set("libdart_vm_precompiled_runtime") { 67 source_set("libdart_vm_precompiled_runtime") {
66 configs += [ 68 configs += [
67 "..:dart_config", 69 "..:dart_config",
68 "..:dart_maybe_product_config", 70 "..:dart_maybe_product_config",
69 "..:dart_precompiled_runtime_config", 71 "..:dart_precompiled_runtime_config",
70 ] 72 ]
71 if (is_fuchsia) { 73 if (is_fuchsia) {
72 configs -= [ "//build/config:symbol_visibility_hidden" ] 74 configs -= [ "//build/config:symbol_visibility_hidden" ]
75 deps = [ "//apps/tracing/lib/trace" ]
73 } 76 }
74 public_configs = [ ":libdart_vm_config" ] 77 public_configs = [ ":libdart_vm_config" ]
75 set_sources_assignment_filter([ 78 set_sources_assignment_filter([
76 "*_test.cc", 79 "*_test.cc",
77 "*_test.h", 80 "*_test.h",
78 ]) 81 ])
79 sources = vm_sources_list 82 sources = vm_sources_list
80 include_dirs = [ ".." ] 83 include_dirs = [ ".." ]
81 } 84 }
82 85
83 source_set("libdart_vm_nosnapshot") { 86 source_set("libdart_vm_nosnapshot") {
84 configs += [ 87 configs += [
85 "..:dart_config", 88 "..:dart_config",
86 "..:dart_maybe_product_config", 89 "..:dart_maybe_product_config",
87 "..:dart_no_snapshot_config", 90 "..:dart_no_snapshot_config",
88 ] 91 ]
89 if (is_fuchsia) { 92 if (is_fuchsia) {
90 configs -= [ "//build/config:symbol_visibility_hidden" ] 93 configs -= [ "//build/config:symbol_visibility_hidden" ]
94 deps = [ "//apps/tracing/lib/trace" ]
91 } 95 }
92 public_configs = [ ":libdart_vm_config" ] 96 public_configs = [ ":libdart_vm_config" ]
93 set_sources_assignment_filter([ 97 set_sources_assignment_filter([
94 "*_test.cc", 98 "*_test.cc",
95 "*_test.h", 99 "*_test.h",
96 ]) 100 ])
97 sources = vm_sources_list 101 sources = vm_sources_list
98 include_dirs = [ ".." ] 102 include_dirs = [ ".." ]
99 } 103 }
100 104
101 source_set("libdart_vm_nosnapshot_with_precompiler") { 105 source_set("libdart_vm_nosnapshot_with_precompiler") {
102 configs += [ 106 configs += [
103 "..:dart_config", 107 "..:dart_config",
104 "..:dart_maybe_product_config", 108 "..:dart_maybe_product_config",
105 "..:dart_precompiler_config", 109 "..:dart_precompiler_config",
106 "..:dart_no_snapshot_config", 110 "..:dart_no_snapshot_config",
107 ] 111 ]
108 if (is_fuchsia) { 112 if (is_fuchsia) {
109 configs -= [ "//build/config:symbol_visibility_hidden" ] 113 configs -= [ "//build/config:symbol_visibility_hidden" ]
114 deps = [ "//apps/tracing/lib/trace" ]
110 } 115 }
111 public_configs = [ ":libdart_vm_config" ] 116 public_configs = [ ":libdart_vm_config" ]
112 set_sources_assignment_filter([ 117 set_sources_assignment_filter([
113 "*_test.cc", 118 "*_test.cc",
114 "*_test.h", 119 "*_test.h",
115 ]) 120 ])
116 sources = vm_sources_list 121 sources = vm_sources_list
117 include_dirs = [ ".." ] 122 include_dirs = [ ".." ]
118 } 123 }
119 124
120 source_set("libdart_vm_with_precompiler") { 125 source_set("libdart_vm_with_precompiler") {
121 configs += [ 126 configs += [
122 "..:dart_config", 127 "..:dart_config",
123 "..:dart_maybe_product_config", 128 "..:dart_maybe_product_config",
124 "..:dart_precompiler_config", 129 "..:dart_precompiler_config",
125 ] 130 ]
126 if (is_fuchsia) { 131 if (is_fuchsia) {
127 configs -= [ "//build/config:symbol_visibility_hidden" ] 132 configs -= [ "//build/config:symbol_visibility_hidden" ]
133 deps = [ "//apps/tracing/lib/trace" ]
128 } 134 }
129 public_configs = [ ":libdart_vm_config" ] 135 public_configs = [ ":libdart_vm_config" ]
130 set_sources_assignment_filter([ 136 set_sources_assignment_filter([
131 "*_test.cc", 137 "*_test.cc",
132 "*_test.h", 138 "*_test.h",
133 ]) 139 ])
134 sources = vm_sources_list 140 sources = vm_sources_list
135 include_dirs = [ ".." ] 141 include_dirs = [ ".." ]
136 } 142 }
137 143
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 processed_gypis.vmservice_runtime_sources, 507 processed_gypis.vmservice_runtime_sources,
502 "../lib", 508 "../lib",
503 ], 509 ],
504 [ 510 [
505 "io", 511 "io",
506 processed_gypis.bin_io_sources, 512 processed_gypis.bin_io_sources,
507 "../bin", 513 "../bin",
508 ], 514 ],
509 ] 515 ]
510 } 516 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/vm/timeline.h » ('j') | runtime/vm/timeline.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698