• Tom Anderson's avatar
    Fix crash when opening GTK file dialogs in component builds · 90877c4c
    Tom Anderson authored
    This fixes a regression after f4d4d111 which rolled in the addition of
    metrics for harfbuzz.  The issue is that the system harfbuzz and our
    //third_party harfbuzz were getting loaded at the same time.  This CL
    adds HB metrics for component builds to prevent loading the system
    harfbuzz.  This change is not done for non-component builds because
    it's not necessary and we don't want to accidentally add a dependency
    on HB's metrics.
    
    R=drott
    
    Bug: 1146397
    Change-Id: Ifaebf0c86bedefb29cc88709eb89fb42af5a7b75
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522922
    Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
    Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
    Reviewed-by: default avatarDominik Röttsches <drott@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#826995}
    90877c4c
BUILD.gn 11.4 KB