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