Chromium Code Reviews| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 ['branding == "Chrome"', { | 129 ['branding == "Chrome"', { |
| 130 'files': [ | 130 'files': [ |
| 131 '<(PRODUCT_DIR)/PepperFlash/PepperFlashPlayer.plugin', | 131 '<(PRODUCT_DIR)/PepperFlash/PepperFlashPlayer.plugin', |
| 132 '<(PRODUCT_DIR)/PepperFlash/manifest.json', | 132 '<(PRODUCT_DIR)/PepperFlash/manifest.json', |
| 133 ], | 133 ], |
| 134 }], | 134 }], |
| 135 ], | 135 ], |
| 136 }, | 136 }, |
| 137 { | 137 { |
| 138 # The adapter is not a complete library on its own. It needs the Widevine | 138 # The adapter is not a complete library on its own. It needs the Widevine |
| 139 # CDM to work. | 139 # CDM to work. The CDM and manifest are either the actual Widevine CDM |
| 140 # and manifest or stubs used for testing only. The choice is made within | |
| 141 # the corresponding Widevine targets based on branding. | |
| 140 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/<(widevin e_cdm_path)', | 142 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/<(widevin e_cdm_path)', |
| 141 'files': [], | 143 'files': [ |
|
ddorwin
2016/07/18 18:35:17
Don't we still need a condition for Chrome || enab
wdzierzanowski
2016/07/19 11:35:17
Ah, of course. Thanks for catching it!
wdzierzanowski
2016/07/19 11:35:17
Done.
| |
| 142 'conditions': [ | 144 '<(PRODUCT_DIR)/<(widevine_cdm_path)/libwidevinecdm.dylib', |
|
ddorwin
2016/07/18 18:35:17
It's not clear to me that putting the stub CDM or
wdzierzanowski
2016/07/19 11:35:17
You're right, this must not be shipped.
I'm a bit
wdzierzanowski
2016/07/21 08:47:06
I feel like I need to clarify some bits of what I
| |
| 143 ['branding == "Chrome"', { | 145 '<(PRODUCT_DIR)/<(widevine_cdm_path)/widevinecdmadapter.plugin', |
| 144 'files': [ | |
| 145 '<(PRODUCT_DIR)/<(widevine_cdm_path)/libwidevinecdm.dylib', | |
| 146 '<(PRODUCT_DIR)/<(widevine_cdm_path)/widevinecdmadapter.plugin', | |
| 147 ], | |
| 148 }], | |
| 149 ], | 146 ], |
| 150 }, | 147 }, |
| 151 { | 148 { |
| 152 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/WidevineC dm', | 149 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries/WidevineC dm', |
| 153 'files': [], | 150 'files': [ |
| 154 'conditions': [ | 151 '<(PRODUCT_DIR)/WidevineCdm/manifest.json', |
| 155 ['branding == "Chrome"', { | |
| 156 'files': [ | |
| 157 '<(PRODUCT_DIR)/WidevineCdm/manifest.json', | |
| 158 ], | |
| 159 }], | |
| 160 ], | 152 ], |
| 161 }, | 153 }, |
| 162 { | 154 { |
| 163 # Copy of resources used by tests. | 155 # Copy of resources used by tests. |
| 164 'destination': '<(PRODUCT_DIR)/pseudo_locales', | 156 'destination': '<(PRODUCT_DIR)/pseudo_locales', |
| 165 'files': [ | 157 'files': [ |
| 166 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak' | 158 '<(SHARED_INTERMEDIATE_DIR)/<(pseudo_locales).pak' |
| 167 ], | 159 ], |
| 168 }, | 160 }, |
| 169 { | 161 { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 254 ], | 246 ], |
| 255 }], | 247 }], |
| 256 ['v8_use_external_startup_data==1', { | 248 ['v8_use_external_startup_data==1', { |
| 257 'mac_bundle_resources': [ | 249 'mac_bundle_resources': [ |
| 258 '<(PRODUCT_DIR)/natives_blob.bin', | 250 '<(PRODUCT_DIR)/natives_blob.bin', |
| 259 '<(PRODUCT_DIR)/snapshot_blob.bin', | 251 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 260 ], | 252 ], |
| 261 }], | 253 }], |
| 262 ], # conditions | 254 ], # conditions |
| 263 } | 255 } |
| OLD | NEW |