OLD | NEW |
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)"', | 266 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)"', |
267 }, | 267 }, |
268 'mac_bundle_resources': [ | 268 'mac_bundle_resources': [ |
269 'host/installer/mac/uninstaller/remoting_uninstaller.xib', | 269 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |
270 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 270 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
271 ], | 271 ], |
272 'mac_bundle_resources!': [ | 272 'mac_bundle_resources!': [ |
273 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 273 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
274 ], | 274 ], |
275 }, # end of target 'remoting_host_uninstaller' | 275 }, # end of target 'remoting_host_uninstaller' |
| 276 { |
| 277 'target_name': 'remoting_host_prefpane', |
| 278 'type': 'loadable_module', |
| 279 'mac_bundle': 1, |
| 280 'product_extension': 'prefPane', |
| 281 'dependencies': [ |
| 282 'remoting_base', |
| 283 'remoting_host', |
| 284 ], |
| 285 'sources': [ |
| 286 'host/me2me_preference_pane.mm', |
| 287 ], |
| 288 'link_settings': { |
| 289 'libraries': [ |
| 290 '$(SDKROOT)/System/Library/Frameworks/PreferencePanes.framework', |
| 291 ], |
| 292 }, |
| 293 'xcode_settings': { |
| 294 'INFOPLIST_FILE': 'host/me2me_preference_pane-Info.plist', |
| 295 'INFOPLIST_PREPROCESS': 'YES', |
| 296 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)"', |
| 297 }, |
| 298 'mac_bundle_resources': [ |
| 299 'host/me2me_preference_pane.xib', |
| 300 'host/me2me_preference_pane-Info.plist', |
| 301 'resources/chromoting128.png', |
| 302 ], |
| 303 'mac_bundle_resources!': [ |
| 304 'host/me2me_preference_pane-Info.plist', |
| 305 ], |
| 306 'conditions': [ |
| 307 ['mac_breakpad==1', { |
| 308 'variables': { |
| 309 # A real .dSYM is needed for dump_syms to operate on. |
| 310 'mac_real_dsym': 1, |
| 311 }, |
| 312 }], |
| 313 ['branding == "Chrome"', { |
| 314 'variables': { |
| 315 'copyright_by': 'Google Inc.', |
| 316 'bundle_id': 'com.google.chromeremotedesktop.preferences', |
| 317 'bundle_name': 'Chrome Remote Desktop Host Preferences', |
| 318 }, |
| 319 }, { # else branding!="Chrome" |
| 320 'variables': { |
| 321 'copyright_by': 'The Chromium Authors.', |
| 322 'bundle_id': 'org.chromium.remoting.preferences', |
| 323 'bundle_name': 'Chromoting Host Preferences', |
| 324 }, |
| 325 }], |
| 326 ], # conditions |
| 327 }, # end of target 'remoting_host_prefpane' |
276 ], # end of 'targets' | 328 ], # end of 'targets' |
277 }], # 'OS=="mac"' | 329 }], # 'OS=="mac"' |
278 | 330 |
279 ['OS=="win"', { | 331 ['OS=="win"', { |
280 'targets': [ | 332 'targets': [ |
281 { | 333 { |
282 'target_name': 'remoting_elevated_controller', | 334 'target_name': 'remoting_elevated_controller', |
283 'type': 'static_library', | 335 'type': 'static_library', |
284 'sources': [ | 336 'sources': [ |
285 'host/elevated_controller.idl', | 337 'host/elevated_controller.idl', |
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1221 'host_service_name': 'Chromoting Host Service', | 1273 'host_service_name': 'Chromoting Host Service', |
1222 'host_uninstaller_name': 'Chromoting Host Uninstaller', | 1274 'host_uninstaller_name': 'Chromoting Host Uninstaller', |
1223 'bundle_prefix': 'org.chromium.pkg', | 1275 'bundle_prefix': 'org.chromium.pkg', |
1224 }, | 1276 }, |
1225 }], | 1277 }], |
1226 ['OS=="mac"', { | 1278 ['OS=="mac"', { |
1227 'sources': [ | 1279 'sources': [ |
1228 '<@(remoting_host_installer_mac_files)', | 1280 '<@(remoting_host_installer_mac_files)', |
1229 ], | 1281 ], |
1230 'dependencies': [ | 1282 'dependencies': [ |
| 1283 'remoting_host_prefpane', |
1231 'remoting_host_uninstaller', | 1284 'remoting_host_uninstaller', |
1232 ], | 1285 ], |
1233 }], # OS=="mac" | 1286 }], # OS=="mac" |
1234 ['OS=="win"', { | 1287 ['OS=="win"', { |
1235 'dependencies': [ | 1288 'dependencies': [ |
1236 # TODO(garykac) | 1289 # TODO(garykac) |
1237 ], | 1290 ], |
1238 }], # OS=="win" | 1291 }], # OS=="win" |
1239 ], # conditions | 1292 ], # conditions |
1240 'actions': [ | 1293 'actions': [ |
1241 { | 1294 { |
1242 'action_name': 'Zip installer files for signing', | 1295 'action_name': 'Zip installer files for signing', |
1243 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', | 1296 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', |
1244 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 1297 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
1245 'generated_files': [], | 1298 'generated_files': [], |
1246 'generated_files_dst': [], | 1299 'generated_files_dst': [], |
1247 'source_files_root': '', | 1300 'source_files_root': '', |
1248 'source_files': [], | 1301 'source_files': [], |
1249 'defs': [], | 1302 'defs': [], |
1250 'conditions': [ | 1303 'conditions': [ |
1251 ['OS=="mac"', { | 1304 ['OS=="mac"', { |
1252 'generated_files': [ | 1305 'generated_files': [ |
| 1306 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
1253 '<(PRODUCT_DIR)/remoting_me2me_host', | 1307 '<(PRODUCT_DIR)/remoting_me2me_host', |
1254 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 1308 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
1255 ], | 1309 ], |
1256 'generated_files_dst': [ | 1310 'generated_files_dst': [ |
| 1311 'PreferencePanes/org.chromium.chromoting.prefPane', |
1257 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', | 1312 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', |
1258 'Applications/<(host_uninstaller_name).app', | 1313 'Applications/<(host_uninstaller_name).app', |
1259 ], | 1314 ], |
1260 'source_files_root': '<(remoting_host_installer_mac_root)', | 1315 'source_files_root': '<(remoting_host_installer_mac_root)', |
1261 'source_files': [ | 1316 'source_files': [ |
1262 '<@(remoting_host_installer_mac_files)', | 1317 '<@(remoting_host_installer_mac_files)', |
1263 ], | 1318 ], |
1264 'defs': [ | 1319 'defs': [ |
1265 'VERSION=<(version_full)', | 1320 'VERSION=<(version_full)', |
1266 'VERSION_SHORT=<(version_short)', | 1321 'VERSION_SHORT=<(version_short)', |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 '../base/allocator/allocator.gyp:allocator', | 1684 '../base/allocator/allocator.gyp:allocator', |
1630 ], | 1685 ], |
1631 }, | 1686 }, |
1632 ], | 1687 ], |
1633 ], | 1688 ], |
1634 }], | 1689 }], |
1635 ], # end of 'conditions' | 1690 ], # end of 'conditions' |
1636 }, # end of target 'remoting_unittests' | 1691 }, # end of target 'remoting_unittests' |
1637 ], # end of targets | 1692 ], # end of targets |
1638 } | 1693 } |
OLD | NEW |