• Eric Stevenson's avatar
    Cronet: Fix handling of GEN_JNI packaging. · 3d23ab6f
    Eric Stevenson authored
    Previously, the "repackage_native" target was providing the GEN_JNI
    class. When there were multiple deps containing this class, zip.py
    would just choose the first one. This works right now because it grabs
    //base_java's GEN_JNI and the only dep of cronet using proxy natives
    is //base_java.
    
    To allow more deps to use proxy natives, this CL adds a couple
    sub-targets that are responsible for including the correct version of
    GEN_JNI.
    
    Bug: 929661, 1005836
    Change-Id: Ifbcba3c012e7191be8ca410f4e8789ec791eac6a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1811974
    Commit-Queue: Paul Jensen <pauljensen@chromium.org>
    Reviewed-by: default avatarPaul Jensen <pauljensen@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Auto-Submit: Eric Stevenson <estevenson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#699711}
    3d23ab6f
BUILD.gn 51.8 KB