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 { | 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 'webapp/xhr.js', | 159 'webapp/xhr.js', |
160 'resources/chromoting16.png', | 160 'resources/chromoting16.png', |
161 'resources/chromoting48.png', | 161 'resources/chromoting48.png', |
162 'resources/chromoting128.png', | 162 'resources/chromoting128.png', |
163 'resources/disclosure_arrow_down.png', | 163 'resources/disclosure_arrow_down.png', |
164 'resources/disclosure_arrow_right.png', | 164 'resources/disclosure_arrow_right.png', |
165 'resources/infographic_my_computers.png', | 165 'resources/infographic_my_computers.png', |
166 'resources/infographic_remote_assistance.png', | 166 'resources/infographic_remote_assistance.png', |
167 'resources/tick.png', | 167 'resources/tick.png', |
168 ], | 168 ], |
| 169 'remoting_host_installer_mac_root': 'host/installer/mac/', |
| 170 'remoting_host_installer_mac_files': [ |
| 171 #'host/installer/mac/ChromeRemoteDesktop.packproj', |
| 172 'host/installer/mac/Chromoting.packproj', |
| 173 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', |
| 174 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.json', |
| 175 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
', |
| 176 'host/installer/mac/Scripts/keystone_install.sh', |
| 177 'host/installer/mac/Scripts/remoting_postflight.sh', |
| 178 'host/installer/mac/Scripts/uninstall.sh', |
| 179 #'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg.zip', |
| 180 ], |
169 }, | 181 }, |
170 | 182 |
171 'target_defaults': { | 183 'target_defaults': { |
172 'defines': [ | 184 'defines': [ |
173 ], | 185 ], |
174 'include_dirs': [ | 186 'include_dirs': [ |
175 '..', # Root of Chrome checkout | 187 '..', # Root of Chrome checkout |
176 ], | 188 ], |
177 }, | 189 }, |
178 | 190 |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1072 'remoting_base', | 1084 'remoting_base', |
1073 '../base/base.gyp:base', | 1085 '../base/base.gyp:base', |
1074 '../base/base.gyp:base_i18n', | 1086 '../base/base.gyp:base_i18n', |
1075 '../crypto/crypto.gyp:crypto', | 1087 '../crypto/crypto.gyp:crypto', |
1076 ], | 1088 ], |
1077 'sources': [ | 1089 'sources': [ |
1078 'host/keygen_main.cc', | 1090 'host/keygen_main.cc', |
1079 ], | 1091 ], |
1080 }, # end of target 'remoting_host_keygen' | 1092 }, # end of target 'remoting_host_keygen' |
1081 | 1093 |
| 1094 # This packages up the files needed for the remoting host installer so |
| 1095 # they can be sent off to be signed. |
| 1096 # We don't build an installer here because we don't have signed binaries. |
| 1097 { |
| 1098 'target_name': 'remoting_me2me_host_archive', |
| 1099 'type': 'none', |
| 1100 'dependencies': [ |
| 1101 'remoting_me2me_host', |
| 1102 ], |
| 1103 'sources': [ |
| 1104 'host/installer/build-installer-archive.py', |
| 1105 ], |
| 1106 'conditions': [ |
| 1107 ['OS=="mac"', { |
| 1108 'sources': [ |
| 1109 '<@(remoting_host_installer_mac_files)', |
| 1110 ], |
| 1111 }], # OS=="mac" |
| 1112 ['OS=="win"', { |
| 1113 'dependencies': [ |
| 1114 # TODO(garykac) |
| 1115 ], |
| 1116 }], # OS=="win" |
| 1117 ], # conditions |
| 1118 'actions': [ |
| 1119 { |
| 1120 'action_name': 'Zip installer files for signing', |
| 1121 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', |
| 1122 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 1123 'generated_files': [], |
| 1124 'generated_files_dst': [], |
| 1125 'source_files_root': '', |
| 1126 'source_files': [], |
| 1127 'conditions': [ |
| 1128 ['OS=="mac"', { |
| 1129 'generated_files': [ |
| 1130 '<(PRODUCT_DIR)/remoting_me2me_host', |
| 1131 ], |
| 1132 'generated_files_dst': [ |
| 1133 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', |
| 1134 ], |
| 1135 'source_files_root': '<(remoting_host_installer_mac_root)', |
| 1136 'source_files': [ |
| 1137 '<@(remoting_host_installer_mac_files)', |
| 1138 ], |
| 1139 }], # OS=="mac" |
| 1140 ['OS=="win"', { |
| 1141 'generated_files': [ |
| 1142 '<(PRODUCT_DIR)/remoting_me2me_host.exe', |
| 1143 ], |
| 1144 }], # OS=="win" |
| 1145 ['OS=="linux"', { |
| 1146 'generated_files': [ |
| 1147 '<(PRODUCT_DIR)/remoting_me2me_host', |
| 1148 ], |
| 1149 }], # OS=="linux" |
| 1150 ], # conditions |
| 1151 'inputs': [ |
| 1152 'host/installer/build-installer-archive.py', |
| 1153 '<@(_source_files)', |
| 1154 ], |
| 1155 'outputs': [ |
| 1156 '<(_zip_path)', |
| 1157 ], |
| 1158 'action': [ |
| 1159 'python', |
| 1160 'host/installer/build-installer-archive.py', |
| 1161 '<(_temp_dir)', |
| 1162 '<(_zip_path)', |
| 1163 '<(_source_files_root)', |
| 1164 '--source-files', |
| 1165 '<@(_source_files)', |
| 1166 '--generated-files', |
| 1167 '<@(_generated_files)', |
| 1168 '--generated-files-dst', |
| 1169 '<@(_generated_files_dst)', |
| 1170 ], |
| 1171 }, |
| 1172 ], # actions |
| 1173 }, # end of target 'remoting_me2me_host_archive' |
| 1174 |
1082 { | 1175 { |
1083 'target_name': 'remoting_jingle_glue', | 1176 'target_name': 'remoting_jingle_glue', |
1084 'type': 'static_library', | 1177 'type': 'static_library', |
1085 'variables': { 'enable_wexit_time_destructors': 1, }, | 1178 'variables': { 'enable_wexit_time_destructors': 1, }, |
1086 'dependencies': [ | 1179 'dependencies': [ |
1087 '../base/base.gyp:base', | 1180 '../base/base.gyp:base', |
1088 '../jingle/jingle.gyp:jingle_glue', | 1181 '../jingle/jingle.gyp:jingle_glue', |
1089 '../jingle/jingle.gyp:notifier', | 1182 '../jingle/jingle.gyp:notifier', |
1090 '../third_party/libjingle/libjingle.gyp:libjingle', | 1183 '../third_party/libjingle/libjingle.gyp:libjingle', |
1091 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 1184 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 '../base/allocator/allocator.gyp:allocator', | 1481 '../base/allocator/allocator.gyp:allocator', |
1389 ], | 1482 ], |
1390 }, | 1483 }, |
1391 ], | 1484 ], |
1392 ], | 1485 ], |
1393 }], | 1486 }], |
1394 ], # end of 'conditions' | 1487 ], # end of 'conditions' |
1395 }, # end of target 'remoting_unittests' | 1488 }, # end of target 'remoting_unittests' |
1396 ], # end of targets | 1489 ], # end of targets |
1397 } | 1490 } |
OLD | NEW |