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 22 matching lines...) Expand all Loading... |
33 '@executable_path/../Versions/<(version_full)', | 33 '@executable_path/../Versions/<(version_full)', |
34 # See /build/mac/copy_framework_unversioned.sh for | 34 # See /build/mac/copy_framework_unversioned.sh for |
35 # information on LD_DYLIB_INSTALL_NAME. | 35 # information on LD_DYLIB_INSTALL_NAME. |
36 'LD_DYLIB_INSTALL_NAME': | 36 'LD_DYLIB_INSTALL_NAME': |
37 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NA
ME)', | 37 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NA
ME)', |
38 | 38 |
39 'INFOPLIST_FILE': 'app/framework-Info.plist', | 39 'INFOPLIST_FILE': 'app/framework-Info.plist', |
40 }, | 40 }, |
41 'includes': [ | 41 'includes': [ |
42 'chrome_nibs.gypi', | 42 'chrome_nibs.gypi', |
| 43 '../media/cdm_paths.gypi', |
43 ], | 44 ], |
44 # TODO(mark): Come up with a fancier way to do this. It should | 45 # TODO(mark): Come up with a fancier way to do this. It should |
45 # only be necessary to list framework-Info.plist once, not the | 46 # only be necessary to list framework-Info.plist once, not the |
46 # three times it is listed here. | 47 # three times it is listed here. |
47 'mac_bundle_resources': [ | 48 'mac_bundle_resources': [ |
48 # This image is used to badge the lock icon in the | 49 # This image is used to badge the lock icon in the |
49 # authentication dialogs, such as those used for installation | 50 # authentication dialogs, such as those used for installation |
50 # from disk image and Keystone promotion (if so enabled). It | 51 # 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 | 52 # needs to exist as a file on disk and not just something in a |
52 # resource bundle because that's the interface that | 53 # resource bundle because that's the interface that |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ['branding == "Chrome"', { | 128 ['branding == "Chrome"', { |
128 'files': [ | 129 'files': [ |
129 '<(PRODUCT_DIR)/PepperFlash/PepperFlashPlayer.plugin', | 130 '<(PRODUCT_DIR)/PepperFlash/PepperFlashPlayer.plugin', |
130 ], | 131 ], |
131 }], | 132 }], |
132 ], | 133 ], |
133 }, | 134 }, |
134 { | 135 { |
135 # The adapter is not a complete library on its own. It needs the Widevine | 136 # The adapter is not a complete library on its own. It needs the Widevine |
136 # CDM to work. | 137 # CDM to work. |
137 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/', | 138 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/<(widevin
e_cdm_path)', |
138 'files': [], | 139 'files': [], |
139 'conditions': [ | 140 'conditions': [ |
140 ['branding == "Chrome"', { | 141 ['branding == "Chrome"', { |
141 'files': [ | 142 'files': [ |
142 '<(PRODUCT_DIR)/widevinecdmadapter.plugin', | 143 '<(PRODUCT_DIR)/<(widevine_cdm_path)/widevinecdmadapter.plugin', |
143 ], | 144 ], |
144 }], | 145 }], |
145 ], | 146 ], |
146 }, | 147 }, |
147 { | 148 { |
148 # Copy of resources used by tests. | 149 # Copy of resources used by tests. |
149 'destination': '<(PRODUCT_DIR)/pseudo_locales', | 150 'destination': '<(PRODUCT_DIR)/pseudo_locales', |
150 'files': [ | 151 'files': [ |
151 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak' | 152 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak' |
152 ], | 153 ], |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 ], | 249 ], |
249 }], | 250 }], |
250 ['v8_use_external_startup_data==1', { | 251 ['v8_use_external_startup_data==1', { |
251 'mac_bundle_resources': [ | 252 'mac_bundle_resources': [ |
252 '<(PRODUCT_DIR)/natives_blob.bin', | 253 '<(PRODUCT_DIR)/natives_blob.bin', |
253 '<(PRODUCT_DIR)/snapshot_blob.bin', | 254 '<(PRODUCT_DIR)/snapshot_blob.bin', |
254 ], | 255 ], |
255 }], | 256 }], |
256 ], # conditions | 257 ], # conditions |
257 } | 258 } |
OLD | NEW |