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

Side by Side Diff: remoting/remoting.gyp

Issue 10197005: [Chromoting] Sign, brand and version the me2me_host (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'resources/chromoting48.png', 163 'resources/chromoting48.png',
164 'resources/chromoting128.png', 164 'resources/chromoting128.png',
165 'resources/disclosure_arrow_down.png', 165 'resources/disclosure_arrow_down.png',
166 'resources/disclosure_arrow_right.png', 166 'resources/disclosure_arrow_right.png',
167 'resources/infographic_my_computers.png', 167 'resources/infographic_my_computers.png',
168 'resources/infographic_remote_assistance.png', 168 'resources/infographic_remote_assistance.png',
169 'resources/tick.png', 169 'resources/tick.png',
170 ], 170 ],
171 'remoting_host_installer_mac_root': 'host/installer/mac/', 171 'remoting_host_installer_mac_root': 'host/installer/mac/',
172 'remoting_host_installer_mac_files': [ 172 'remoting_host_installer_mac_files': [
173 'host/installer/mac/ChromeRemoteDesktop.packproj', 173 'host/installer/mac/sign_and_build.sh',
174 'host/installer/mac/Chromoting.packproj', 174 'host/installer/mac/ChromotingHost.packproj',
175 'host/installer/mac/ChromotingHostService.packproj',
176 'host/installer/mac/ChromotingHostUninstaller.packproj',
175 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', 177 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist',
176 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.json',
177 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh ', 178 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh ',
178 'host/installer/mac/Scripts/keystone_install.sh', 179 'host/installer/mac/Scripts/keystone_install.sh',
179 'host/installer/mac/Scripts/remoting_postflight.sh', 180 'host/installer/mac/Scripts/remoting_postflight.sh',
181 'host/installer/mac/Scripts/remoting_preflight.sh',
180 'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg.zip', 182 'host/installer/mac/Keystone/GoogleSoftwareUpdate.pkg.zip',
181 ], 183 ],
182 }, 184 },
183 185
184 'target_defaults': { 186 'target_defaults': {
185 'defines': [ 187 'defines': [
186 ], 188 ],
187 'include_dirs': [ 189 'include_dirs': [
188 '..', # Root of Chrome checkout 190 '..', # Root of Chrome checkout
189 ], 191 ],
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 { 1159 {
1158 'target_name': 'remoting_me2me_host_archive', 1160 'target_name': 'remoting_me2me_host_archive',
1159 'type': 'none', 1161 'type': 'none',
1160 'dependencies': [ 1162 'dependencies': [
1161 'remoting_me2me_host', 1163 'remoting_me2me_host',
1162 ], 1164 ],
1163 'sources': [ 1165 'sources': [
1164 'host/installer/build-installer-archive.py', 1166 'host/installer/build-installer-archive.py',
1165 ], 1167 ],
1166 'conditions': [ 1168 'conditions': [
1169 ['branding == "Chrome"', {
alexeypa (please no reviews) 2012/04/24 16:06:19 nit: we have way to many way to do branding. Windo
garykac 2012/04/24 19:48:21 Agreed. I considered using version.py here, but th
1170 'variables': {
1171 'copyright_by': 'Google Inc.',
1172 'host_name': 'Chrome Remote Desktop Host',
1173 'host_service_name': 'Chrome Remote Desktop Host Service',
1174 'host_uninstaller_name': 'Chrome Remote Desktop Host Uninstaller',
1175 'bundle_prefix': 'com.google.pkg',
1176 },
1177 }, { # else branding!="Chrome"
1178 'variables': {
1179 'copyright_by': 'The Chromium Authors.',
1180 'host_name': 'Chromoting Host',
1181 'host_service_name': 'Chromoting Host Service',
1182 'host_uninstaller_name': 'Chromoting Host Uninstaller',
1183 'bundle_prefix': 'org.chromium.pkg',
1184 },
1185 }],
1167 ['OS=="mac"', { 1186 ['OS=="mac"', {
1168 'sources': [ 1187 'sources': [
1169 '<@(remoting_host_installer_mac_files)', 1188 '<@(remoting_host_installer_mac_files)',
1170 ], 1189 ],
1190 'dependencies': [
1191 'remoting_host_uninstaller',
1192 ],
1171 }], # OS=="mac" 1193 }], # OS=="mac"
1172 ['OS=="win"', { 1194 ['OS=="win"', {
1173 'dependencies': [ 1195 'dependencies': [
1174 # TODO(garykac) 1196 # TODO(garykac)
1175 ], 1197 ],
1176 }], # OS=="win" 1198 }], # OS=="win"
1177 ], # conditions 1199 ], # conditions
1178 'actions': [ 1200 'actions': [
1179 { 1201 {
1180 'action_name': 'Zip installer files for signing', 1202 'action_name': 'Zip installer files for signing',
1181 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', 1203 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host',
1182 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', 1204 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
1183 'generated_files': [], 1205 'generated_files': [],
1184 'generated_files_dst': [], 1206 'generated_files_dst': [],
1185 'source_files_root': '', 1207 'source_files_root': '',
1186 'source_files': [], 1208 'source_files': [],
1209 'defs': [],
1187 'conditions': [ 1210 'conditions': [
1188 ['OS=="mac"', { 1211 ['OS=="mac"', {
1189 'generated_files': [ 1212 'generated_files': [
1190 '<(PRODUCT_DIR)/remoting_me2me_host', 1213 '<(PRODUCT_DIR)/remoting_me2me_host',
1214 '<(PRODUCT_DIR)/remoting_host_uninstaller.app',
1191 ], 1215 ],
1192 'generated_files_dst': [ 1216 'generated_files_dst': [
1193 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', 1217 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host',
1218 'Applications/<(host_uninstaller_name).app',
1194 ], 1219 ],
1195 'source_files_root': '<(remoting_host_installer_mac_root)', 1220 'source_files_root': '<(remoting_host_installer_mac_root)',
1196 'source_files': [ 1221 'source_files': [
1197 '<@(remoting_host_installer_mac_files)', 1222 '<@(remoting_host_installer_mac_files)',
1198 ], 1223 ],
1224 'defs': [
1225 'VERSION=<(version_full)',
1226 'VERSION_SHORT=<(version_short)',
1227 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")',
1228 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")',
1229 'COPYRIGHT_BY=<(copyright_by)',
1230 'HOST_NAME=<(host_name)',
1231 'HOST_SERVICE_NAME=<(host_service_name)',
1232 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)',
1233 'HOST_PKG=<!(echo <(host_name) | sed "s/ //g")',
1234 'HOST_SERVICE_PKG=<!(echo <(host_service_name) | sed "s/ //g")',
1235 'HOST_UNINSTALLER_PKG=<!(echo <(host_uninstaller_name) | sed "s/ //g")',
1236 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name)',
1237 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name)',
1238 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name)',
1239 ],
1199 }], # OS=="mac" 1240 }], # OS=="mac"
1200 ['OS=="win"', { 1241 ['OS=="win"', {
1201 'generated_files': [ 1242 'generated_files': [
1202 '<(PRODUCT_DIR)/remoting_me2me_host.exe', 1243 '<(PRODUCT_DIR)/remoting_me2me_host.exe',
1203 ], 1244 ],
1245 'generated_files_dst': [
1246 'remoting_me2me_host.exe',
1247 ],
1204 }], # OS=="win" 1248 }], # OS=="win"
1205 ['OS=="linux"', { 1249 ['OS=="linux"', {
1206 'generated_files': [ 1250 'generated_files': [
1207 '<(PRODUCT_DIR)/remoting_me2me_host', 1251 '<(PRODUCT_DIR)/remoting_me2me_host',
1208 ], 1252 ],
1253 'generated_files_dst': [
1254 'remoting_me2me_host',
1255 ],
1209 }], # OS=="linux" 1256 }], # OS=="linux"
1210 ], # conditions 1257 ], # conditions
1211 'inputs': [ 1258 'inputs': [
1212 'host/installer/build-installer-archive.py', 1259 'host/installer/build-installer-archive.py',
1213 '<@(_source_files)', 1260 '<@(_source_files)',
1214 ], 1261 ],
1215 'outputs': [ 1262 'outputs': [
1216 '<(_zip_path)', 1263 '<(_zip_path)',
1217 ], 1264 ],
1218 'action': [ 1265 'action': [
1219 'python', 1266 'python',
1220 'host/installer/build-installer-archive.py', 1267 'host/installer/build-installer-archive.py',
1221 '<(_temp_dir)', 1268 '<(_temp_dir)',
1222 '<(_zip_path)', 1269 '<(_zip_path)',
1223 '<(_source_files_root)', 1270 '<(_source_files_root)',
1224 '--source-files', 1271 '--source-files',
1225 '<@(_source_files)', 1272 '<@(_source_files)',
1226 '--generated-files', 1273 '--generated-files',
1227 '<@(_generated_files)', 1274 '<@(_generated_files)',
1228 '--generated-files-dst', 1275 '--generated-files-dst',
1229 '<@(_generated_files_dst)', 1276 '<@(_generated_files_dst)',
1277 '--defs',
1278 '<@(_defs)',
1230 ], 1279 ],
1231 }, 1280 },
1232 ], # actions 1281 ], # actions
1233 }, # end of target 'remoting_me2me_host_archive' 1282 }, # end of target 'remoting_me2me_host_archive'
1234 1283
1235 { 1284 {
1236 'target_name': 'remoting_jingle_glue', 1285 'target_name': 'remoting_jingle_glue',
1237 'type': 'static_library', 1286 'type': 'static_library',
1238 'variables': { 'enable_wexit_time_destructors': 1, }, 1287 'variables': { 'enable_wexit_time_destructors': 1, },
1239 'dependencies': [ 1288 'dependencies': [
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 '../base/allocator/allocator.gyp:allocator', 1589 '../base/allocator/allocator.gyp:allocator',
1541 ], 1590 ],
1542 }, 1591 },
1543 ], 1592 ],
1544 ], 1593 ],
1545 }], 1594 }],
1546 ], # end of 'conditions' 1595 ], # end of 'conditions'
1547 }, # end of target 'remoting_unittests' 1596 }, # end of target 'remoting_unittests'
1548 ], # end of targets 1597 ], # end of targets
1549 } 1598 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698