Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/chrome_dll_bundle.gypi

Issue 211503005: Fixup mojo dylibs to support mojo in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only add mac to supported mojo platforms Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 # but this seems like a really good place to store them. 121 # but this seems like a really good place to store them.
122 'postbuild_name': 'Tweak Info.plist', 122 'postbuild_name': 'Tweak Info.plist',
123 'action': ['<(tweak_info_plist_path)', 123 'action': ['<(tweak_info_plist_path)',
124 '--breakpad=<(mac_breakpad_compiled_in)', 124 '--breakpad=<(mac_breakpad_compiled_in)',
125 '--breakpad_uploads=<(mac_breakpad_uploads)', 125 '--breakpad_uploads=<(mac_breakpad_uploads)',
126 '--keystone=0', 126 '--keystone=0',
127 '--scm=1', 127 '--scm=1',
128 '--branding=<(branding)'], 128 '--branding=<(branding)'],
129 }, 129 },
130 { 130 {
131 # Changes the load command of libmojo_system.dylib to come from
132 # the Libraries folder.
133 'postbuild_name': 'Update load of libmojo_system.dylib',
134 'action': ['install_name_tool',
135 '-change',
136 '@loader_path/libmojo_system.dylib',
137 '@loader_path/Libraries/libmojo_system.dylib',
138 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'],
139 },
140 {
141 # Changes the id of libmojo_system.dylib to come from the Libraries folder
142 # to be consistent with the load command.
143 'postbuild_name': 'Update id of libmojo_system.dylib',
144 'action': ['install_name_tool',
145 '-id',
146 '@loader_path/Libraries/libmojo_system.dylib',
147 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Libraries/libmoj o_system.dylib'],
148 },
149 {
131 'postbuild_name': 'Symlink Libraries', 150 'postbuild_name': 'Symlink Libraries',
132 'action': [ 151 'action': [
133 'ln', 152 'ln',
134 '-fns', 153 '-fns',
135 'Versions/Current/Libraries', 154 'Versions/Current/Libraries',
136 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries' 155 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries'
137 ], 156 ],
138 }, 157 },
139 ], 158 ],
140 'copies': [ 159 'copies': [
141 { 160 {
142 # Copy FFmpeg binaries for audio/video support. 161 # Copy FFmpeg binaries for audio/video support and mojo.
143 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', 162 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries',
144 'files': [ 163 'files': [
145 '<(PRODUCT_DIR)/ffmpegsumo.so', 164 '<(PRODUCT_DIR)/ffmpegsumo.so',
165 '<(PRODUCT_DIR)/libmojo_system.dylib',
146 ], 166 ],
147 }, 167 },
148 { 168 {
149 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins', 169 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins',
150 'files': [], 170 'files': [],
151 'conditions': [ 171 'conditions': [
152 ['internal_pdf', { 172 ['internal_pdf', {
153 'files': [ 173 'files': [
154 '<(PRODUCT_DIR)/PDF.plugin', 174 '<(PRODUCT_DIR)/PDF.plugin',
155 ], 175 ],
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 ], 328 ],
309 }], 329 }],
310 }], 330 }],
311 ['icu_use_data_file_flag==1', { 331 ['icu_use_data_file_flag==1', {
312 'mac_bundle_resources': [ 332 'mac_bundle_resources': [
313 '<(PRODUCT_DIR)/icudtl.dat', 333 '<(PRODUCT_DIR)/icudtl.dat',
314 ], 334 ],
315 }], 335 }],
316 ], # conditions 336 ], # conditions
317 } 337 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | content/content_shell.gypi » ('j') | mojo/mojo_public.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698