[cast] Separate CreateSysInfo() declaration from definition.

Callers of CreateSysInfo() now depend on the
//chromecast/base:cast_sys_info_util, which provides the header
declaring the API.

Each binary must separately include an explicit dependency on one
of the //chromecast/base:*_create_sys_info targets, which actually
provide a specific implementation of CreateSysInfo().

This separation allows different binaries (e.g. tests) to work
with different CastSysInfo implementations.

Bug: b/130731732
Test: CQ
Change-Id: I0c08096b9ccd5fd3b5237a8e776ccd6bd1de50cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1583421
Reviewed-by: Luke Halliwell <halliwell@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Auto-Submit: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#654067}
1 file changed