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