mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 10:31:10 +08:00
Make devtools-frontend gn files not write absoute paths to generated ninja files
Reduces `diff out/gn{1,2}/toolchain.ninja | wc -l` from 464 to 8
on my linux box.
No intended behavior change.
Bug: chromium:1278777
Change-Id: Ib9e711f67646e848fdfb95393ad75519f789ccf1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3330417
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
33a7644c91
commit
5027efee97
@@ -16,8 +16,8 @@ template("copy_to_gen") {
|
||||
|
||||
script = "scripts/build/ninja/copy-files.js"
|
||||
|
||||
_copy_src = rebase_path(get_path_info(target_name, "dir"))
|
||||
_copy_dest = rebase_path(target_gen_dir)
|
||||
_copy_src = rebase_path(get_path_info(target_name, "dir"), root_build_dir)
|
||||
_copy_dest = rebase_path(target_gen_dir, root_build_dir)
|
||||
|
||||
args = [
|
||||
_copy_src,
|
||||
|
||||
Reference in New Issue
Block a user