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 # 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 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 if (do_patch) { | 195 if (do_patch) { |
196 patch_path = lib[4] | 196 patch_path = lib[4] |
197 generate_library_source("generate_${filename}_patch_cc_file") { | 197 generate_library_source("generate_${filename}_patch_cc_file") { |
198 libname = libname | 198 libname = libname |
199 filename = filename | 199 filename = filename |
200 kind = "patch" | 200 kind = "patch" |
201 path = patch_path | 201 path = patch_path |
202 output = "$target_gen_dir/${filename}_patch_gen.cc" | 202 output = "$target_gen_dir/${filename}_patch_gen.cc" |
203 } | 203 } |
204 } | 204 } |
| 205 lib_sources_gypi = {} |
205 lib_sources_gypi = | 206 lib_sources_gypi = |
206 exec_script("../../tools/gypi_to_gn.py", | 207 exec_script("../../tools/gypi_to_gn.py", |
207 [rebase_path("../lib/${filename}_sources.gypi")], | 208 [rebase_path("../lib/${filename}_sources.gypi")], |
208 "scope", | 209 "scope", |
209 ["../lib/${filename}_sources.gypi"]) | 210 ["../lib/${filename}_sources.gypi"]) |
210 libsources += rebase_path(lib_sources_gypi.sources, ".", "../lib") | 211 libsources += rebase_path(lib_sources_gypi.sources, ".", "../lib") |
211 liboutputs += ["$target_gen_dir/${filename}_gen.cc"] | 212 liboutputs += ["$target_gen_dir/${filename}_gen.cc"] |
212 libdeps += [":generate_${filename}_cc_file"] | 213 libdeps += [":generate_${filename}_cc_file"] |
213 if (do_patch) { | 214 if (do_patch) { |
214 liboutputs += ["$target_gen_dir/${filename}_patch_gen.cc"] | 215 liboutputs += ["$target_gen_dir/${filename}_patch_gen.cc"] |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], | 277 ["developer", "developer", true, "../../sdk/lib/developer", "../lib"], |
277 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], | 278 ["_internal", "internal", true, "../../sdk/lib/internal", "../lib"], |
278 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], | 279 ["isolate", "isolate", true, "../../sdk/lib/isolate", "../lib"], |
279 ["math", "math", true, "../../sdk/lib/math", "../lib"], | 280 ["math", "math", true, "../../sdk/lib/math", "../lib"], |
280 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], | 281 ["mirrors", "mirrors", true, "../../sdk/lib/mirrors", "../lib"], |
281 ["profiler", "profiler", false, "../../sdk/lib/profiler"], | 282 ["profiler", "profiler", false, "../../sdk/lib/profiler"], |
282 ["typed_data", "typed_data", false, "../lib"], | 283 ["typed_data", "typed_data", false, "../lib"], |
283 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], | 284 ["_vmservice", "vmservice", true, "../../sdk/lib/vmservice", "../lib"], |
284 ] | 285 ] |
285 } | 286 } |
OLD | NEW |