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

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

Issue 2296463002: [fuchsia] Fix build for new sysroot (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/sdk/@master
Patch Set: fix according to comments Created 4 years, 3 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') | 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 { 18 } else {
19 libs = [ "runtime" ] 19 libs = [
20 "magenta",
21 "runtime",
22 ]
20 } 23 }
21 } 24 }
22 25
23 26
24 static_library("libdart_platform") { 27 static_library("libdart_platform") {
25 configs += ["..:dart_config", "..:dart_product_config"] 28 configs += ["..:dart_config", "..:dart_product_config"]
26 public_configs = [":libdart_vm_config"] 29 public_configs = [":libdart_vm_config"]
27 30
28 platform_headers_gypi = 31 platform_headers_gypi =
29 exec_script("../../tools/gypi_to_gn.py", 32 exec_script("../../tools/gypi_to_gn.py",
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], 229 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"],
227 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], 230 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"],
228 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], 231 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"],
229 ["math", "math", true, "../../sdk/lib/math", "../lib"], 232 ["math", "math", true, "../../sdk/lib/math", "../lib"],
230 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], 233 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"],
231 ["profiler", "profiler", false, "../../sdk/lib/profiler"], 234 ["profiler", "profiler", false, "../../sdk/lib/profiler"],
232 ["typed_data", "typed_data", false, "../lib"], 235 ["typed_data", "typed_data", false, "../lib"],
233 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], 236 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"],
234 ] 237 ]
235 } 238 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698