Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Unified Diff: content/content_shell.gypi

Issue 211503005: Fixup mojo dylibs to support mojo in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only add mac to supported mojo platforms Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/content_shell.gypi
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index 9290d4934979eaa4a4572a8b608e497e08d76310..b40fa0b8e6d9f4e4718093e1d8d708b4d33435ee 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -853,13 +853,33 @@
'--version=<(content_shell_version)',
'--branding=<(content_shell_product_name)'],
},
+ {
+ # Changes the load command of libmojo_system.dylib to come from
+ # the Libraries folder.
+ 'postbuild_name': 'Update load of libmojo_system.dylib',
+ 'action': ['install_name_tool',
+ '-change',
+ '@loader_path/libmojo_system.dylib',
+ '@loader_path/Libraries/libmojo_system.dylib',
+ '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'],
+ },
+ {
+ # Changes the id of libmojo_system.dylib to come from the
+ # Libraries folder to be consistent with the load command.
+ 'postbuild_name': 'Update id of libmojo_system.dylib',
+ 'action': ['install_name_tool',
+ '-id',
+ '@loader_path/Libraries/libmojo_system.dylib',
+ '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libmojo_system.dylib'],
+ },
],
'copies': [
{
- # Copy FFmpeg binaries for audio/video support.
+ # Copy FFmpeg for audio/video support and mojo.
'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
'files': [
'<(PRODUCT_DIR)/ffmpegsumo.so',
+ '<(PRODUCT_DIR)/libmojo_system.dylib',
],
},
{
« no previous file with comments | « chrome/chrome_dll_bundle.gypi ('k') | mojo/mojo_public.gypi » ('j') | mojo/mojo_public.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698