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 #TODO(garykac): Zip up Keystone files into single file. |
| 180 #'host/installer/mac/Keystone/*', |
| 181 ], |
169 }, | 182 }, |
170 | 183 |
171 'target_defaults': { | 184 'target_defaults': { |
172 'defines': [ | 185 'defines': [ |
173 ], | 186 ], |
174 'include_dirs': [ | 187 'include_dirs': [ |
175 '..', # Root of Chrome checkout | 188 '..', # Root of Chrome checkout |
176 ], | 189 ], |
177 }, | 190 }, |
178 | 191 |
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 'remoting_base', | 1082 'remoting_base', |
1070 '../base/base.gyp:base', | 1083 '../base/base.gyp:base', |
1071 '../base/base.gyp:base_i18n', | 1084 '../base/base.gyp:base_i18n', |
1072 '../crypto/crypto.gyp:crypto', | 1085 '../crypto/crypto.gyp:crypto', |
1073 ], | 1086 ], |
1074 'sources': [ | 1087 'sources': [ |
1075 'host/keygen_main.cc', | 1088 'host/keygen_main.cc', |
1076 ], | 1089 ], |
1077 }, # end of target 'remoting_host_keygen' | 1090 }, # end of target 'remoting_host_keygen' |
1078 | 1091 |
| 1092 # This packages up the files needed for the remoting host installer so |
| 1093 # they can be sent off to be signed. |
| 1094 # We don't build an installer here because we don't have signed binaries. |
| 1095 { |
| 1096 'target_name': 'remoting_me2me_host_archive', |
| 1097 'type': 'none', |
| 1098 'dependencies': [ |
| 1099 'remoting_me2me_host', |
| 1100 ], |
| 1101 'sources': [ |
| 1102 'host/installer/build-installer-archive.py', |
| 1103 ], |
| 1104 'conditions': [ |
| 1105 ['OS=="mac"', { |
| 1106 'sources': [ |
| 1107 '<@(remoting_host_installer_mac_files)', |
| 1108 ], |
| 1109 }], # OS=="mac" |
| 1110 ['OS=="win"', { |
| 1111 'dependencies': [ |
| 1112 # TODO(garykac) |
| 1113 ], |
| 1114 }], # OS=="win" |
| 1115 ], # conditions |
| 1116 'actions': [ |
| 1117 { |
| 1118 'action_name': 'Zip installer files for signing', |
| 1119 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', |
| 1120 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 1121 'generated_files': [], |
| 1122 'generated_files_dst': [], |
| 1123 'source_files_root': '', |
| 1124 'source_files': [], |
| 1125 'conditions': [ |
| 1126 ['OS=="mac"', { |
| 1127 'generated_files': [ |
| 1128 '<(PRODUCT_DIR)/remoting_me2me_host', |
| 1129 ], |
| 1130 'generated_files_dst': [ |
| 1131 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', |
| 1132 ], |
| 1133 'source_files_root': '<(remoting_host_installer_mac_root)', |
| 1134 'source_files': [ |
| 1135 '<@(remoting_host_installer_mac_files)', |
| 1136 ], |
| 1137 }], # OS=="mac" |
| 1138 ], # conditions |
| 1139 'inputs': [ |
| 1140 'host/installer/build-installer-archive.py', |
| 1141 '<@(_source_files)', |
| 1142 ], |
| 1143 'outputs': [ |
| 1144 '<(_zip_path)', |
| 1145 ], |
| 1146 'action': [ |
| 1147 'python', |
| 1148 'host/installer/build-installer-archive.py', |
| 1149 '<(_temp_dir)', |
| 1150 '<(_zip_path)', |
| 1151 '<(_source_files_root)', |
| 1152 '--source-files', |
| 1153 '<@(_source_files)', |
| 1154 '--generated-files', |
| 1155 '<@(_generated_files)', |
| 1156 '--generated-files-dst', |
| 1157 '<@(_generated_files_dst)', |
| 1158 ], |
| 1159 }, |
| 1160 ], # actions |
| 1161 }, # end of target 'remoting_me2me_host_archive' |
| 1162 |
1079 { | 1163 { |
1080 'target_name': 'remoting_jingle_glue', | 1164 'target_name': 'remoting_jingle_glue', |
1081 'type': 'static_library', | 1165 'type': 'static_library', |
1082 'variables': { 'enable_wexit_time_destructors': 1, }, | 1166 'variables': { 'enable_wexit_time_destructors': 1, }, |
1083 'dependencies': [ | 1167 'dependencies': [ |
1084 '../base/base.gyp:base', | 1168 '../base/base.gyp:base', |
1085 '../jingle/jingle.gyp:jingle_glue', | 1169 '../jingle/jingle.gyp:jingle_glue', |
1086 '../jingle/jingle.gyp:notifier', | 1170 '../jingle/jingle.gyp:notifier', |
1087 '../third_party/libjingle/libjingle.gyp:libjingle', | 1171 '../third_party/libjingle/libjingle.gyp:libjingle', |
1088 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 1172 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 '../base/allocator/allocator.gyp:allocator', | 1469 '../base/allocator/allocator.gyp:allocator', |
1386 ], | 1470 ], |
1387 }, | 1471 }, |
1388 ], | 1472 ], |
1389 ], | 1473 ], |
1390 }], | 1474 }], |
1391 ], # end of 'conditions' | 1475 ], # end of 'conditions' |
1392 }, # end of target 'remoting_unittests' | 1476 }, # end of target 'remoting_unittests' |
1393 ], # end of targets | 1477 ], # end of targets |
1394 } | 1478 } |
OLD | NEW |