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 ], | |
181 }, | 169 }, |
182 | 170 |
183 'target_defaults': { | 171 'target_defaults': { |
184 'defines': [ | 172 'defines': [ |
185 ], | 173 ], |
186 'include_dirs': [ | 174 'include_dirs': [ |
187 '..', # Root of Chrome checkout | 175 '..', # Root of Chrome checkout |
188 ], | 176 ], |
189 }, | 177 }, |
190 | 178 |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 'remoting_base', | 1072 'remoting_base', |
1085 '../base/base.gyp:base', | 1073 '../base/base.gyp:base', |
1086 '../base/base.gyp:base_i18n', | 1074 '../base/base.gyp:base_i18n', |
1087 '../crypto/crypto.gyp:crypto', | 1075 '../crypto/crypto.gyp:crypto', |
1088 ], | 1076 ], |
1089 'sources': [ | 1077 'sources': [ |
1090 'host/keygen_main.cc', | 1078 'host/keygen_main.cc', |
1091 ], | 1079 ], |
1092 }, # end of target 'remoting_host_keygen' | 1080 }, # end of target 'remoting_host_keygen' |
1093 | 1081 |
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 ], # conditions | |
1141 'inputs': [ | |
1142 'host/installer/build-installer-archive.py', | |
1143 '<@(_source_files)', | |
1144 ], | |
1145 'outputs': [ | |
1146 '<(_zip_path)', | |
1147 ], | |
1148 'action': [ | |
1149 'python', | |
1150 'host/installer/build-installer-archive.py', | |
1151 '<(_temp_dir)', | |
1152 '<(_zip_path)', | |
1153 '<(_source_files_root)', | |
1154 '--source-files', | |
1155 '<@(_source_files)', | |
1156 '--generated-files', | |
1157 '<@(_generated_files)', | |
1158 '--generated-files-dst', | |
1159 '<@(_generated_files_dst)', | |
1160 ], | |
1161 }, | |
1162 ], # actions | |
1163 }, # end of target 'remoting_me2me_host_archive' | |
1164 | |
1165 { | 1082 { |
1166 'target_name': 'remoting_jingle_glue', | 1083 'target_name': 'remoting_jingle_glue', |
1167 'type': 'static_library', | 1084 'type': 'static_library', |
1168 'variables': { 'enable_wexit_time_destructors': 1, }, | 1085 'variables': { 'enable_wexit_time_destructors': 1, }, |
1169 'dependencies': [ | 1086 'dependencies': [ |
1170 '../base/base.gyp:base', | 1087 '../base/base.gyp:base', |
1171 '../jingle/jingle.gyp:jingle_glue', | 1088 '../jingle/jingle.gyp:jingle_glue', |
1172 '../jingle/jingle.gyp:notifier', | 1089 '../jingle/jingle.gyp:notifier', |
1173 '../third_party/libjingle/libjingle.gyp:libjingle', | 1090 '../third_party/libjingle/libjingle.gyp:libjingle', |
1174 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 1091 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1471 '../base/allocator/allocator.gyp:allocator', | 1388 '../base/allocator/allocator.gyp:allocator', |
1472 ], | 1389 ], |
1473 }, | 1390 }, |
1474 ], | 1391 ], |
1475 ], | 1392 ], |
1476 }], | 1393 }], |
1477 ], # end of 'conditions' | 1394 ], # end of 'conditions' |
1478 }, # end of target 'remoting_unittests' | 1395 }, # end of target 'remoting_unittests' |
1479 ], # end of targets | 1396 ], # end of targets |
1480 } | 1397 } |
OLD | NEW |