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

Side by Side Diff: runtime/vm/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/bin/BUILD.gn ('k') | runtime/vm/timeline.h » ('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("../../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 = [
39 "//apps/tracing/lib/trace",
40 ]
38 } 41 }
39 public_configs = [ ":libdart_vm_config" ] 42 public_configs = [ ":libdart_vm_config" ]
40 43
41 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform") 44 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform")
42 45
43 include_dirs = [ ".." ] 46 include_dirs = [ ".." ]
44 } 47 }
45 48
46 vm_sources_list = processed_gypis.vm_sources 49 vm_sources_list = processed_gypis.vm_sources
47 50
48 source_set("libdart_vm_jit") { 51 source_set("libdart_vm_jit") {
49 configs += [ 52 configs += [
50 "..:dart_config", 53 "..:dart_config",
51 "..:dart_maybe_product_config", 54 "..:dart_maybe_product_config",
52 ] 55 ]
53 if (is_fuchsia) { 56 if (is_fuchsia) {
54 configs -= [ "//build/config:symbol_visibility_hidden" ] 57 configs -= [ "//build/config:symbol_visibility_hidden" ]
58 deps = [
59 "//apps/tracing/lib/trace",
60 ]
55 } 61 }
56 public_configs = [ ":libdart_vm_config" ] 62 public_configs = [ ":libdart_vm_config" ]
57 set_sources_assignment_filter([ 63 set_sources_assignment_filter([
58 "*_test.cc", 64 "*_test.cc",
59 "*_test.h", 65 "*_test.h",
60 ]) 66 ])
61 sources = vm_sources_list 67 sources = vm_sources_list
62 include_dirs = [ ".." ] 68 include_dirs = [ ".." ]
63 } 69 }
64 70
65 source_set("libdart_vm_precompiled_runtime") { 71 source_set("libdart_vm_precompiled_runtime") {
66 configs += [ 72 configs += [
67 "..:dart_config", 73 "..:dart_config",
68 "..:dart_maybe_product_config", 74 "..:dart_maybe_product_config",
69 "..:dart_precompiled_runtime_config", 75 "..:dart_precompiled_runtime_config",
70 ] 76 ]
71 if (is_fuchsia) { 77 if (is_fuchsia) {
72 configs -= [ "//build/config:symbol_visibility_hidden" ] 78 configs -= [ "//build/config:symbol_visibility_hidden" ]
79 deps = [
80 "//apps/tracing/lib/trace",
81 ]
73 } 82 }
74 public_configs = [ ":libdart_vm_config" ] 83 public_configs = [ ":libdart_vm_config" ]
75 set_sources_assignment_filter([ 84 set_sources_assignment_filter([
76 "*_test.cc", 85 "*_test.cc",
77 "*_test.h", 86 "*_test.h",
78 ]) 87 ])
79 sources = vm_sources_list 88 sources = vm_sources_list
80 include_dirs = [ ".." ] 89 include_dirs = [ ".." ]
81 } 90 }
82 91
83 source_set("libdart_vm_nosnapshot") { 92 source_set("libdart_vm_nosnapshot") {
84 configs += [ 93 configs += [
85 "..:dart_config", 94 "..:dart_config",
86 "..:dart_maybe_product_config", 95 "..:dart_maybe_product_config",
87 "..:dart_no_snapshot_config", 96 "..:dart_no_snapshot_config",
88 ] 97 ]
89 if (is_fuchsia) { 98 if (is_fuchsia) {
90 configs -= [ "//build/config:symbol_visibility_hidden" ] 99 configs -= [ "//build/config:symbol_visibility_hidden" ]
100 deps = [
101 "//apps/tracing/lib/trace",
102 ]
91 } 103 }
92 public_configs = [ ":libdart_vm_config" ] 104 public_configs = [ ":libdart_vm_config" ]
93 set_sources_assignment_filter([ 105 set_sources_assignment_filter([
94 "*_test.cc", 106 "*_test.cc",
95 "*_test.h", 107 "*_test.h",
96 ]) 108 ])
97 sources = vm_sources_list 109 sources = vm_sources_list
98 include_dirs = [ ".." ] 110 include_dirs = [ ".." ]
99 } 111 }
100 112
101 source_set("libdart_vm_nosnapshot_with_precompiler") { 113 source_set("libdart_vm_nosnapshot_with_precompiler") {
102 configs += [ 114 configs += [
103 "..:dart_config", 115 "..:dart_config",
104 "..:dart_maybe_product_config", 116 "..:dart_maybe_product_config",
105 "..:dart_precompiler_config", 117 "..:dart_precompiler_config",
106 "..:dart_no_snapshot_config", 118 "..:dart_no_snapshot_config",
107 ] 119 ]
108 if (is_fuchsia) { 120 if (is_fuchsia) {
109 configs -= [ "//build/config:symbol_visibility_hidden" ] 121 configs -= [ "//build/config:symbol_visibility_hidden" ]
122 deps = [
123 "//apps/tracing/lib/trace",
124 ]
110 } 125 }
111 public_configs = [ ":libdart_vm_config" ] 126 public_configs = [ ":libdart_vm_config" ]
112 set_sources_assignment_filter([ 127 set_sources_assignment_filter([
113 "*_test.cc", 128 "*_test.cc",
114 "*_test.h", 129 "*_test.h",
115 ]) 130 ])
116 sources = vm_sources_list 131 sources = vm_sources_list
117 include_dirs = [ ".." ] 132 include_dirs = [ ".." ]
118 } 133 }
119 134
120 source_set("libdart_vm_with_precompiler") { 135 source_set("libdart_vm_with_precompiler") {
121 configs += [ 136 configs += [
122 "..:dart_config", 137 "..:dart_config",
123 "..:dart_maybe_product_config", 138 "..:dart_maybe_product_config",
124 "..:dart_precompiler_config", 139 "..:dart_precompiler_config",
125 ] 140 ]
126 if (is_fuchsia) { 141 if (is_fuchsia) {
127 configs -= [ "//build/config:symbol_visibility_hidden" ] 142 configs -= [ "//build/config:symbol_visibility_hidden" ]
143 deps = [
144 "//apps/tracing/lib/trace",
145 ]
128 } 146 }
129 public_configs = [ ":libdart_vm_config" ] 147 public_configs = [ ":libdart_vm_config" ]
130 set_sources_assignment_filter([ 148 set_sources_assignment_filter([
131 "*_test.cc", 149 "*_test.cc",
132 "*_test.h", 150 "*_test.h",
133 ]) 151 ])
134 sources = vm_sources_list 152 sources = vm_sources_list
135 include_dirs = [ ".." ] 153 include_dirs = [ ".." ]
136 } 154 }
137 155
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 processed_gypis.vmservice_runtime_sources, 519 processed_gypis.vmservice_runtime_sources,
502 "../lib", 520 "../lib",
503 ], 521 ],
504 [ 522 [
505 "io", 523 "io",
506 processed_gypis.bin_io_sources, 524 processed_gypis.bin_io_sources,
507 "../bin", 525 "../bin",
508 ], 526 ],
509 ] 527 ]
510 } 528 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/vm/timeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698