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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 'browser/mac/install.sh', | 59 'browser/mac/install.sh', |
60 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', | 60 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', |
| 61 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_percent.pak', |
61 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 62 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
62 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | 63 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
63 # Note: pseudo_locales are generated via the packed_resources | 64 # Note: pseudo_locales are generated via the packed_resources |
64 # dependency but not copied to the final target. See | 65 # dependency but not copied to the final target. See |
65 # common.gypi for more info. | 66 # common.gypi for more info. |
66 ], | 67 ], |
67 'mac_bundle_resources!': [ | 68 'mac_bundle_resources!': [ |
68 'app/framework-Info.plist', | 69 'app/framework-Info.plist', |
69 ], | 70 ], |
70 'dependencies': [ | 71 'dependencies': [ |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 'ln', | 224 'ln', |
224 '-fs', | 225 '-fs', |
225 '${BUILT_PRODUCTS_DIR}/resources/inspector', | 226 '${BUILT_PRODUCTS_DIR}/resources/inspector', |
226 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', | 227 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', |
227 ], | 228 ], |
228 }], | 229 }], |
229 }], | 230 }], |
230 ['enable_hidpi==1', { | 231 ['enable_hidpi==1', { |
231 'mac_bundle_resources': [ | 232 'mac_bundle_resources': [ |
232 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', | 233 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', |
233 ], | |
234 }], | |
235 ['enable_topchrome_md==1', { | |
236 'mac_bundle_resources': [ | |
237 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_percent.pak', | |
238 ], | |
239 }], | |
240 ['enable_topchrome_md==1 and enable_hidpi==1', { | |
241 'mac_bundle_resources': [ | |
242 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_percent.pak', | 234 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_percent.pak', |
243 ], | 235 ], |
244 }], | 236 }], |
245 ['icu_use_data_file_flag==1', { | 237 ['icu_use_data_file_flag==1', { |
246 'mac_bundle_resources': [ | 238 'mac_bundle_resources': [ |
247 '<(PRODUCT_DIR)/icudtl.dat', | 239 '<(PRODUCT_DIR)/icudtl.dat', |
248 ], | 240 ], |
249 }], | 241 }], |
250 ['v8_use_external_startup_data==1', { | 242 ['v8_use_external_startup_data==1', { |
251 'mac_bundle_resources': [ | 243 'mac_bundle_resources': [ |
252 '<(PRODUCT_DIR)/natives_blob.bin', | 244 '<(PRODUCT_DIR)/natives_blob.bin', |
253 '<(PRODUCT_DIR)/snapshot_blob.bin', | 245 '<(PRODUCT_DIR)/snapshot_blob.bin', |
254 ], | 246 ], |
255 }], | 247 }], |
256 ], # conditions | 248 ], # conditions |
257 } | 249 } |
OLD | NEW |