mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 07:02:48 +00:00
28 lines
916 B
Diff
28 lines
916 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
|
|
@@ -291,6 +291,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" ]
|
|
+ }
|
|
+
|
|
configs += [
|
|
"//v8:external_startup_data",
|
|
":disable_icf",
|