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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 # Note: pseudo_locales are generated via the packed_resources | 63 # Note: pseudo_locales are generated via the packed_resources |
64 # dependency but not copied to the final target. See | 64 # dependency but not copied to the final target. See |
65 # common.gypi for more info. | 65 # common.gypi for more info. |
66 ], | 66 ], |
67 'mac_bundle_resources!': [ | 67 'mac_bundle_resources!': [ |
68 'app/framework-Info.plist', | 68 'app/framework-Info.plist', |
69 ], | 69 ], |
70 'dependencies': [ | 70 'dependencies': [ |
71 'app_mode_app', | 71 'app_mode_app', |
72 # Bring in pdfsqueeze and run it on all pdfs | 72 # Bring in pdfsqueeze and run it on all pdfs |
73 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | |
74 '../crypto/crypto.gyp:crypto', | 73 '../crypto/crypto.gyp:crypto', |
75 # On Mac, Flash gets put into the framework, so we need this | 74 # On Mac, Flash gets put into the framework, so we need this |
76 # dependency here. flash_player.gyp will copy the Flash bundle | 75 # dependency here. flash_player.gyp will copy the Flash bundle |
77 # into PRODUCT_DIR. | 76 # into PRODUCT_DIR. |
78 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', | 77 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', |
79 '../third_party/crashpad/crashpad/handler/handler.gyp:crashpad_handler', | 78 '../third_party/crashpad/crashpad/handler/handler.gyp:crashpad_handler', |
80 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', | 79 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', |
81 'chrome_resources.gyp:packed_extra_resources', | 80 'chrome_resources.gyp:packed_extra_resources', |
82 'chrome_resources.gyp:packed_resources', | 81 'chrome_resources.gyp:packed_resources', |
83 ], | 82 ], |
84 'rules': [ | |
85 # TODO(rsesek): Delete this. | |
86 { | |
87 'rule_name': 'pdfsqueeze', | |
88 'extension': 'pdf', | |
89 'inputs': [ | |
90 '<(PRODUCT_DIR)/pdfsqueeze', | |
91 ], | |
92 'outputs': [ | |
93 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | |
94 ], | |
95 'action': ['<(PRODUCT_DIR)/pdfsqueeze', | |
96 '<(RULE_INPUT_PATH)', '<@(_outputs)'], | |
97 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', | |
98 }, | |
99 ], | |
100 'variables': { | 83 'variables': { |
101 'theme_dir_name': '<(branding_path_component)', | 84 'theme_dir_name': '<(branding_path_component)', |
102 }, | 85 }, |
103 'postbuilds': [ | 86 'postbuilds': [ |
104 { | 87 { |
105 # Modify the Info.plist as needed. The script explains why | 88 # Modify the Info.plist as needed. The script explains why |
106 # this is needed. This is also done in the chrome target. | 89 # this is needed. This is also done in the chrome target. |
107 # The framework needs the Breakpad keys if this feature is | 90 # The framework needs the Breakpad keys if this feature is |
108 # enabled. It does not need the Keystone keys; these always | 91 # enabled. It does not need the Keystone keys; these always |
109 # come from the outer application bundle. The framework | 92 # come from the outer application bundle. The framework |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 ], | 248 ], |
266 }], | 249 }], |
267 ['v8_use_external_startup_data==1', { | 250 ['v8_use_external_startup_data==1', { |
268 'mac_bundle_resources': [ | 251 'mac_bundle_resources': [ |
269 '<(PRODUCT_DIR)/natives_blob.bin', | 252 '<(PRODUCT_DIR)/natives_blob.bin', |
270 '<(PRODUCT_DIR)/snapshot_blob.bin', | 253 '<(PRODUCT_DIR)/snapshot_blob.bin', |
271 ], | 254 ], |
272 }], | 255 }], |
273 ], # conditions | 256 ], # conditions |
274 } | 257 } |
OLD | NEW |