• Christopher Grant's avatar
    Revert "Modules: Introduce a generic DFM native library loading system" · 1cb1d038
    Christopher Grant authored
    This reverts commit 7ca339e3.
    
    Reason for revert: Broke test targets in some builds.
    https://build.chromium.org/p/chromium.android/builders/Android%20arm64%20Builder%20%28dbg%29/builds/39819
    
    Original change's description:
    > Modules: Introduce a generic DFM native library loading system
    > 
    > DFMs that include both Java and native code will probably use JNI. This
    > change introduces a reusable mechanism to load the native library and
    > register its JNI methods.
    > 
    > Key points:
    > 
    > - There are 3 build variants supported:
    >   1. Production builds with lld-generated partitions.
    >   2. Component build (with feature code in a component).
    >   3. Fallback release build (feature code in the main library)
    > 
    > - For consistency, explicit JNI registration is done in both
    >   ChromeModern and Monochrome.
    > 
    > - The Test Dummy module is moved over to use this new system. VR will
    >   join the fun in a follow-on change.
    > 
    > - Currently, modules must supply an explicit JNI registration method.
    >   Common code will locate this method and call it, at the appropriate
    >   time, on behalf of the module.
    > 
    > Bug: 870055
    > Change-Id: Id400ff00b4be65f71536a4acffdfcf93cc3bea58
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822846
    > Commit-Queue: Christopher Grant <cjgrant@chromium.org>
    > Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
    > Reviewed-by: Andrew Grieve <agrieve@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#700276}
    
    TBR=cjgrant@chromium.org,agrieve@chromium.org,tiborg@chromium.org
    
    Change-Id: Ia5f504c0da25c85805a8521991c6eed8eac15267
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 870055
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1827245Reviewed-by: default avatarChristopher Grant <cjgrant@chromium.org>
    Commit-Queue: Christopher Grant <cjgrant@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#700358}
    1cb1d038
BUILD.gn 116 KB