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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 # authentication dialogs, such as those used for installation | 49 # authentication dialogs, such as those used for installation |
50 # from disk image and Keystone promotion (if so enabled). It | 50 # from disk image and Keystone promotion (if so enabled). It |
51 # needs to exist as a file on disk and not just something in a | 51 # needs to exist as a file on disk and not just something in a |
52 # resource bundle because that's the interface that | 52 # resource bundle because that's the interface that |
53 # Authorization Services uses. Also, Authorization Services | 53 # Authorization Services uses. Also, Authorization Services |
54 # can't deal with .icns files. | 54 # can't deal with .icns files. |
55 'app/theme/default_100_percent/<(theme_dir_name)/product_logo_32.png', | 55 'app/theme/default_100_percent/<(theme_dir_name)/product_logo_32.png', |
56 | 56 |
57 'app/framework-Info.plist', | 57 'app/framework-Info.plist', |
58 '<@(mac_all_xibs)', | 58 '<@(mac_all_xibs)', |
59 'app/theme/find_next_Template.pdf', | |
60 'app/theme/find_prev_Template.pdf', | |
61 'browser/mac/install.sh', | 59 'browser/mac/install.sh', |
62 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', | 60 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', |
63 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 61 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
64 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | 62 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
65 # Note: pseudo_locales are generated via the packed_resources | 63 # Note: pseudo_locales are generated via the packed_resources |
66 # dependency but not copied to the final target. See | 64 # dependency but not copied to the final target. See |
67 # common.gypi for more info. | 65 # common.gypi for more info. |
68 ], | 66 ], |
69 'mac_bundle_resources!': [ | 67 'mac_bundle_resources!': [ |
70 'app/framework-Info.plist', | 68 'app/framework-Info.plist', |
71 ], | 69 ], |
72 'dependencies': [ | 70 'dependencies': [ |
73 'app_mode_app', | 71 'app_mode_app', |
74 # Bring in pdfsqueeze and run it on all pdfs | 72 # Bring in pdfsqueeze and run it on all pdfs |
75 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 73 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
76 '../crypto/crypto.gyp:crypto', | 74 '../crypto/crypto.gyp:crypto', |
77 # On Mac, Flash gets put into the framework, so we need this | 75 # On Mac, Flash gets put into the framework, so we need this |
78 # dependency here. flash_player.gyp will copy the Flash bundle | 76 # dependency here. flash_player.gyp will copy the Flash bundle |
79 # into PRODUCT_DIR. | 77 # into PRODUCT_DIR. |
80 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', | 78 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', |
81 '../third_party/crashpad/crashpad/handler/handler.gyp:crashpad_handler', | 79 '../third_party/crashpad/crashpad/handler/handler.gyp:crashpad_handler', |
82 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', | 80 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', |
83 'chrome_resources.gyp:packed_extra_resources', | 81 'chrome_resources.gyp:packed_extra_resources', |
84 'chrome_resources.gyp:packed_resources', | 82 'chrome_resources.gyp:packed_resources', |
85 ], | 83 ], |
86 'rules': [ | 84 'rules': [ |
| 85 # TODO(rsesek): Delete this. |
87 { | 86 { |
88 'rule_name': 'pdfsqueeze', | 87 'rule_name': 'pdfsqueeze', |
89 'extension': 'pdf', | 88 'extension': 'pdf', |
90 'inputs': [ | 89 'inputs': [ |
91 '<(PRODUCT_DIR)/pdfsqueeze', | 90 '<(PRODUCT_DIR)/pdfsqueeze', |
92 ], | 91 ], |
93 'outputs': [ | 92 'outputs': [ |
94 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 93 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
95 ], | 94 ], |
96 'action': ['<(PRODUCT_DIR)/pdfsqueeze', | 95 'action': ['<(PRODUCT_DIR)/pdfsqueeze', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 ], | 265 ], |
267 }], | 266 }], |
268 ['v8_use_external_startup_data==1', { | 267 ['v8_use_external_startup_data==1', { |
269 'mac_bundle_resources': [ | 268 'mac_bundle_resources': [ |
270 '<(PRODUCT_DIR)/natives_blob.bin', | 269 '<(PRODUCT_DIR)/natives_blob.bin', |
271 '<(PRODUCT_DIR)/snapshot_blob.bin', | 270 '<(PRODUCT_DIR)/snapshot_blob.bin', |
272 ], | 271 ], |
273 }], | 272 }], |
274 ], # conditions | 273 ], # conditions |
275 } | 274 } |
OLD | NEW |