Skip to content

Commit 846ad95

Browse files
committed
[VM] Make runtime target build dependencies required to start the resident frontend server
Change-Id: Ia5e360402f9bae70578de4e8a4d6a795697f73fb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401641 Reviewed-by: Siva Annamalai <[email protected]>
1 parent 0357274 commit 846ad95

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

BUILD.gn

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
22
# 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.
44

55
import("build/config/gclient_args.gni")
66
import("sdk_args.gni")
@@ -56,6 +56,16 @@ group("runtime") {
5656
"utils/dartdev:dartdev",
5757
"utils/kernel-service:kernel-service",
5858
]
59+
60+
# The following dependencies allow dartdev to start the resident frontend
61+
# server.
62+
if (dart_target_arch != "ia32" && dart_target_arch != "x86") {
63+
deps += [ "utils/kernel-service:frontend_server_aot_product" ]
64+
deps += [ "runtime/bin:dartaotruntime_product" ]
65+
} else {
66+
deps += [ "utils/kernel-service:frontend_server" ]
67+
}
68+
5969
if (!is_win) {
6070
# The test isn't run on windows
6171
deps += [ "runtime/bin:entrypoints_verification_test" ]

0 commit comments

Comments
 (0)