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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | create_sdk.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index a027a2e6150b25e0778b0dc9e779488b0401dfbd..7d1f7fd87645575525b854fec12285f08bcca098 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -70,12 +70,13 @@ action("create_sdk") {
]
sdk_lib_files = exec_script("tools/list_dart_files.py",
- [ rebase_path("sdk/lib") ],
+ [ "absolute", rebase_path("sdk/lib") ],
"list lines")
preamble_files =
exec_script("tools/list_files.py",
[
+ "absolute",
"",
rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"),
],
@@ -83,14 +84,13 @@ action("create_sdk") {
sdk_bin_files = exec_script("tools/list_files.py",
[
+ "absolute",
"",
rebase_path("sdk/bin"),
],
"list lines")
- inputs = rebase_path(sdk_lib_files, "", "sdk/lib") +
- rebase_path(preamble_files, "", "sdk/lib") +
- rebase_path(sdk_bin_files, "", "sdk/bin") +
+ inputs = sdk_lib_files + preamble_files + sdk_bin_files +
[
"sdk/lib/dart_client.platform",
"sdk/lib/dart_server.platform",
« 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