| OLD | NEW |
| 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 # doesn't currently use the SCM keys for anything, | 846 # doesn't currently use the SCM keys for anything, |
| 847 # but this seems like a really good place to store them. | 847 # but this seems like a really good place to store them. |
| 848 'postbuild_name': 'Tweak Info.plist', | 848 'postbuild_name': 'Tweak Info.plist', |
| 849 'action': ['../build/mac/tweak_info_plist.py', | 849 'action': ['../build/mac/tweak_info_plist.py', |
| 850 '--breakpad=1', | 850 '--breakpad=1', |
| 851 '--keystone=0', | 851 '--keystone=0', |
| 852 '--scm=1', | 852 '--scm=1', |
| 853 '--version=<(content_shell_version)', | 853 '--version=<(content_shell_version)', |
| 854 '--branding=<(content_shell_product_name)'], | 854 '--branding=<(content_shell_product_name)'], |
| 855 }, | 855 }, |
| 856 { |
| 857 # Changes the load command of libmojo_system.dylib to come from |
| 858 # the Libraries folder. |
| 859 'postbuild_name': 'Update load of libmojo_system.dylib', |
| 860 'action': ['install_name_tool', |
| 861 '-change', |
| 862 '@loader_path/libmojo_system.dylib', |
| 863 '@loader_path/Libraries/libmojo_system.dylib', |
| 864 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'], |
| 865 }, |
| 866 { |
| 867 # Changes the id of libmojo_system.dylib to come from the |
| 868 # Libraries folder to be consistent with the load command. |
| 869 'postbuild_name': 'Update id of libmojo_system.dylib', |
| 870 'action': ['install_name_tool', |
| 871 '-id', |
| 872 '@loader_path/Libraries/libmojo_system.dylib', |
| 873 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Librarie
s/libmojo_system.dylib'], |
| 874 }, |
| 856 ], | 875 ], |
| 857 'copies': [ | 876 'copies': [ |
| 858 { | 877 { |
| 859 # Copy FFmpeg binaries for audio/video support. | 878 # Copy FFmpeg for audio/video support and mojo. |
| 860 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 879 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| 861 'files': [ | 880 'files': [ |
| 862 '<(PRODUCT_DIR)/ffmpegsumo.so', | 881 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 882 '<(PRODUCT_DIR)/libmojo_system.dylib', |
| 863 ], | 883 ], |
| 864 }, | 884 }, |
| 865 { | 885 { |
| 866 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', | 886 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', |
| 867 'files': [ | 887 'files': [ |
| 868 '<(PRODUCT_DIR)/crash_inspector', | 888 '<(PRODUCT_DIR)/crash_inspector', |
| 869 '<(PRODUCT_DIR)/crash_report_sender.app' | 889 '<(PRODUCT_DIR)/crash_report_sender.app' |
| 870 ], | 890 ], |
| 871 }, | 891 }, |
| 872 ], | 892 ], |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1157 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1138 '--destination_dir', '<(dest_dir)', | 1158 '--destination_dir', '<(dest_dir)', |
| 1139 ], | 1159 ], |
| 1140 }, | 1160 }, |
| 1141 ], | 1161 ], |
| 1142 }, | 1162 }, |
| 1143 ], | 1163 ], |
| 1144 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1164 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1145 ] | 1165 ] |
| 1146 } | 1166 } |
| OLD | NEW |