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

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

Issue 2248903002: [fuchsia] Make the dependency on runtime library explicit (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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 config("libdart_vm_config") { 5 config("libdart_vm_config") {
6 # TODO(zra, jamesr): This check can go away after some problems with the 6 # TODO(zra, jamesr): This check can go away after some problems with the
7 # fuchsia toolchain definition are fixed. 7 # fuchsia toolchain definition are fixed.
8 if (!defined(is_fuchsia) || !is_fuchsia) { 8 if (!defined(is_fuchsia) || !is_fuchsia) {
9 libs = [ "dl" ] 9 libs = [ "dl" ]
10 10
11 if (!is_android) { 11 if (!is_android) {
12 libs += [ "pthread" ] 12 libs += [ "pthread" ]
13 13
14 if (is_linux) { 14 if (is_linux) {
15 libs += [ "rt" ] 15 libs += [ "rt" ]
16 } 16 }
17 } 17 }
18 } else {
19 libs = [ "runtime" ]
18 } 20 }
19 } 21 }
20 22
21 23
22 static_library("libdart_platform") { 24 static_library("libdart_platform") {
23 configs += ["..:dart_config", "..:dart_product_config"] 25 configs += ["..:dart_config", "..:dart_product_config"]
24 public_configs = [":libdart_vm_config"] 26 public_configs = [":libdart_vm_config"]
25 27
26 platform_headers_gypi = 28 platform_headers_gypi =
27 exec_script("../../tools/gypi_to_gn.py", 29 exec_script("../../tools/gypi_to_gn.py",
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], 226 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"],
225 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], 227 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"],
226 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], 228 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"],
227 ["math", "math", true, "../../sdk/lib/math", "../lib"], 229 ["math", "math", true, "../../sdk/lib/math", "../lib"],
228 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], 230 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"],
229 ["profiler", "profiler", false, "../../sdk/lib/profiler"], 231 ["profiler", "profiler", false, "../../sdk/lib/profiler"],
230 ["typed_data", "typed_data", false, "../lib"], 232 ["typed_data", "typed_data", false, "../lib"],
231 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], 233 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"],
232 ] 234 ]
233 } 235 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698