• Tim Volodine's avatar
    [WebLayer] Add build configs for upstream safebrowsing deps. · 6a5c00fc
    Tim Volodine authored
    Because weblayer is packaged together with WebView the
    upstream vs downstream (i.e. public vs internal)
    implementations need to be compiled depending on the
    existing targets. For example we can have AOSP targets
    (with clank/ present) in which case we still need to
    use the upstream version of the safebrowsing related
    class (GmsBridgeImpl.java).
    
    To have this effect this patch updates the
    upstream_only_deps variable to include the weblayer
    safebrowsing upstream target. It also updates the deps
    of WebLayerSupport.apk to always have the upstream
    (public) target.
    
    Analogously the downstream build configs will be updated
    to include the downstream version (in a separate
    downstream patch).
    
    BUG=1015418
    
    Change-Id: I0a38295610b306a018c1565b4e96f89a080ca20a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895658
    Commit-Queue: Tim Volodine <timvolodine@chromium.org>
    Reviewed-by: default avatarRichard Coles <torne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#713936}
    6a5c00fc
BUILD.gn 4.25 KB