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

Side by Side Diff: remoting/remoting.gyp

Issue 10171020: Preference Pane for chromoting on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix plist MainNibFile entry Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 1
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 'variables': { 7 'variables': {
8 # TODO(dmaclach): can we pick this up some other way? Right now it's 8 # TODO(dmaclach): can we pick this up some other way? Right now it's
9 # duplicated from chrome.gyp 9 # duplicated from chrome.gyp
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 }, 268 },
269 'mac_bundle_resources': [ 269 'mac_bundle_resources': [
270 'host/installer/mac/uninstaller/remoting_uninstaller.icns', 270 'host/installer/mac/uninstaller/remoting_uninstaller.icns',
271 'host/installer/mac/uninstaller/remoting_uninstaller.xib', 271 'host/installer/mac/uninstaller/remoting_uninstaller.xib',
272 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 272 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
273 ], 273 ],
274 'mac_bundle_resources!': [ 274 'mac_bundle_resources!': [
275 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 275 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
276 ], 276 ],
277 }, # end of target 'remoting_host_uninstaller' 277 }, # end of target 'remoting_host_uninstaller'
278 {
279 'target_name': 'remoting_host_prefpane',
280 'type': 'loadable_module',
281 'mac_bundle': 1,
282 'product_extension': 'prefPane',
283 'dependencies': [
284 'remoting_base',
285 'remoting_host',
286 ],
287 'sources': [
288 'host/me2me_preference_pane.mm',
289 ],
290 'link_settings': {
291 'libraries': [
292 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework',
293 ],
294 },
295 'xcode_settings': {
296 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist',
297 'INFOPLIST_PREPROCESS': 'YES',
298 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun dle_id)" COPYRIGHT_BY="<(copyright_by)"',
299 },
300 'mac_bundle_resources': [
301 'host/me2me_preference_pane.xib',
302 'host/me2me_preference_pane-Info.plist',
303 'resources/chromoting128.png',
304 ],
305 'mac_bundle_resources!': [
306 'host/me2me_preference_pane-Info.plist',
307 ],
308 'conditions': [
309 ['mac_breakpad==1', {
310 'variables': {
311 # A real .dSYM is needed for dump_syms to operate on.
312 'mac_real_dsym': 1,
313 },
314 }],
315 ['branding == "Chrome"', {
316 'variables': {
317 'copyright_by': 'Google Inc.',
318 'bundle_id': 'com.google.chromeremotedesktop.preferences',
319 'bundle_name': 'Chrome Remote Desktop Host Preferences',
320 },
321 }, { # else branding!="Chrome"
322 'variables': {
323 'copyright_by': 'The Chromium Authors.',
324 'bundle_id': 'org.chromium.remoting.preferences',
325 'bundle_name': 'Chromoting Host Preferences',
326 },
327 }],
328 ], # conditions
329 }, # end of target 'remoting_host_prefpane'
278 ], # end of 'targets' 330 ], # end of 'targets'
279 }], # 'OS=="mac"' 331 }], # 'OS=="mac"'
280 332
281 ['OS=="win"', { 333 ['OS=="win"', {
282 'targets': [ 334 'targets': [
283 { 335 {
284 'target_name': 'remoting_elevated_controller', 336 'target_name': 'remoting_elevated_controller',
285 'type': 'static_library', 337 'type': 'static_library',
286 'sources': [ 338 'sources': [
287 'host/elevated_controller.idl', 339 'host/elevated_controller.idl',
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 'host_service_name': 'Chromoting Host Service', 1275 'host_service_name': 'Chromoting Host Service',
1224 'host_uninstaller_name': 'Chromoting Host Uninstaller', 1276 'host_uninstaller_name': 'Chromoting Host Uninstaller',
1225 'bundle_prefix': 'org.chromium.pkg', 1277 'bundle_prefix': 'org.chromium.pkg',
1226 }, 1278 },
1227 }], 1279 }],
1228 ['OS=="mac"', { 1280 ['OS=="mac"', {
1229 'sources': [ 1281 'sources': [
1230 '<@(remoting_host_installer_mac_files)', 1282 '<@(remoting_host_installer_mac_files)',
1231 ], 1283 ],
1232 'dependencies': [ 1284 'dependencies': [
1285 'remoting_host_prefpane',
1233 'remoting_host_uninstaller', 1286 'remoting_host_uninstaller',
1234 ], 1287 ],
1235 }], # OS=="mac" 1288 }], # OS=="mac"
1236 ['OS=="win"', { 1289 ['OS=="win"', {
1237 'dependencies': [ 1290 'dependencies': [
1238 # TODO(garykac) 1291 # TODO(garykac)
1239 ], 1292 ],
1240 }], # OS=="win" 1293 }], # OS=="win"
1241 ], # conditions 1294 ], # conditions
1242 'actions': [ 1295 'actions': [
1243 { 1296 {
1244 'action_name': 'Zip installer files for signing', 1297 'action_name': 'Zip installer files for signing',
1245 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', 1298 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host',
1246 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', 1299 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
1247 'generated_files': [], 1300 'generated_files': [],
1248 'generated_files_dst': [], 1301 'generated_files_dst': [],
1249 'source_files_root': '', 1302 'source_files_root': '',
1250 'source_files': [], 1303 'source_files': [],
1251 'defs': [], 1304 'defs': [],
1252 'conditions': [ 1305 'conditions': [
1253 ['OS=="mac"', { 1306 ['OS=="mac"', {
1254 'generated_files': [ 1307 'generated_files': [
1308 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane',
1255 '<(PRODUCT_DIR)/remoting_me2me_host', 1309 '<(PRODUCT_DIR)/remoting_me2me_host',
1256 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', 1310 '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
1257 ], 1311 ],
1258 'generated_files_dst': [ 1312 'generated_files_dst': [
1313 'PreferencePanes/org.chromium.chromoting.prefPane',
1259 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', 1314 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
1260 'Applications/<(host_uninstaller_name).app', 1315 'Applications/<(host_uninstaller_name).app',
1261 ], 1316 ],
1262 'source_files_root': '<(remoting_host_installer_mac_root)', 1317 'source_files_root': '<(remoting_host_installer_mac_root)',
1263 'source_files': [ 1318 'source_files': [
1264 '<@(remoting_host_installer_mac_files)', 1319 '<@(remoting_host_installer_mac_files)',
1265 ], 1320 ],
1266 'defs': [ 1321 'defs': [
1267 'VERSION=<(version_full)', 1322 'VERSION=<(version_full)',
1268 'VERSION_SHORT=<(version_short)', 1323 'VERSION_SHORT=<(version_short)',
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 '../base/allocator/allocator.gyp:allocator', 1687 '../base/allocator/allocator.gyp:allocator',
1633 ], 1688 ],
1634 }, 1689 },
1635 ], 1690 ],
1636 ], 1691 ],
1637 }], 1692 }],
1638 ], # end of 'conditions' 1693 ], # end of 'conditions'
1639 }, # end of target 'remoting_unittests' 1694 }, # end of target 'remoting_unittests'
1640 ], # end of targets 1695 ], # end of targets
1641 } 1696 }
OLDNEW
« remoting/host/me2me_preference_pane.mm ('K') | « remoting/host/plugin/daemon_controller_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698