• cwallez's avatar
    On X11, copy ANGLE's libraries instead of using the _ANGLE version · 73c23eb5
    cwallez authored
    The _ANGLE version of the ANGLE libraries were loadable_module targets
    linking against their respective shared_library. It worked in Debug
    build but in Release builds the --as-needed linker flag removed the
    dependency. Release Chromium would then be enable to find
    eglGetProcAddress in libEGL_ANGLE and fail to start the GPU process.
    
    This commit replaces the loadable_module scheme by a simple copy of the
    libEGL and libGLESv2 shared libraries from PRODUCT_DIR/lib to
    PRODUCT_DIR. The drawback to doing this is that the GYP and GN code
    diverge (there is no need for the copy in GN).
    
    BUG=522967
    
    Review URL: https://codereview.chromium.org/1635243002
    
    Cr-Commit-Position: refs/heads/master@{#371821}
    73c23eb5
gl_implementation_x11.cc 7 KB