| 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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 }, | |
| 881 ], | 852 ], |
| 882 'copies': [ | 853 'copies': [ |
| 883 { | 854 { |
| 884 # Copy FFmpeg for audio/video support and mojo. | 855 # Copy FFmpeg binaries for audio/video support. |
| 885 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 856 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| 886 'files': [ | 857 'files': [ |
| 887 '<(PRODUCT_DIR)/ffmpegsumo.so', | 858 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 888 ], | 859 ], |
| 889 }, | 860 }, |
| 890 { | 861 { |
| 891 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', | 862 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', |
| 892 'files': [ | 863 'files': [ |
| 893 '<(PRODUCT_DIR)/crash_inspector', | 864 '<(PRODUCT_DIR)/crash_inspector', |
| 894 '<(PRODUCT_DIR)/crash_report_sender.app' | 865 '<(PRODUCT_DIR)/crash_report_sender.app' |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1162 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', | 1133 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
| 1163 '--destination_dir', '<(dest_dir)', | 1134 '--destination_dir', '<(dest_dir)', |
| 1164 ], | 1135 ], |
| 1165 }, | 1136 }, |
| 1166 ], | 1137 ], |
| 1167 }, | 1138 }, |
| 1168 ], | 1139 ], |
| 1169 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" | 1140 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
| 1170 ] | 1141 ] |
| 1171 } | 1142 } |
| OLD | NEW |