On X11, copy ANGLE's libraries instead of using the _ANGLE version
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}
Showing
Please register or sign in to comment