• Mirko Bonadei's avatar
    Using all_dependent_configs to pass libyuv_config around. · d94a4867
    Mirko Bonadei authored
    Using public_configs, client projects must rely on public_deps to
    propagate configurations up in the build graph. This is bad because
    public_deps allows the exposition of headers that live in another
    target. This can lead to a really unhealthy build.
    
    On the other side, all_dependent_configs is automatically propagated
    up in the build graph but if a target includes a libyuv header it is
    forced by GN to declare the dependency (and this will propagate
    libyuv_config).
    
    Bug: webrtc:8605, webrtc:8603
    Change-Id: I4d71bb5de0b5b62a4ec110349223614f0b98e655
    No-Try: True
    Reviewed-on: https://chromium-review.googlesource.com/822112
    Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
    Reviewed-by: 's avatarPatrik Höglund <phoglund@chromium.org>
    d94a4867
BUILD.gn 9.04 KB