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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 # needs to exist as a file on disk and not just something in a | 52 # needs to exist as a file on disk and not just something in a |
53 # resource bundle because that's the interface that | 53 # resource bundle because that's the interface that |
54 # Authorization Services uses. Also, Authorization Services | 54 # Authorization Services uses. Also, Authorization Services |
55 # can't deal with .icns files. | 55 # can't deal with .icns files. |
56 'app/theme/default_100_percent/<(theme_dir_name)/product_logo_32.png', | 56 'app/theme/default_100_percent/<(theme_dir_name)/product_logo_32.png', |
57 | 57 |
58 'app/framework-Info.plist', | 58 'app/framework-Info.plist', |
59 '<@(mac_all_xibs)', | 59 '<@(mac_all_xibs)', |
60 'browser/mac/install.sh', | 60 'browser/mac/install.sh', |
61 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', | 61 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', |
| 62 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_percent.pak', |
62 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 63 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
63 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | 64 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', |
64 # Note: pseudo_locales are generated via the packed_resources | 65 # Note: pseudo_locales are generated via the packed_resources |
65 # dependency but not copied to the final target. See | 66 # dependency but not copied to the final target. See |
66 # common.gypi for more info. | 67 # common.gypi for more info. |
67 ], | 68 ], |
68 'mac_bundle_resources!': [ | 69 'mac_bundle_resources!': [ |
69 'app/framework-Info.plist', | 70 'app/framework-Info.plist', |
70 ], | 71 ], |
71 'dependencies': [ | 72 'dependencies': [ |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 'ln', | 237 'ln', |
237 '-fs', | 238 '-fs', |
238 '${BUILT_PRODUCTS_DIR}/resources/inspector', | 239 '${BUILT_PRODUCTS_DIR}/resources/inspector', |
239 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', | 240 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', |
240 ], | 241 ], |
241 }], | 242 }], |
242 }], | 243 }], |
243 ['enable_hidpi==1', { | 244 ['enable_hidpi==1', { |
244 'mac_bundle_resources': [ | 245 'mac_bundle_resources': [ |
245 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', | 246 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak', |
246 ], | |
247 }], | |
248 ['enable_topchrome_md==1', { | |
249 'mac_bundle_resources': [ | |
250 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_100_percent.pak', | |
251 ], | |
252 }], | |
253 ['enable_topchrome_md==1 and enable_hidpi==1', { | |
254 'mac_bundle_resources': [ | |
255 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_percent.pak', | 247 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_material_200_percent.pak', |
256 ], | 248 ], |
257 }], | 249 }], |
258 ['icu_use_data_file_flag==1', { | 250 ['icu_use_data_file_flag==1', { |
259 'mac_bundle_resources': [ | 251 'mac_bundle_resources': [ |
260 '<(PRODUCT_DIR)/icudtl.dat', | 252 '<(PRODUCT_DIR)/icudtl.dat', |
261 ], | 253 ], |
262 }], | 254 }], |
263 ['v8_use_external_startup_data==1', { | 255 ['v8_use_external_startup_data==1', { |
264 'mac_bundle_resources': [ | 256 'mac_bundle_resources': [ |
265 '<(PRODUCT_DIR)/natives_blob.bin', | 257 '<(PRODUCT_DIR)/natives_blob.bin', |
266 '<(PRODUCT_DIR)/snapshot_blob.bin', | 258 '<(PRODUCT_DIR)/snapshot_blob.bin', |
267 ], | 259 ], |
268 }], | 260 }], |
269 ], # conditions | 261 ], # conditions |
270 } | 262 } |
OLD | NEW |