Rename GN source_prereqs to inputs, enhance "desc"
We picked the name "source_prereqs" to try to emphasize that these are source (compile-time) dependencies rather than data or link-time dependencies. However, now that all actions are implicit hard deps, the use-case of using this for binary targets is almost nonexistant (I want to eventually put back actions-as-soft-deps but this requires some additional checking to make sure people don't mess up, at which time this may becomre more relevant.) source_prereqs is hard to type and difficult to understand. Inputs is much more clear, especially since the typical case is an action. This will fall back to reading "source_prereqs" for back-compat until we change all users. Significantly enhance the "gn desc" command. A bunch of action-related fields were missing. BUG=374271 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/333243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277850 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment