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

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

Issue 2819453002: GN: Remove dead target 'libdart' and dead flag 'dart_experimental_interpreter'. (Closed)
Patch Set: Created 3 years, 8 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') | no next file » | 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("gypi_contents.gni") 7 import("gypi_contents.gni")
8 import("../runtime_args.gni") 8 import("../runtime_args.gni")
9 9
10 config("libdart_vm_config") { 10 config("libdart_vm_config") {
(...skipping 23 matching lines...) Expand all
34 ] 34 ]
35 public_configs = [ ":libdart_vm_config" ] 35 public_configs = [ ":libdart_vm_config" ]
36 36
37 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform") 37 sources = rebase_path(processed_gypis.platform_sources, ".", "../platform")
38 38
39 include_dirs = [ ".." ] 39 include_dirs = [ ".." ]
40 } 40 }
41 41
42 vm_sources_list = processed_gypis.vm_sources 42 vm_sources_list = processed_gypis.vm_sources
43 43
44 # TODO(rmacnak): Remove after updating all clients of libdart to use
45 # libdart_jit or libdart_precompiled_runtime.
46 static_library("libdart_vm") {
47 configs += [
48 "..:dart_config",
49 "..:dart_maybe_product_config",
50 "..:dart_maybe_precompiled_runtime_config",
51 ]
52 public_configs = [ ":libdart_vm_config" ]
53 set_sources_assignment_filter([
54 "*_test.cc",
55 "*_test.h",
56 ])
57 sources = vm_sources_list
58 include_dirs = [ ".." ]
59 }
60
61 static_library("libdart_vm_jit") { 44 static_library("libdart_vm_jit") {
62 configs += [ 45 configs += [
63 "..:dart_config", 46 "..:dart_config",
64 "..:dart_maybe_product_config", 47 "..:dart_maybe_product_config",
65 ] 48 ]
66 public_configs = [ ":libdart_vm_config" ] 49 public_configs = [ ":libdart_vm_config" ]
67 set_sources_assignment_filter([ 50 set_sources_assignment_filter([
68 "*_test.cc", 51 "*_test.cc",
69 "*_test.h", 52 "*_test.h",
70 ]) 53 ])
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 static_library("libdart_lib_nosnapshot_with_precompiler") { 214 static_library("libdart_lib_nosnapshot_with_precompiler") {
232 configs += [ 215 configs += [
233 "..:dart_config", 216 "..:dart_config",
234 "..:dart_maybe_product_config", 217 "..:dart_maybe_product_config",
235 "..:dart_precompiler_config", 218 "..:dart_precompiler_config",
236 ] 219 ]
237 deps = libdeps 220 deps = libdeps
238 sources = all_libsources + [ "bootstrap.cc" ] + liboutputs 221 sources = all_libsources + [ "bootstrap.cc" ] + liboutputs
239 include_dirs = [ ".." ] 222 include_dirs = [ ".." ]
240 } 223 }
224
241 static_library("libdart_lib_with_precompiler") { 225 static_library("libdart_lib_with_precompiler") {
242 configs += [ 226 configs += [
243 "..:dart_config", 227 "..:dart_config",
244 "..:dart_maybe_product_config", 228 "..:dart_maybe_product_config",
245 "..:dart_precompiler_config", 229 "..:dart_precompiler_config",
246 ] 230 ]
247 deps = libdeps 231 deps = libdeps
248 sources = all_libsources + [ "bootstrap_nocore.cc" ] 232 sources = all_libsources + [ "bootstrap_nocore.cc" ]
249 include_dirs = [ ".." ] 233 include_dirs = [ ".." ]
250 } 234 }
251 235
252 # TODO(rmacnak): Remove after updating all clients of libdart to use
253 # libdart_jit or libdart_precompiled_runtime.
254 static_library("libdart_lib") {
255 configs += [
256 "..:dart_config",
257 "..:dart_maybe_product_config",
258 "..:dart_maybe_precompiled_runtime_config",
259 ]
260 sources = all_libsources + [ "bootstrap_nocore.cc" ]
261 include_dirs = [ ".." ]
262 }
263 static_library("libdart_lib_jit") { 236 static_library("libdart_lib_jit") {
264 configs += [ 237 configs += [
265 "..:dart_config", 238 "..:dart_config",
266 "..:dart_maybe_product_config", 239 "..:dart_maybe_product_config",
267 ] 240 ]
268 sources = all_libsources + [ "bootstrap_nocore.cc" ] 241 sources = all_libsources + [ "bootstrap_nocore.cc" ]
269 include_dirs = [ ".." ] 242 include_dirs = [ ".." ]
270 } 243 }
244
271 static_library("libdart_lib_precompiled_runtime") { 245 static_library("libdart_lib_precompiled_runtime") {
272 configs += [ 246 configs += [
273 "..:dart_config", 247 "..:dart_config",
274 "..:dart_maybe_product_config", 248 "..:dart_maybe_product_config",
275 "..:dart_precompiled_runtime_config", 249 "..:dart_precompiled_runtime_config",
276 ] 250 ]
277 sources = all_libsources + [ "bootstrap_nocore.cc" ] 251 sources = all_libsources + [ "bootstrap_nocore.cc" ]
278 include_dirs = [ ".." ] 252 include_dirs = [ ".." ]
279 } 253 }
280 } 254 }
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 processed_gypis.vmservice_runtime_sources, 506 processed_gypis.vmservice_runtime_sources,
533 "../lib", 507 "../lib",
534 ], 508 ],
535 [ 509 [
536 "io", 510 "io",
537 processed_gypis.bin_io_sources, 511 processed_gypis.bin_io_sources,
538 "../bin", 512 "../bin",
539 ], 513 ],
540 ] 514 ]
541 } 515 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698