| 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 # This file contains resources for the main Mac chromium bundle. | 5 # This file contains resources for the main Mac chromium bundle. |
| 6 { | 6 { |
| 7 # The main browser executable's name is <(mac_product_name). | 7 # The main browser executable's name is <(mac_product_name). |
| 8 # Certain things will get confused if two modules in the | 8 # Certain things will get confused if two modules in the |
| 9 # executable share the same name, so append " Framework" to the | 9 # executable share the same name, so append " Framework" to the |
| 10 # product_name used for the framework. This will result in | 10 # product_name used for the framework. This will result in |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ], | 73 ], |
| 74 'dependencies': [ | 74 'dependencies': [ |
| 75 'app_mode_app', | 75 'app_mode_app', |
| 76 # Bring in pdfsqueeze and run it on all pdfs | 76 # Bring in pdfsqueeze and run it on all pdfs |
| 77 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 77 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 78 '../crypto/crypto.gyp:crypto', | 78 '../crypto/crypto.gyp:crypto', |
| 79 # On Mac, Flash gets put into the framework, so we need this | 79 # On Mac, Flash gets put into the framework, so we need this |
| 80 # dependency here. flash_player.gyp will copy the Flash bundle | 80 # dependency here. flash_player.gyp will copy the Flash bundle |
| 81 # into PRODUCT_DIR. | 81 # into PRODUCT_DIR. |
| 82 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', | 82 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', |
| 83 '../third_party/crashpad/crashpad/handler/handler.gyp:crashpad_handler', |
| 83 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', | 84 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', |
| 84 'chrome_resources.gyp:packed_extra_resources', | 85 'chrome_resources.gyp:packed_extra_resources', |
| 85 'chrome_resources.gyp:packed_resources', | 86 'chrome_resources.gyp:packed_resources', |
| 86 ], | 87 ], |
| 87 'rules': [ | 88 'rules': [ |
| 88 { | 89 { |
| 89 'rule_name': 'pdfsqueeze', | 90 'rule_name': 'pdfsqueeze', |
| 90 'extension': 'pdf', | 91 'extension': 'pdf', |
| 91 'inputs': [ | 92 'inputs': [ |
| 92 '<(PRODUCT_DIR)/pdfsqueeze', | 93 '<(PRODUCT_DIR)/pdfsqueeze', |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 ], | 139 ], |
| 139 'copies': [ | 140 'copies': [ |
| 140 { | 141 { |
| 141 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 142 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| 142 'files': [ | 143 'files': [ |
| 143 '<(PRODUCT_DIR)/exif.so', | 144 '<(PRODUCT_DIR)/exif.so', |
| 144 '<(PRODUCT_DIR)/ffmpegsumo.so', | 145 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 145 ], | 146 ], |
| 146 }, | 147 }, |
| 147 { | 148 { |
| 149 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Helpers', |
| 150 'files': [ |
| 151 '<(PRODUCT_DIR)/crashpad_handler', |
| 152 ], |
| 153 }, |
| 154 { |
| 148 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', | 155 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', |
| 149 'files': [], | 156 'files': [], |
| 150 'conditions': [ | 157 'conditions': [ |
| 151 ['disable_nacl!=1', { | 158 ['disable_nacl!=1', { |
| 152 'conditions': [ | 159 'conditions': [ |
| 153 ['target_arch=="x64"', { | 160 ['target_arch=="x64"', { |
| 154 'files': [ | 161 'files': [ |
| 155 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | 162 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
| 156 ], | 163 ], |
| 157 }, { | 164 }, { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 'files': ['<@(default_apps_list)'], | 229 'files': ['<@(default_apps_list)'], |
| 223 }, | 230 }, |
| 224 ], | 231 ], |
| 225 }], | 232 }], |
| 226 ['mac_breakpad==1', { | 233 ['mac_breakpad==1', { |
| 227 'variables': { | 234 'variables': { |
| 228 # A real .dSYM is needed for dump_syms to operate on. | 235 # A real .dSYM is needed for dump_syms to operate on. |
| 229 'mac_real_dsym': 1, | 236 'mac_real_dsym': 1, |
| 230 }, | 237 }, |
| 231 }], | 238 }], |
| 232 ['mac_breakpad_compiled_in==1', { | |
| 233 'dependencies': [ | |
| 234 '../breakpad/breakpad.gyp:breakpad', | |
| 235 '../components/components.gyp:policy', | |
| 236 ], | |
| 237 'copies': [ | |
| 238 { | |
| 239 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', | |
| 240 'files': [ | |
| 241 '<(PRODUCT_DIR)/crash_inspector', | |
| 242 '<(PRODUCT_DIR)/crash_report_sender.app' | |
| 243 ], | |
| 244 }, | |
| 245 ], | |
| 246 }], # mac_breakpad_compiled_in | |
| 247 ['mac_keystone==1', { | 239 ['mac_keystone==1', { |
| 248 'mac_bundle_resources': [ | 240 'mac_bundle_resources': [ |
| 249 'browser/mac/keystone_promote_preflight.sh', | 241 'browser/mac/keystone_promote_preflight.sh', |
| 250 'browser/mac/keystone_promote_postflight.sh', | 242 'browser/mac/keystone_promote_postflight.sh', |
| 251 ], | 243 ], |
| 252 'postbuilds': [ | 244 'postbuilds': [ |
| 253 { | 245 { |
| 254 'postbuild_name': 'Copy KeystoneRegistration.framework', | 246 'postbuild_name': 'Copy KeystoneRegistration.framework', |
| 255 'action': [ | 247 'action': [ |
| 256 '../build/mac/copy_framework_unversioned.sh', | 248 '../build/mac/copy_framework_unversioned.sh', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 ], | 292 ], |
| 301 }], | 293 }], |
| 302 ['v8_use_external_startup_data==1', { | 294 ['v8_use_external_startup_data==1', { |
| 303 'mac_bundle_resources': [ | 295 'mac_bundle_resources': [ |
| 304 '<(PRODUCT_DIR)/natives_blob.bin', | 296 '<(PRODUCT_DIR)/natives_blob.bin', |
| 305 '<(PRODUCT_DIR)/snapshot_blob.bin', | 297 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 306 ], | 298 ], |
| 307 }], | 299 }], |
| 308 ], # conditions | 300 ], # conditions |
| 309 } | 301 } |
| OLD | NEW |