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 19 matching lines...) Expand all Loading... |
30 # directory. DYLIB_INSTALL_NAME_BASE and | 30 # directory. DYLIB_INSTALL_NAME_BASE and |
31 # LD_DYLIB_INSTALL_NAME affect -install_name. | 31 # LD_DYLIB_INSTALL_NAME affect -install_name. |
32 'DYLIB_INSTALL_NAME_BASE': | 32 'DYLIB_INSTALL_NAME_BASE': |
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 'LD_RUNPATH_SEARCH_PATHS': [ |
| 41 # To find dylibs such as libexif. |
| 42 '@loader_path/Libraries/.', |
| 43 ], |
40 }, | 44 }, |
41 'includes': [ | 45 'includes': [ |
42 'chrome_nibs.gypi', | 46 'chrome_nibs.gypi', |
43 ], | 47 ], |
44 # TODO(mark): Come up with a fancier way to do this. It should | 48 # 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 | 49 # only be necessary to list framework-Info.plist once, not the |
46 # three times it is listed here. | 50 # three times it is listed here. |
47 'mac_bundle_resources': [ | 51 'mac_bundle_resources': [ |
48 # This image is used to badge the lock icon in the | 52 # This image is used to badge the lock icon in the |
49 # authentication dialogs, such as those used for installation | 53 # authentication dialogs, such as those used for installation |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 'action': [ | 135 'action': [ |
132 'ln', | 136 'ln', |
133 '-fns', | 137 '-fns', |
134 'Versions/Current/Libraries', | 138 'Versions/Current/Libraries', |
135 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries' | 139 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries' |
136 ], | 140 ], |
137 }, | 141 }, |
138 ], | 142 ], |
139 'copies': [ | 143 'copies': [ |
140 { | 144 { |
141 # Copy FFmpeg binaries for audio/video support. | |
142 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', | 145 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
143 'files': [ | 146 'files': [ |
144 '<(PRODUCT_DIR)/ffmpegsumo.so', | 147 '<(PRODUCT_DIR)/ffmpegsumo.so', # Copy FFmpeg binaries for audio/video s
upport. |
| 148 '<(PRODUCT_DIR)/libexif.dylib', |
145 ], | 149 ], |
146 }, | 150 }, |
147 { | 151 { |
148 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', | 152 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', |
149 'files': [], | 153 'files': [], |
150 'conditions': [ | 154 'conditions': [ |
151 ['internal_pdf', { | 155 ['internal_pdf', { |
152 'files': [ | 156 'files': [ |
153 '<(PRODUCT_DIR)/PDF.plugin', | 157 '<(PRODUCT_DIR)/PDF.plugin', |
154 ], | 158 ], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 ], | 311 ], |
308 }], | 312 }], |
309 }], | 313 }], |
310 ['icu_use_data_file_flag==1', { | 314 ['icu_use_data_file_flag==1', { |
311 'mac_bundle_resources': [ | 315 'mac_bundle_resources': [ |
312 '<(PRODUCT_DIR)/icudtl.dat', | 316 '<(PRODUCT_DIR)/icudtl.dat', |
313 ], | 317 ], |
314 }], | 318 }], |
315 ], # conditions | 319 ], # conditions |
316 } | 320 } |
OLD | NEW |