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

Unified Diff: remoting/remoting.gyp

Issue 10079027: [Chromoting] Add target to build archive for me2me host installer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add .exe to win target Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/installer/build-installer-archive.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index ff2b26229e96282c1797fa55f92baa3c4ee1aa30..38a8217ef33d736bb01a2a8b7955d275b2621e8d 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -166,6 +166,18 @@
'resources/infographic_remote_assistance.png',
'resources/tick.png',
],
+ 'remoting_host_installer_mac_root': 'host/installer/mac/',
+ 'remoting_host_installer_mac_files': [
+ #'host/installer/mac/ChromeRemoteDesktop.packproj',
+ 'host/installer/mac/Chromoting.packproj',
+ 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist',
+ 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.json',
+ 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh',
+ 'host/installer/mac/Scripts/keystone_install.sh',
+ 'host/installer/mac/Scripts/remoting_postflight.sh',
+ 'host/installer/mac/Scripts/uninstall.sh',
+ #'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg.zip',
+ ],
},
'target_defaults': {
@@ -1079,6 +1091,87 @@
],
}, # end of target 'remoting_host_keygen'
+ # This packages up the files needed for the remoting host installer so
+ # they can be sent off to be signed.
+ # We don't build an installer here because we don't have signed binaries.
+ {
+ 'target_name': 'remoting_me2me_host_archive',
+ 'type': 'none',
+ 'dependencies': [
+ 'remoting_me2me_host',
+ ],
+ 'sources': [
+ 'host/installer/build-installer-archive.py',
+ ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'sources': [
+ '<@(remoting_host_installer_mac_files)',
+ ],
+ }], # OS=="mac"
+ ['OS=="win"', {
+ 'dependencies': [
+ # TODO(garykac)
+ ],
+ }], # OS=="win"
+ ], # conditions
+ 'actions': [
+ {
+ 'action_name': 'Zip installer files for signing',
+ 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host',
+ 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
+ 'generated_files': [],
+ 'generated_files_dst': [],
+ 'source_files_root': '',
+ 'source_files': [],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'generated_files': [
+ '<(PRODUCT_DIR)/remoting_me2me_host',
+ ],
+ 'generated_files_dst': [
+ 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
+ ],
+ 'source_files_root': '<(remoting_host_installer_mac_root)',
+ 'source_files': [
+ '<@(remoting_host_installer_mac_files)',
+ ],
+ }], # OS=="mac"
+ ['OS=="win"', {
+ 'generated_files': [
+ '<(PRODUCT_DIR)/remoting_me2me_host.exe',
+ ],
+ }], # OS=="win"
+ ['OS=="linux"', {
+ 'generated_files': [
+ '<(PRODUCT_DIR)/remoting_me2me_host',
+ ],
+ }], # OS=="linux"
+ ], # conditions
+ 'inputs': [
+ 'host/installer/build-installer-archive.py',
+ '<@(_source_files)',
+ ],
+ 'outputs': [
+ '<(_zip_path)',
+ ],
+ 'action': [
+ 'python',
+ 'host/installer/build-installer-archive.py',
+ '<(_temp_dir)',
+ '<(_zip_path)',
+ '<(_source_files_root)',
+ '--source-files',
+ '<@(_source_files)',
+ '--generated-files',
+ '<@(_generated_files)',
+ '--generated-files-dst',
+ '<@(_generated_files_dst)',
+ ],
+ },
+ ], # actions
+ }, # end of target 'remoting_me2me_host_archive'
+
{
'target_name': 'remoting_jingle_glue',
'type': 'static_library',
« no previous file with comments | « remoting/host/installer/build-installer-archive.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698