Make media/capture gn and gyps produce components
This CL separates media/capture into a component,
to allow, in a subsequent CL, linking with mojo for using
ImageCapture types.
This basically reproduces the media/cast and media/midi
structure.
Windows import/export issues made necessary to add
capture_export and associated CAPTURE_EXPORT macro,
again, replicating media/midi.
gn gen ... --check uncovered some transitive dependencies
during the "analyze" phase of the bots and I had to make
them explicit (e.g. media:gpu).
BUG=518807
Review-Url: https://codereview.chromium.org/2031073002
Cr-Commit-Position: refs/heads/master@{#399024}
46 files changed