aboutsummaryrefslogtreecommitdiff
path: root/bazel
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-08-31 20:51:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-08-31 20:51:42 +0000
commita4fc68a355c0b55ce68378eb444616ec8348b2a7 (patch)
tree09e79cae4fef728a4e305eef273aafba4d771156 /bazel
parent765beb237a29e8794398385bef4f92951cd495e8 (diff)
parent20f2030e29677e4cef5d2ac58ebb6b870e6fbcf5 (diff)
Merge "Use aquery results to determine if a file should be executable" into main
Diffstat (limited to 'bazel')
-rw-r--r--bazel/aquery.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bazel/aquery.go b/bazel/aquery.go
index d77d59acf..76cd97254 100644
--- a/bazel/aquery.go
+++ b/bazel/aquery.go
@@ -123,6 +123,7 @@ type BuildStatement struct {
// Unlike most properties in BuildStatement, these paths must be relative to the root of
// the whole out/ folder, instead of relative to ctx.Config().BazelContext.OutputBase()
ImplicitDeps []string
+ IsExecutable bool
}
// A helper type for aquery processing which facilitates retrieval of path IDs from their
@@ -560,6 +561,7 @@ func (a *aqueryArtifactHandler) fileWriteActionBuildStatement(actionEntry *analy
Mnemonic: actionEntry.Mnemonic,
InputDepsetHashes: depsetHashes,
FileContents: actionEntry.FileContents,
+ IsExecutable: actionEntry.IsExecutable,
}, nil
}