Commit 9f78e242 authored by Xiaohui Chen's avatar Xiaohui Chen Committed by Commit Bot

Enable shared library loading on ChromeOS

Bug: 822456
Test: ldd can resolve locally build library
Change-Id: If5125576ce1c9a26e47ae98f6576a1f2371920c4
Reviewed-on: https://chromium-review.googlesource.com/963599
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Reviewed-by: default avatarMike Frysinger <vapier@chromium.org>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543926}
parent 5c28afb4
......@@ -307,6 +307,12 @@ if (!is_android && !is_mac) {
deps += [ "//third_party/adobe/flash:flapper_binaries" ]
}
# ChromeOS by design is safe to have rpath=$ORIGIN. This simplifies shared
# library usage.
if (is_chromeos && !is_component_build) {
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
data_deps += [
"//chrome/browser/resources/media/mei_preload:component",
"//third_party/widevine/cdm:widevinecdmadapter",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment