Skip to content

Commit c9faf02

Browse files
woody77CQ Bot
authored andcommitted
[build] Disable output leak scanning on verification tools
These tools don't have output files with contents, so don't pay the tax of running them with the output leak verification script. Change-Id: I1e112f71dea925c0d77e636b6d458b805426e6ef Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1338128 Reviewed-by: David Fang <[email protected]> Commit-Queue: Aaron Wood <[email protected]> Fuchsia-Auto-Submit: Aaron Wood <[email protected]>
1 parent 6ae74e3 commit c9faf02

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tools/cmc/build/expect_includes.gni

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ template("cmc_check_includes") {
151151
outputs = [ "$target_out_dir/$target_name.gn_stamp" ]
152152
depfile = "$target_gen_dir/$target_name.d"
153153

154+
# As this action only writes an empty stamp file, there's no need to run
155+
# the check for any output dir leaks in the file.
156+
check_for_output_dir_leaks = false
157+
154158
args = [
155159
"--cmc-path",
156160
rebase_path(cmc_out_path, root_build_dir),

tools/configc/build/config.gni

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,10 @@ template("validate_packaged_config") {
398398
]
399399
outputs = [ _stamp ]
400400

401+
# As this action only writes a stamp file, there's no need to run
402+
# the check for any output dir leaks in the file.
403+
check_for_output_dir_leaks = false
404+
401405
if (!defined(deps)) {
402406
deps = []
403407
}

0 commit comments

Comments
 (0)