• Alexis Hetu's avatar
    Make sure ANGLE can find the proper libraries · 82c9e196
    Alexis Hetu authored
    This cl is in the context of replacing SwiftShader's GL libraries
    with SwANGLE (ANGLE with SwiftShader Vulkan as its backend). In order
    to allow ANGLE to find the proper libvulkan.so when executing tests
    on the bots, we have to make sure the proper rpath is set.
    
    The affected tests include:
    app_shell_unittests, aura_unittests, cc_unittests,
    compositor_unittests, gpu_unittests, interactive_ui_tests
    message_center_unittests, media_unittests, snapshot_unittests
    unit_tests, views_unittests, viz_unittests, wm_unittests
    
    A CFI suppression has also been added for expected behavior of
    the vulkan loader triggering a CFI error when calling functions
    from the system libvulkan library.
    
    TBR_REASON: BUILD.gn changes identical to those already approved in https://chromium-review.googlesource.com/c/chromium/src/+/2565490
    
    TBR: kbr@chromium.org
    Bug: chromium:1060139
    Change-Id: Ib2e15ae61e11b5a3b37cf65552f579faf287f809
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575112
    Commit-Queue: Alexis Hétu <sugoi@chromium.org>
    Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#834139}
    82c9e196
BUILD.gn 107 KB