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

Side by Side Diff: remoting/remoting.gyp

Issue 10310089: Make me2me_host a Mac bundle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « remoting/host/remoting_me2me_host-Info.plist ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 5 {
6 'variables': { 6 'variables': {
7 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 # Use consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 }, 313 },
314 }], 314 }],
315 ], # conditions 315 ], # conditions
316 'actions': [ 316 'actions': [
317 { 317 {
318 'action_name': 'Zip installer files for signing', 318 'action_name': 'Zip installer files for signing',
319 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', 319 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st',
320 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', 320 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
321 'generated_files': [ 321 'generated_files': [
322 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', 322 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane',
323 '<(PRODUCT_DIR)/remoting_me2me_host', 323 '<(PRODUCT_DIR)/remoting_me2me_host.app',
324 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', 324 '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
325 ], 325 ],
326 'generated_files_dst': [ 326 'generated_files_dst': [
327 'PreferencePanes/org.chromium.chromoting.prefPane', 327 'PreferencePanes/org.chromium.chromoting.prefPane',
328 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', 328 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app',
329 'Applications/<(host_uninstaller_name).app', 329 'Applications/<(host_uninstaller_name).app',
330 ], 330 ],
331 'source_files': [ 331 'source_files': [
332 '<@(remoting_host_installer_mac_files)', 332 '<@(remoting_host_installer_mac_files)',
333 ], 333 ],
334 'defs': [ 334 'defs': [
335 'VERSION=<(version_full)', 335 'VERSION=<(version_full)',
336 'VERSION_SHORT=<(version_short)', 336 'VERSION_SHORT=<(version_short)',
337 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")', 337 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")',
338 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")', 338 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")',
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 'host/sighup_listener_mac.h', 1341 'host/sighup_listener_mac.h',
1342 'host/remoting_me2me_host.cc', 1342 'host/remoting_me2me_host.cc',
1343 ], 1343 ],
1344 'conditions': [ 1344 'conditions': [
1345 ['os_posix==1', { 1345 ['os_posix==1', {
1346 'sources': [ 1346 'sources': [
1347 'host/host_event_logger_posix.cc', 1347 'host/host_event_logger_posix.cc',
1348 ], 1348 ],
1349 }], 1349 }],
1350 ['OS=="mac"', { 1350 ['OS=="mac"', {
1351 'sources': [ 1351 'mac_bundle': 1,
1352 'host/remoting_me2me_host-Info.plist',
1353 ],
1354 'conditions': [ 1352 'conditions': [
1355 ['branding == "Chrome"', { 1353 ['branding == "Chrome"', {
1356 'variables': { 1354 'variables': {
1357 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host', 1355 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host',
1358 }, 1356 },
1359 }, { # else branding!="Chrome" 1357 }, { # else branding!="Chrome"
1360 'variables': { 1358 'variables': {
1361 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', 1359 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host',
1362 }, 1360 },
1363 }], 1361 }],
1364 ], 1362 ],
1365 'xcode_settings': { 1363 'xcode_settings': {
1366 'OTHER_LDFLAGS': [ 1364 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist',
1367 '-Wl,-sectcreate,__TEXT,__info_plist,<(INTERMEDIATE_DIR)/remoting_ me2me_host-Info.plist' 1365 'INFOPLIST_PREPROCESS': 'YES',
1368 ], 1366 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)"',
1369 }, 1367 },
1370 'rules': [ 1368 'mac_bundle_resources': [
1371 { 1369 'host/remoting_me2me_host-Info.plist',
1372 'rule_name': 'brand_mac', 1370 ],
1373 'extension': 'plist', 1371 'mac_bundle_resources!': [
1374 'inputs': [ ], 1372 'host/remoting_me2me_host-Info.plist',
1375 'outputs': [
1376 '<(INTERMEDIATE_DIR)/remoting_me2me_host-Info.plist',
1377 ],
1378 'action': [
1379 'python', '<(version_py_path)',
1380 '-i', 'host/remoting_me2me_host-Info.plist',
1381 '-o', '<(INTERMEDIATE_DIR)/remoting_me2me_host-Info.plist',
1382 '-e', 'VERSION_FULL="<(version_full)"',
1383 '-e', 'VERSION_SHORT="<(version_short)"',
1384 '-e', 'BUNDLE_ID="<(host_bundle_id)"',
1385 ],
1386 'process_outputs_as_sources': 1,
1387 'message': 'Branding and versioning remoting_me2me_host.',
1388 },
1389 ], 1373 ],
1390 }], 1374 }],
1391 ['OS=="win"', { 1375 ['OS=="win"', {
1392 'dependencies': [ 1376 'dependencies': [
1393 '../ipc/ipc.gyp:ipc', 1377 '../ipc/ipc.gyp:ipc',
1394 'remoting_version_resources', 1378 'remoting_version_resources',
1395 ], 1379 ],
1396 'sources': [ 1380 'sources': [
1397 'host/host_event_logger_win.cc', 1381 'host/host_event_logger_win.cc',
1398 'host/remoting_host_messages.mc', 1382 'host/remoting_host_messages.mc',
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 '../base/allocator/allocator.gyp:allocator', 1743 '../base/allocator/allocator.gyp:allocator',
1760 ], 1744 ],
1761 }, 1745 },
1762 ], 1746 ],
1763 ], 1747 ],
1764 }], 1748 }],
1765 ], # end of 'conditions' 1749 ], # end of 'conditions'
1766 }, # end of target 'remoting_unittests' 1750 }, # end of target 'remoting_unittests'
1767 ], # end of targets 1751 ], # end of targets
1768 } 1752 }
OLDNEW
« no previous file with comments | « remoting/host/remoting_me2me_host-Info.plist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698