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

Side by Side Diff: remoting/remoting.gyp

Issue 10266019: [Chromoting] Make installer-archive target Mac-only. (Closed) Base URL: svn://chrome-svn/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 | « no previous file | 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 1
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 'variables': { 7 'variables': {
8 # TODO(dmaclach): can we pick this up some other way? Right now it's 8 # TODO(dmaclach): can we pick this up some other way? Right now it's
9 # duplicated from chrome.gyp 9 # duplicated from chrome.gyp
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 }, 268 },
269 'mac_bundle_resources': [ 269 'mac_bundle_resources': [
270 'host/installer/mac/uninstaller/remoting_uninstaller.icns', 270 'host/installer/mac/uninstaller/remoting_uninstaller.icns',
271 'host/installer/mac/uninstaller/remoting_uninstaller.xib', 271 'host/installer/mac/uninstaller/remoting_uninstaller.xib',
272 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 272 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
273 ], 273 ],
274 'mac_bundle_resources!': [ 274 'mac_bundle_resources!': [
275 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 275 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
276 ], 276 ],
277 }, # end of target 'remoting_host_uninstaller' 277 }, # end of target 'remoting_host_uninstaller'
278
279 # This packages up the files needed for the remoting host installer so
280 # they can be sent off to be signed.
281 # We don't build an installer here because we don't have signed binaries .
282 {
283 'target_name': 'remoting_me2me_host_archive',
284 'type': 'none',
285 'dependencies': [
286 'remoting_me2me_host',
287 'remoting_host_uninstaller',
288 ],
289 'sources': [
290 'host/installer/build-installer-archive.py',
291 '<@(remoting_host_installer_mac_files)',
292 ],
293 'conditions': [
294 ['branding == "Chrome"', {
295 'variables': {
296 'copyright_by': 'Google Inc.',
297 'host_name': 'Chrome Remote Desktop Host',
298 'host_service_name': 'Chrome Remote Desktop Host Service',
299 'host_uninstaller_name': 'Chrome Remote Desktop Host Uninstaller ',
300 'bundle_prefix': 'com.google.pkg',
301 },
302 }, { # else branding!="Chrome"
303 'variables': {
304 'copyright_by': 'The Chromium Authors.',
305 'host_name': 'Chromoting Host',
306 'host_service_name': 'Chromoting Host Service',
307 'host_uninstaller_name': 'Chromoting Host Uninstaller',
308 'bundle_prefix': 'org.chromium.pkg',
309 },
310 }],
311 ], # conditions
312 'actions': [
313 {
314 'action_name': 'Zip installer files for signing',
315 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st',
316 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
317 'generated_files': [
318 '<(PRODUCT_DIR)/remoting_me2me_host',
319 '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
320 ],
321 'generated_files_dst': [
322 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
323 'Applications/<(host_uninstaller_name).app',
324 ],
325 'source_files_root': '<(remoting_host_installer_mac_root)',
326 'source_files': [
327 '<@(remoting_host_installer_mac_files)',
328 ],
329 'defs': [
330 'VERSION=<(version_full)',
331 'VERSION_SHORT=<(version_short)',
332 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")',
333 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")',
334 'COPYRIGHT_BY=<(copyright_by)',
335 'HOST_NAME=<(host_name)',
336 'HOST_SERVICE_NAME=<(host_service_name)',
337 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)',
338 'HOST_PKG=<(host_name)',
339 'HOST_SERVICE_PKG=<!(echo <(host_service_name) | sed "s/ //g")',
340 'HOST_UNINSTALLER_PKG=<!(echo <(host_uninstaller_name) | sed "s/ //g")',
341 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name)',
342 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name)',
343 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name)',
344 'DMG_NAME=<(host_name)',
345 ],
346 'inputs': [
347 'host/installer/build-installer-archive.py',
348 '<@(_source_files)',
349 ],
350 'outputs': [
351 '<(_zip_path)',
352 ],
353 'action': [
354 'python',
355 'host/installer/build-installer-archive.py',
356 '<(_temp_dir)',
357 '<(_zip_path)',
358 '<(_source_files_root)',
359 '--source-files',
360 '<@(_source_files)',
361 '--generated-files',
362 '<@(_generated_files)',
363 '--generated-files-dst',
364 '<@(_generated_files_dst)',
365 '--defs',
366 '<@(_defs)',
367 ],
368 },
369 ], # actions
370 }, # end of target 'remoting_me2me_host_archive'
278 ], # end of 'targets' 371 ], # end of 'targets'
279 }], # 'OS=="mac"' 372 }], # 'OS=="mac"'
280 373
281 ['OS=="win"', { 374 ['OS=="win"', {
282 'targets': [ 375 'targets': [
283 { 376 {
284 'target_name': 'remoting_elevated_controller', 377 'target_name': 'remoting_elevated_controller',
285 'type': 'static_library', 378 'type': 'static_library',
286 'sources': [ 379 'sources': [
287 'host/elevated_controller.idl', 380 'host/elevated_controller.idl',
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 'remoting_base', 1279 'remoting_base',
1187 '../base/base.gyp:base', 1280 '../base/base.gyp:base',
1188 '../base/base.gyp:base_i18n', 1281 '../base/base.gyp:base_i18n',
1189 '../crypto/crypto.gyp:crypto', 1282 '../crypto/crypto.gyp:crypto',
1190 ], 1283 ],
1191 'sources': [ 1284 'sources': [
1192 'host/keygen_main.cc', 1285 'host/keygen_main.cc',
1193 ], 1286 ],
1194 }, # end of target 'remoting_host_keygen' 1287 }, # end of target 'remoting_host_keygen'
1195 1288
1196 # This packages up the files needed for the remoting host installer so
1197 # they can be sent off to be signed.
1198 # We don't build an installer here because we don't have signed binaries.
1199 {
1200 'target_name': 'remoting_me2me_host_archive',
1201 'type': 'none',
1202 'dependencies': [
1203 'remoting_me2me_host',
1204 ],
1205 'sources': [
1206 'host/installer/build-installer-archive.py',
1207 ],
1208 'conditions': [
1209 ['branding == "Chrome"', {
1210 'variables': {
1211 'copyright_by': 'Google Inc.',
1212 'host_name': 'Chrome Remote Desktop Host',
1213 'host_service_name': 'Chrome Remote Desktop Host Service',
1214 'host_uninstaller_name': 'Chrome Remote Desktop Host Uninstaller',
1215 'bundle_prefix': 'com.google.pkg',
1216 },
1217 }, { # else branding!="Chrome"
1218 'variables': {
1219 'copyright_by': 'The Chromium Authors.',
1220 'host_name': 'Chromoting Host',
1221 'host_service_name': 'Chromoting Host Service',
1222 'host_uninstaller_name': 'Chromoting Host Uninstaller',
1223 'bundle_prefix': 'org.chromium.pkg',
1224 },
1225 }],
1226 ['OS=="mac"', {
1227 'sources': [
1228 '<@(remoting_host_installer_mac_files)',
1229 ],
1230 'dependencies': [
1231 'remoting_host_uninstaller',
1232 ],
1233 }], # OS=="mac"
1234 ['OS=="win"', {
1235 'dependencies': [
1236 # TODO(garykac)
1237 ],
1238 }], # OS=="win"
1239 ], # conditions
1240 'actions': [
1241 {
1242 'action_name': 'Zip installer files for signing',
1243 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host',
1244 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
1245 'generated_files': [],
1246 'generated_files_dst': [],
1247 'source_files_root': '',
1248 'source_files': [],
1249 'defs': [],
1250 'conditions': [
1251 ['OS=="mac"', {
1252 'generated_files': [
1253 '<(PRODUCT_DIR)/remoting_me2me_host',
1254 '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
1255 ],
1256 'generated_files_dst': [
1257 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
1258 'Applications/<(host_uninstaller_name).app',
1259 ],
1260 'source_files_root': '<(remoting_host_installer_mac_root)',
1261 'source_files': [
1262 '<@(remoting_host_installer_mac_files)',
1263 ],
1264 'defs': [
1265 'VERSION=<(version_full)',
1266 'VERSION_SHORT=<(version_short)',
1267 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")',
1268 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")',
1269 'COPYRIGHT_BY=<(copyright_by)',
1270 'HOST_NAME=<(host_name)',
1271 'HOST_SERVICE_NAME=<(host_service_name)',
1272 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)',
1273 'HOST_PKG=<(host_name)',
1274 'HOST_SERVICE_PKG=<!(echo <(host_service_name) | sed "s/ //g")',
1275 'HOST_UNINSTALLER_PKG=<!(echo <(host_uninstaller_name) | sed "s/ //g")',
1276 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name)',
1277 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name)',
1278 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name)',
1279 'DMG_NAME=<(host_name)',
1280 ],
1281 }], # OS=="mac"
1282 ['OS=="win"', {
1283 'generated_files': [
1284 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
1285 ],
1286 'generated_files_dst': [
1287 'remoting_me2me_host.exe',
1288 ],
1289 }], # OS=="win"
1290 ['OS=="linux"', {
1291 'generated_files': [
1292 '<(PRODUCT_DIR)/remoting_me2me_host',
1293 ],
1294 'generated_files_dst': [
1295 'remoting_me2me_host',
1296 ],
1297 }], # OS=="linux"
1298 ], # conditions
1299 'inputs': [
1300 'host/installer/build-installer-archive.py',
1301 '<@(_source_files)',
1302 ],
1303 'outputs': [
1304 '<(_zip_path)',
1305 ],
1306 'action': [
1307 'python',
1308 'host/installer/build-installer-archive.py',
1309 '<(_temp_dir)',
1310 '<(_zip_path)',
1311 '<(_source_files_root)',
1312 '--source-files',
1313 '<@(_source_files)',
1314 '--generated-files',
1315 '<@(_generated_files)',
1316 '--generated-files-dst',
1317 '<@(_generated_files_dst)',
1318 '--defs',
1319 '<@(_defs)',
1320 ],
1321 },
1322 ], # actions
1323 }, # end of target 'remoting_me2me_host_archive'
1324
1325 { 1289 {
1326 'target_name': 'remoting_jingle_glue', 1290 'target_name': 'remoting_jingle_glue',
1327 'type': 'static_library', 1291 'type': 'static_library',
1328 'variables': { 'enable_wexit_time_destructors': 1, }, 1292 'variables': { 'enable_wexit_time_destructors': 1, },
1329 'dependencies': [ 1293 'dependencies': [
1330 '../base/base.gyp:base', 1294 '../base/base.gyp:base',
1331 '../jingle/jingle.gyp:jingle_glue', 1295 '../jingle/jingle.gyp:jingle_glue',
1332 '../jingle/jingle.gyp:notifier', 1296 '../jingle/jingle.gyp:notifier',
1333 '../third_party/libjingle/libjingle.gyp:libjingle', 1297 '../third_party/libjingle/libjingle.gyp:libjingle',
1334 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', 1298 '../third_party/libjingle/libjingle.gyp:libjingle_p2p',
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 '../base/allocator/allocator.gyp:allocator', 1596 '../base/allocator/allocator.gyp:allocator',
1633 ], 1597 ],
1634 }, 1598 },
1635 ], 1599 ],
1636 ], 1600 ],
1637 }], 1601 }],
1638 ], # end of 'conditions' 1602 ], # end of 'conditions'
1639 }, # end of target 'remoting_unittests' 1603 }, # end of target 'remoting_unittests'
1640 ], # end of targets 1604 ], # end of targets
1641 } 1605 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698