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 | 5 |
6 declare_args() { | 6 declare_args() { |
7 dart_io_support = false | 7 dart_io_support = false |
8 } | 8 } |
9 | 9 |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 ["builtin_sources.gypi"]) | 69 ["builtin_sources.gypi"]) |
70 | 70 |
71 gen_library_src_path("generate_builtin_cc_file") { | 71 gen_library_src_path("generate_builtin_cc_file") { |
72 name = "_builtin" | 72 name = "_builtin" |
73 kind = "source" | 73 kind = "source" |
74 sources = builtin_sources_gypi.sources | 74 sources = builtin_sources_gypi.sources |
75 output = "$target_gen_dir/builtin_gen.cc" | 75 output = "$target_gen_dir/builtin_gen.cc" |
76 } | 76 } |
77 | 77 |
78 | 78 |
79 iolib_sources_gypi = | 79 iolib_sources_gypi = |
zra
2016/02/11 18:58:37
Maybe sdk_io_sources_gypi instead
Cutch
2016/02/11 19:34:32
Done.
| |
80 exec_script("../../tools/gypi_to_gn.py", | 80 exec_script("../../tools/gypi_to_gn.py", |
81 [rebase_path("../../sdk/lib/io/iolib_sources.gypi")], | 81 [rebase_path("../../sdk/lib/io/io_sources.gypi")], |
82 "scope", | 82 "scope", |
83 ["../../sdk/lib/io/iolib_sources.gypi"]) | 83 ["../../sdk/lib/io/io_sources.gypi"]) |
84 iolib_sources = rebase_path(iolib_sources_gypi.sources, ".", "../../sdk/lib/io") | 84 iolib_sources = rebase_path(iolib_sources_gypi.sources, ".", "../../sdk/lib/io") |
zra
2016/02/11 18:58:37
sdk_io_sources
Cutch
2016/02/11 19:34:32
Done.
| |
85 | 85 |
86 gen_library_src_path("generate_io_cc_file") { | 86 gen_library_src_path("generate_io_cc_file") { |
87 name = "io" | 87 name = "io" |
88 kind = "source" | 88 kind = "source" |
89 sources = ["../../sdk/lib/io/io.dart"] + iolib_sources | 89 sources = ["../../sdk/lib/io/io.dart"] + iolib_sources |
zra
2016/02/11 18:58:37
sdk_io_sources
Cutch
2016/02/11 19:34:32
Done.
| |
90 output = "$target_gen_dir/io_gen.cc" | 90 output = "$target_gen_dir/io_gen.cc" |
91 } | 91 } |
92 | 92 |
93 io_sources_gypi = | 93 io_sources_gypi = |
94 exec_script("../../tools/gypi_to_gn.py", | 94 exec_script("../../tools/gypi_to_gn.py", |
95 [rebase_path("io_sources.gypi")], | 95 [rebase_path("io_sources.gypi")], |
96 "scope", | 96 "scope", |
97 ["io_sources.gypi"]) | 97 ["io_sources.gypi"]) |
98 | 98 |
99 gen_library_src_path("generate_io_patch_cc_file") { | 99 gen_library_src_path("generate_io_patch_cc_file") { |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
327 "log_macos.cc", | 327 "log_macos.cc", |
328 "log_win.cc", | 328 "log_win.cc", |
329 "log.h", | 329 "log.h", |
330 ] | 330 ] |
331 | 331 |
332 include_dirs = [ | 332 include_dirs = [ |
333 "..", | 333 "..", |
334 "//third_party" | 334 "//third_party" |
335 ] | 335 ] |
336 } | 336 } |
OLD | NEW |