• Sylvain Defresne's avatar
    Convert //ui to not depend on set_sources_assignment_filter() · 2e8aa0d1
    Sylvain Defresne authored
    set_sources_assignment_filter() is considered as a mis-feature
    of gn (as it makes it difficult to reason about the BUILD.gn
    files individually).
    
    Convert BUILD.gn files below //ui to instead use conditional
    to include source files only on the platformn where they are
    used.
    
    The conversion was done by using a modified version of gn that
    display all files filtered by set_sources_assignment_filter()
    and updating the BUILD.gn files manually to explicitly add the
    source files only on the platform that used them.
    
    This CL was uploaded by git cl split.
    
    Bug: 1018739
    Change-Id: Ieda60fcfd3fc525d679d29b0f8665004abc8e730
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929822
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Commit-Queue: Robert Flack <flackr@chromium.org>
    Reviewed-by: default avatarRobert Flack <flackr@chromium.org>
    Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#719548}
    2e8aa0d1
BUILD.gn 1.86 KB