Fix compiled action dependencies in GN.

The yasm uses of compiled action used sources instead of inputs. Sources applies to the _foreach version but not the plain "compiled_action". These did not trigger an unused variable warning because the declarations themselves dereferenced the sources variable for computing args to the script.

This adds some extra documentation and assertion to the compiled action template. It also adds the binary itself as an input. This should be strictly unnecessary since there should be an implicit dependency on the target, but I like this since it makes things more explicit.

Review URL:

Cr-Original-Commit-Position: refs/heads/master@{#292447}
Cr-Mirrored-Commit: 4b04efb439a19c6dfef213a2fe51751b223f9cbd
1 file changed