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 libs = [ |
7 "dl", | 7 "dl", |
8 ] | 8 ] |
9 | 9 |
10 if (!is_android) { | 10 if (!is_android) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ["vm_sources.gypi"]) | 54 ["vm_sources.gypi"]) |
55 | 55 |
56 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) | 56 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) |
57 sources = vm_sources_list.sources | 57 sources = vm_sources_list.sources |
58 include_dirs = [ | 58 include_dirs = [ |
59 "..", | 59 "..", |
60 ] | 60 ] |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 static_library("libdart_vm_precompiled_runtime") { | |
65 configs += ["..:dart_config_no_precompiler"] | |
66 public_configs = [":libdart_vm_config"] | |
67 defines = ["DART_PRECOMPILED_RUNTIME"] | |
68 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", | |
69 [rebase_path("vm_sources.gypi")], | |
70 "scope", | |
71 ["vm_sources.gypi"]) | |
72 | |
73 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) | |
74 sources = vm_sources_list.sources | |
75 include_dirs = [ | |
76 "..", | |
77 ] | |
78 } | |
79 | |
80 | |
81 static_library("libdart_vm_nosnapshot") { | 64 static_library("libdart_vm_nosnapshot") { |
82 configs += ["..:dart_config"] | 65 configs += ["..:dart_config"] |
83 public_configs = [":libdart_vm_config"] | 66 public_configs = [":libdart_vm_config"] |
84 defines = [ "DART_NO_SNAPSHOT" ] | 67 defines = [ "DART_NO_SNAPSHOT" ] |
85 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", | 68 vm_sources_list = exec_script("../../tools/gypi_to_gn.py", |
86 [rebase_path("vm_sources.gypi")], | 69 [rebase_path("vm_sources.gypi")], |
87 "scope", | 70 "scope", |
88 ["vm_sources.gypi"]) | 71 ["vm_sources.gypi"]) |
89 | 72 |
90 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) | 73 set_sources_assignment_filter(["*_test.cc", "*_test.h"]) |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "..", | 175 "..", |
193 ] | 176 ] |
194 } | 177 } |
195 static_library("libdart_lib") { | 178 static_library("libdart_lib") { |
196 configs += ["..:dart_config"] | 179 configs += ["..:dart_config"] |
197 sources = libsources + [ "bootstrap_nocore.cc", ] | 180 sources = libsources + [ "bootstrap_nocore.cc", ] |
198 include_dirs = [ | 181 include_dirs = [ |
199 "..", | 182 "..", |
200 ] | 183 ] |
201 } | 184 } |
202 static_library("libdart_lib_precompiled_runtime") { | |
203 configs += ["..:dart_config_no_precompiler"] | |
204 defines = ["DART_PRECOMPILED_RUNTIME"] | |
205 sources = libsources + [ "bootstrap_nocore.cc", ] | |
206 include_dirs = [ | |
207 "..", | |
208 ] | |
209 } | |
210 } | 185 } |
211 | 186 |
212 | 187 |
213 generate_core_libraries("core_libraries") { | 188 generate_core_libraries("core_libraries") { |
214 sources = [ | 189 sources = [ |
215 ["async", "async", true, "../../sdk/lib/async", "../lib"], | 190 ["async", "async", true, "../../sdk/lib/async", "../lib"], |
216 ["core", "core", true, "../../sdk/lib/core", "../lib"], | 191 ["core", "core", true, "../../sdk/lib/core", "../lib"], |
217 ["collection", "collection", true, "../../sdk/lib/collection", "../lib"], | 192 ["collection", "collection", true, "../../sdk/lib/collection", "../lib"], |
218 ["convert", "convert", true, "../../sdk/lib/convert", "../lib"], | 193 ["convert", "convert", true, "../../sdk/lib/convert", "../lib"], |
219 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], | 194 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], |
220 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], | 195 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], |
221 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], | 196 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], |
222 ["math", "math", true, "../../sdk/lib/math", "../lib"], | 197 ["math", "math", true, "../../sdk/lib/math", "../lib"], |
223 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], | 198 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], |
224 ["profiler", "profiler", false, "../../sdk/lib/profiler"], | 199 ["profiler", "profiler", false, "../../sdk/lib/profiler"], |
225 ["typed_data", "typed_data", false, "../lib"], | 200 ["typed_data", "typed_data", false, "../lib"], |
226 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], | 201 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], |
227 ] | 202 ] |
228 } | 203 } |
OLD | NEW |