Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: BUILD.gn

Issue 2567213002: Make list_files.py and list_dart_files.py return absolute paths for GN (Closed)
Patch Set: Comments and checking in scripts Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | create_sdk.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 deps = [ 7 deps = [
8 ":runtime", 8 ":runtime",
9 ] 9 ]
10 } 10 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "utils/dartanalyzer:generate_dartanalyzer_snapshot", 63 "utils/dartanalyzer:generate_dartanalyzer_snapshot",
64 "utils/dartanalyzer:generate_summary_spec", 64 "utils/dartanalyzer:generate_summary_spec",
65 "utils/dartanalyzer:generate_summary_strong", 65 "utils/dartanalyzer:generate_summary_strong",
66 "utils/dartdevc", 66 "utils/dartdevc",
67 "utils/dartdoc", 67 "utils/dartdoc",
68 "utils/dartfmt", 68 "utils/dartfmt",
69 "utils/pub", 69 "utils/pub",
70 ] 70 ]
71 71
72 sdk_lib_files = exec_script("tools/list_dart_files.py", 72 sdk_lib_files = exec_script("tools/list_dart_files.py",
73 [ rebase_path("sdk/lib") ], 73 [ "absolute", rebase_path("sdk/lib") ],
74 "list lines") 74 "list lines")
75 75
76 preamble_files = 76 preamble_files =
77 exec_script("tools/list_files.py", 77 exec_script("tools/list_files.py",
78 [ 78 [
79 "absolute",
79 "", 80 "",
80 rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"), 81 rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"),
81 ], 82 ],
82 "list lines") 83 "list lines")
83 84
84 sdk_bin_files = exec_script("tools/list_files.py", 85 sdk_bin_files = exec_script("tools/list_files.py",
85 [ 86 [
87 "absolute",
86 "", 88 "",
87 rebase_path("sdk/bin"), 89 rebase_path("sdk/bin"),
88 ], 90 ],
89 "list lines") 91 "list lines")
90 92
91 inputs = rebase_path(sdk_lib_files, "", "sdk/lib") + 93 inputs = sdk_lib_files + preamble_files + sdk_bin_files +
92 rebase_path(preamble_files, "", "sdk/lib") +
93 rebase_path(sdk_bin_files, "", "sdk/bin") +
94 [ 94 [
95 "sdk/lib/dart_client.platform", 95 "sdk/lib/dart_client.platform",
96 "sdk/lib/dart_server.platform", 96 "sdk/lib/dart_server.platform",
97 "sdk/lib/dart_shared.platform", 97 "sdk/lib/dart_shared.platform",
98 "$root_gen_dir/dart2js.dart.snapshot", 98 "$root_gen_dir/dart2js.dart.snapshot",
99 "$root_gen_dir/utils_wrapper.dart.snapshot", 99 "$root_gen_dir/utils_wrapper.dart.snapshot",
100 "$root_gen_dir/pub.dart.snapshot", 100 "$root_gen_dir/pub.dart.snapshot",
101 "$root_gen_dir/dartanalyzer.dart.snapshot", 101 "$root_gen_dir/dartanalyzer.dart.snapshot",
102 "$root_gen_dir/dartdevc.dart.snapshot", 102 "$root_gen_dir/dartdevc.dart.snapshot",
103 "$root_gen_dir/dartfmt.dart.snapshot", 103 "$root_gen_dir/dartfmt.dart.snapshot",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 deps = [ 158 deps = [
159 ":create_sdk", 159 ":create_sdk",
160 ] 160 ]
161 } 161 }
162 162
163 group("samples") { 163 group("samples") {
164 deps = [ 164 deps = [
165 "runtime/bin:sample_extension", 165 "runtime/bin:sample_extension",
166 ] 166 ]
167 } 167 }
OLDNEW
« no previous file with comments | « no previous file | create_sdk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698