OLD | NEW |
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, 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 # This target will be built if no target is specified when invoking ninja. | 5 # This target will be built if no target is specified when invoking ninja. |
6 group("default") { | 6 group("default") { |
7 if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { | 7 if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { |
8 # Fuchsia has run_vm_tests marked testonly. | 8 # Fuchsia has run_vm_tests marked testonly. |
9 testonly = true | 9 testonly = true |
10 } | 10 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 group("runtime_precompiled") { | 48 group("runtime_precompiled") { |
49 deps = [ | 49 deps = [ |
50 "runtime/bin:dart_bootstrap($host_toolchain)", | 50 "runtime/bin:dart_bootstrap($host_toolchain)", |
51 "runtime/bin:dart_precompiled_runtime", | 51 "runtime/bin:dart_precompiled_runtime", |
52 "runtime/bin:process_test", | 52 "runtime/bin:process_test", |
53 "runtime/vm:patched_sdk", | 53 "runtime/vm:patched_sdk", |
54 ] | 54 ] |
55 } | 55 } |
56 | 56 |
57 group("runtime_and_noopt") { | |
58 if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { | |
59 testonly = true | |
60 } | |
61 deps = [ | |
62 "runtime/bin:dart", | |
63 "runtime/bin:dart_bootstrap($host_toolchain)", | |
64 "runtime/bin:dart_noopt", | |
65 "runtime/bin:process_test", | |
66 "runtime/bin:run_vm_tests", | |
67 "runtime/bin:sample_extension", | |
68 "runtime/bin:test_extension", | |
69 "runtime/vm:patched_sdk", | |
70 ] | |
71 } | |
72 | |
73 action("create_sdk") { | 57 action("create_sdk") { |
74 deps = [ | 58 deps = [ |
75 "runtime/bin:dart", | 59 "runtime/bin:dart", |
76 "utils/analysis_server", | 60 "utils/analysis_server", |
77 "utils/compiler:dart2js", | 61 "utils/compiler:dart2js", |
78 "utils/compiler:utils_wrapper", | 62 "utils/compiler:utils_wrapper", |
79 "utils/dartanalyzer:generate_dartanalyzer_snapshot", | 63 "utils/dartanalyzer:generate_dartanalyzer_snapshot", |
80 "utils/dartanalyzer:generate_summary_spec", | 64 "utils/dartanalyzer:generate_summary_spec", |
81 "utils/dartanalyzer:generate_summary_strong", | 65 "utils/dartanalyzer:generate_summary_strong", |
82 "utils/dartdevc", | 66 "utils/dartdevc", |
83 "utils/dartdoc", | 67 "utils/dartdoc", |
84 "utils/dartfmt", | 68 "utils/dartfmt", |
85 "utils/pub", | 69 "utils/pub", |
86 ] | 70 ] |
87 | 71 |
88 sdk_lib_files = exec_script("tools/list_dart_files.py", | 72 sdk_lib_files = exec_script("tools/list_dart_files.py", |
89 [ "absolute", rebase_path("sdk/lib") ], | 73 [ |
| 74 "absolute", |
| 75 rebase_path("sdk/lib"), |
| 76 ], |
90 "list lines") | 77 "list lines") |
91 | 78 |
92 preamble_files = | 79 preamble_files = |
93 exec_script("tools/list_files.py", | 80 exec_script("tools/list_files.py", |
94 [ | 81 [ |
95 "absolute", | 82 "absolute", |
96 "", | 83 "", |
97 rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"), | 84 rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"), |
98 ], | 85 ], |
99 "list lines") | 86 "list lines") |
100 | 87 |
101 sdk_bin_files = exec_script("tools/list_files.py", | 88 sdk_bin_files = exec_script("tools/list_files.py", |
102 [ | 89 [ |
103 "absolute", | 90 "absolute", |
104 "", | 91 "", |
105 rebase_path("sdk/bin"), | 92 rebase_path("sdk/bin"), |
106 ], | 93 ], |
107 "list lines") | 94 "list lines") |
108 | 95 |
109 inputs = sdk_lib_files + preamble_files + sdk_bin_files + | 96 inputs = sdk_lib_files + preamble_files + sdk_bin_files + [ |
110 [ | |
111 "sdk/lib/dart_client.platform", | 97 "sdk/lib/dart_client.platform", |
112 "sdk/lib/dart_server.platform", | 98 "sdk/lib/dart_server.platform", |
113 "sdk/lib/dart_shared.platform", | 99 "sdk/lib/dart_shared.platform", |
114 "$root_gen_dir/dart2js.dart.snapshot", | 100 "$root_gen_dir/dart2js.dart.snapshot", |
115 "$root_gen_dir/utils_wrapper.dart.snapshot", | 101 "$root_gen_dir/utils_wrapper.dart.snapshot", |
116 "$root_gen_dir/pub.dart.snapshot", | 102 "$root_gen_dir/pub.dart.snapshot", |
117 "$root_gen_dir/dartanalyzer.dart.snapshot", | 103 "$root_gen_dir/dartanalyzer.dart.snapshot", |
118 "$root_gen_dir/dartdevc.dart.snapshot", | 104 "$root_gen_dir/dartdevc.dart.snapshot", |
119 "$root_gen_dir/dartfmt.dart.snapshot", | 105 "$root_gen_dir/dartfmt.dart.snapshot", |
120 "$root_gen_dir/analysis_server.dart.snapshot", | 106 "$root_gen_dir/analysis_server.dart.snapshot", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 deps = [ | 160 deps = [ |
175 ":create_sdk", | 161 ":create_sdk", |
176 ] | 162 ] |
177 } | 163 } |
178 | 164 |
179 group("samples") { | 165 group("samples") { |
180 deps = [ | 166 deps = [ |
181 "runtime/bin:sample_extension", | 167 "runtime/bin:sample_extension", |
182 ] | 168 ] |
183 } | 169 } |
OLD | NEW |