OLD | NEW |
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 libs = [ | 6 if (!is_fuchsia) { |
7 "dl", | 7 libs = [ "dl" ] |
8 ] | |
9 | 8 |
10 if (!is_android) { | 9 if (!is_android) { |
11 libs += [ "pthread" ] | 10 libs += [ "pthread" ] |
12 | 11 |
13 if (is_linux) { | 12 if (is_linux) { |
14 libs += [ "rt" ] | 13 libs += [ "rt" ] |
| 14 } |
15 } | 15 } |
16 } | 16 } |
17 } | 17 } |
18 | 18 |
19 | 19 |
20 static_library("libdart_platform") { | 20 static_library("libdart_platform") { |
21 configs += ["..:dart_config", "..:dart_product_config"] | 21 configs += ["..:dart_config", "..:dart_product_config"] |
22 public_configs = [":libdart_vm_config"] | 22 public_configs = [":libdart_vm_config"] |
23 | 23 |
24 platform_headers_gypi = | 24 platform_headers_gypi = |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], | 231 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], |
232 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], | 232 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], |
233 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], | 233 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], |
234 ["math", "math", true, "../../sdk/lib/math", "../lib"], | 234 ["math", "math", true, "../../sdk/lib/math", "../lib"], |
235 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], | 235 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], |
236 ["profiler", "profiler", false, "../../sdk/lib/profiler"], | 236 ["profiler", "profiler", false, "../../sdk/lib/profiler"], |
237 ["typed_data", "typed_data", false, "../lib"], | 237 ["typed_data", "typed_data", false, "../lib"], |
238 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], | 238 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], |
239 ] | 239 ] |
240 } | 240 } |
OLD | NEW |