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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 # common.gypi for more info. | 69 # common.gypi for more info. |
70 ], | 70 ], |
71 'mac_bundle_resources!': [ | 71 'mac_bundle_resources!': [ |
72 'app/framework-Info.plist', | 72 'app/framework-Info.plist', |
73 ], | 73 ], |
74 'dependencies': [ | 74 'dependencies': [ |
75 'app_mode_app', | 75 'app_mode_app', |
76 # Bring in pdfsqueeze and run it on all pdfs | 76 # Bring in pdfsqueeze and run it on all pdfs |
77 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 77 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
78 '../crypto/crypto.gyp:crypto', | 78 '../crypto/crypto.gyp:crypto', |
| 79 '../pdf/pdf.gyp:pdf', |
79 # On Mac, Flash gets put into the framework, so we need this | 80 # On Mac, Flash gets put into the framework, so we need this |
80 # dependency here. flash_player.gyp will copy the Flash bundle | 81 # dependency here. flash_player.gyp will copy the Flash bundle |
81 # into PRODUCT_DIR. | 82 # into PRODUCT_DIR. |
82 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', | 83 '../third_party/adobe/flash/flash_player.gyp:flapper_binaries', |
83 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', | 84 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter', |
84 'chrome_resources.gyp:packed_extra_resources', | 85 'chrome_resources.gyp:packed_extra_resources', |
85 'chrome_resources.gyp:packed_resources', | 86 'chrome_resources.gyp:packed_resources', |
86 ], | 87 ], |
87 'rules': [ | 88 'rules': [ |
88 { | 89 { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 'copies': [ | 140 'copies': [ |
140 { | 141 { |
141 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 142 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
142 'files': [ | 143 'files': [ |
143 '<(PRODUCT_DIR)/exif.so', | 144 '<(PRODUCT_DIR)/exif.so', |
144 '<(PRODUCT_DIR)/ffmpegsumo.so', | 145 '<(PRODUCT_DIR)/ffmpegsumo.so', |
145 ], | 146 ], |
146 }, | 147 }, |
147 { | 148 { |
148 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', | 149 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', |
149 'files': [], | 150 'files': [ |
| 151 '<(PRODUCT_DIR)/PDF.plugin', |
| 152 ], |
150 'conditions': [ | 153 'conditions': [ |
151 ['internal_pdf', { | |
152 'files': [ | |
153 '<(PRODUCT_DIR)/PDF.plugin', | |
154 ], | |
155 }], | |
156 ['disable_nacl!=1', { | 154 ['disable_nacl!=1', { |
157 'files': [ | 155 'files': [ |
158 '<(PRODUCT_DIR)/ppGoogleNaClPluginChrome.plugin', | 156 '<(PRODUCT_DIR)/ppGoogleNaClPluginChrome.plugin', |
159 ], | 157 ], |
160 'conditions': [ | 158 'conditions': [ |
161 ['target_arch=="x64"', { | 159 ['target_arch=="x64"', { |
162 'files': [ | 160 'files': [ |
163 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | 161 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
164 ], | 162 ], |
165 }, { | 163 }, { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 'postbuild_name': 'Symlink Frameworks', | 269 'postbuild_name': 'Symlink Frameworks', |
272 'action': [ | 270 'action': [ |
273 'ln', | 271 'ln', |
274 '-fns', | 272 '-fns', |
275 'Versions/Current/Frameworks', | 273 'Versions/Current/Frameworks', |
276 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' | 274 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
277 ], | 275 ], |
278 }, | 276 }, |
279 ], | 277 ], |
280 }], # mac_keystone | 278 }], # mac_keystone |
281 ['internal_pdf', { | |
282 'dependencies': [ | |
283 '../pdf/pdf.gyp:pdf', | |
284 ], | |
285 }], | |
286 ['debug_devtools==1', { | 279 ['debug_devtools==1', { |
287 'postbuilds': [{ | 280 'postbuilds': [{ |
288 'postbuild_name': 'Copy inspector files', | 281 'postbuild_name': 'Copy inspector files', |
289 'action': [ | 282 'action': [ |
290 'ln', | 283 'ln', |
291 '-fs', | 284 '-fs', |
292 '${BUILT_PRODUCTS_DIR}/resources/inspector', | 285 '${BUILT_PRODUCTS_DIR}/resources/inspector', |
293 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', | 286 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources', |
294 ], | 287 ], |
295 }], | 288 }], |
(...skipping 11 matching lines...) Expand all Loading... |
307 ], | 300 ], |
308 }], | 301 }], |
309 }], | 302 }], |
310 ['icu_use_data_file_flag==1', { | 303 ['icu_use_data_file_flag==1', { |
311 'mac_bundle_resources': [ | 304 'mac_bundle_resources': [ |
312 '<(PRODUCT_DIR)/icudtl.dat', | 305 '<(PRODUCT_DIR)/icudtl.dat', |
313 ], | 306 ], |
314 }], | 307 }], |
315 ], # conditions | 308 ], # conditions |
316 } | 309 } |
OLD | NEW |