Implement EvaluateCapability and its tests
This change adds --type=evaluate_capability command line parameter to execute host binary in "evaluate capability" mode. Meanwhile a helper function int EvaluateCapabilityForkedly() has been added to execute the host binary to evaluate certain functionality, and retrieves its output. Return value is too simple for the evaluation, e.g. for DirectX capturer, both initialization result and DirectX version are required. To make it simple, in a coming change, we can directly output the host attributes regarding to the DirectX capturer into console, so the network process needs not to execute any DirectX related logic. Bug: 741926 Change-Id: Ief06bed7b9297318bd387106108eccd02180e066 Reviewed-on: https://chromium-review.googlesource.com/575730 Commit-Queue: Zijie He <zijiehe@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#490121}
Showing
Please register or sign in to comment