commit | dc5d39067a7e36a1710f6f3cdc8cd15463415ba8 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 20 15:34:42 2021 -0800 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Dec 20 23:49:22 2021 +0000 |
tree | 28332ff9b86ebc5b785879b1de898f01d4164c83 | |
parent | f298da8c0defb1761d47d0417dda89b1171ef1a2 [diff] |
Add -x to skipped argument for clang. clang -x <language>: Treat subsequent input files as having type <language> Test: builds with cuttlefish Fixes: 211512820 Change-Id: I32f72a2b1ebfc12d6a0aecc80274009a8659c1b5
WARNING: The interceptor is still a work in progress. Contents of this section are subject to change.
The interceptor is a tool to intercept all execve
and other system calls during the build (specifically, make
) in order to construct the dependency tree and understand a list of commands executed by the build system. With the interceptor, the Bazel build system may first “dry-run”, analyze all inputs and outputs of each command, generate BUILD.bazel
files for each command, then execute on these generated build files.
This allows us to enable the following: