commit | feb2746b5cc48aa9709a9a5432006ed184f2e370 | [log] [tgz] |
---|---|---|
author | anlex N <[email protected]> | Tue Apr 23 17:14:08 2024 +0800 |
committer | GN LUCI <[email protected]> | Mon May 13 08:55:37 2024 +0000 |
tree | eb27ed56d94b359b3ade0d452149f998e253205f | |
parent | b0c2742896b6b9f869dc0eb35ae4785cbf2a4512 [diff] [blame] |
[template] Fix "rule alink_thin" in the //build/build_linux.ninja.template *.a files in the $out can not be removed because they are static library needed by the building step. From the view of gn, `gn clean` is only standard way to clean up everything about output. Change-Id: I30c17cb33db2f3cdc6eebd612d5aa474920cb15d Reviewed-on: https://gn-review.googlesource.com/c/gn/+/17180 Commit-Queue: David Turner <[email protected]> Reviewed-by: Takuto Ikuta <[email protected]> Reviewed-by: David Turner <[email protected]>
diff --git a/build/build_linux.ninja.template b/build/build_linux.ninja.template index ab117fb..27339a7 100644 --- a/build/build_linux.ninja.template +++ b/build/build_linux.ninja.template
@@ -5,7 +5,7 @@ deps = gcc rule alink_thin - command = rm -f $out && $ar rcsT $out $in + command = $ar rcsT $out $in description = AR $out rule link