mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 15:12:49 +00:00
28 lines
992 B
Diff
28 lines
992 B
Diff
Description: set rpath on chromium-browser and v8_context_snapshot_generator executables so that they can locate libffmpeg.so
|
|
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
|
|
Bug-Ubuntu: https://launchpad.net/bugs/1718885
|
|
|
|
--- a/chrome/BUILD.gn
|
|
+++ b/chrome/BUILD.gn
|
|
@@ -286,6 +286,8 @@ if (!is_android && !is_mac) {
|
|
rebase_path(version_script, root_build_dir) ]
|
|
}
|
|
|
|
+ configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
|
+
|
|
if (use_x11) {
|
|
configs += [
|
|
"//build/config/linux:x11",
|
|
--- a/tools/v8_context_snapshot/BUILD.gn
|
|
+++ b/tools/v8_context_snapshot/BUILD.gn
|
|
@@ -106,6 +106,10 @@ if (use_v8_context_snapshot) {
|
|
"//v8",
|
|
]
|
|
|
|
+ if (is_linux) {
|
|
+ configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
|
+ }
|
|
+
|
|
if (is_linux && (is_component_build || using_sanitizer) &&
|
|
use_custom_libcxx) {
|
|
deps += [ "//buildtools/third_party/libc++:libc++" ]
|