• Zijie He's avatar
    Implement EvaluateCapability and its tests · 62d23080
    Zijie He authored
    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: default avatarJoe Downing <joedow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#490121}
    62d23080
BUILD.gn 21.5 KB