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

Side by Side 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: Add isolate support Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « chrome/tools/build/mac/dump_product_syms ('k') | mojo/mojo_public.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 # The "19" is so that sites that sniff for version think that this is 8 # The "19" is so that sites that sniff for version think that this is
9 # something reasonably current; the "77.34.5" is a hint that this isn't a 9 # something reasonably current; the "77.34.5" is a hint that this isn't a
10 # standard Chrome. 10 # standard Chrome.
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 # doesn't currently use the SCM keys for anything, 842 # doesn't currently use the SCM keys for anything,
843 # but this seems like a really good place to store them. 843 # but this seems like a really good place to store them.
844 'postbuild_name': 'Tweak Info.plist', 844 'postbuild_name': 'Tweak Info.plist',
845 'action': ['../build/mac/tweak_info_plist.py', 845 'action': ['../build/mac/tweak_info_plist.py',
846 '--breakpad=1', 846 '--breakpad=1',
847 '--keystone=0', 847 '--keystone=0',
848 '--scm=1', 848 '--scm=1',
849 '--version=<(content_shell_version)', 849 '--version=<(content_shell_version)',
850 '--branding=<(content_shell_product_name)'], 850 '--branding=<(content_shell_product_name)'],
851 }, 851 },
852 {
853 # Copy libmojo_system.dylib explicitly. The copies section does a
854 # hard link, and since we modify it we would end up with the wrong
855 # load command in things linked afterward.
856 'postbuild_name': 'Copy libmojo_system.dylib',
857 'action': ['cp',
858 '-p',
859 '${BUILT_PRODUCTS_DIR}/libmojo_system.dylib',
860 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Librarie s'],
861 },
862 {
863 # Changes the id of libmojo_system.dylib to come from the
864 # Libraries folder to be consistent with the load command.
865 'postbuild_name': 'Update id of libmojo_system.dylib',
866 'action': ['install_name_tool',
867 '-id',
868 '@loader_path/Libraries/libmojo_system.dylib',
869 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Librarie s/libmojo_system.dylib'],
870 },
871 {
872 # Changes the load command of libmojo_system.dylib to come from
873 # the Libraries folder.
874 'postbuild_name': 'Update load of libmojo_system.dylib',
875 'action': ['install_name_tool',
876 '-change',
877 '@loader_path/libmojo_system.dylib',
878 '@loader_path/Libraries/libmojo_system.dylib',
879 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'],
880 },
852 ], 881 ],
853 'copies': [ 882 'copies': [
854 { 883 {
855 # Copy FFmpeg binaries for audio/video support. 884 # Copy FFmpeg for audio/video support and mojo.
856 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', 885 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
857 'files': [ 886 'files': [
858 '<(PRODUCT_DIR)/ffmpegsumo.so', 887 '<(PRODUCT_DIR)/ffmpegsumo.so',
859 ], 888 ],
860 }, 889 },
861 { 890 {
862 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', 891 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources',
863 'files': [ 892 'files': [
864 '<(PRODUCT_DIR)/crash_inspector', 893 '<(PRODUCT_DIR)/crash_inspector',
865 '<(PRODUCT_DIR)/crash_report_sender.app' 894 '<(PRODUCT_DIR)/crash_report_sender.app'
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 1162 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1134 '--destination_dir', '<(dest_dir)', 1163 '--destination_dir', '<(dest_dir)',
1135 ], 1164 ],
1136 }, 1165 },
1137 ], 1166 ],
1138 }, 1167 },
1139 ], 1168 ],
1140 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 1169 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
1141 ] 1170 ]
1142 } 1171 }
OLDNEW
« no previous file with comments | « chrome/tools/build/mac/dump_product_syms ('k') | mojo/mojo_public.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698