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 'includes': [ | 6 'includes': [ |
7 'remoting_enable.gypi', | 7 'remoting_enable.gypi', |
8 ], | 8 ], |
9 | 9 |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 23 matching lines...) Expand all Loading... | |
34 'enable_wexit_time_destructors': 1, | 34 'enable_wexit_time_destructors': 1, |
35 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path ) -t "@MAC_HOST_BUNDLE_NAME@")', | 35 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path ) -t "@MAC_HOST_BUNDLE_NAME@")', |
36 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_ path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', | 36 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_ path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', |
37 }, | 37 }, |
38 'dependencies': [ | 38 'dependencies': [ |
39 'remoting_base', | 39 'remoting_base', |
40 'remoting_host_credits', | 40 'remoting_host_credits', |
41 'remoting_protocol', | 41 'remoting_protocol', |
42 'remoting_resources', | 42 'remoting_resources', |
43 '../base/base.gyp:base_i18n', | 43 '../base/base.gyp:base_i18n', |
44 '../components/components.gyp:policy', | |
45 '../components/components.gyp:policy_component_common', | |
46 '../crypto/crypto.gyp:crypto', | 44 '../crypto/crypto.gyp:crypto', |
47 '../google_apis/google_apis.gyp:google_apis', | 45 '../google_apis/google_apis.gyp:google_apis', |
48 '../ipc/ipc.gyp:ipc', | 46 '../ipc/ipc.gyp:ipc', |
49 '../ui/events/events.gyp:dom_keycode_converter', | 47 '../ui/events/events.gyp:dom_keycode_converter', |
50 ], | 48 ], |
51 'defines': [ | 49 'defines': [ |
52 'HOST_BUNDLE_NAME="<(host_bundle_name)"', | 50 'HOST_BUNDLE_NAME="<(host_bundle_name)"', |
53 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"', | 51 'PREFPANE_BUNDLE_NAME="<(prefpane_bundle_name)"', |
54 'VERSION=<(version_full)', | 52 'VERSION=<(version_full)', |
55 ], | 53 ], |
56 'sources': [ | 54 'sources': [ |
57 '<@(remoting_host_sources)', | 55 '<@(remoting_host_sources)', |
58 ], | 56 ], |
59 'conditions': [ | 57 'conditions': [ |
58 ['configuration_policy==1', { | |
Sergey Ulanov
2015/10/20 16:16:21
It doesn't make sense to compile remoting_host tar
| |
59 'dependencies': [ | |
60 '../components/components.gyp:policy', | |
61 '../components/components.gyp:policy_component_common', | |
62 ], | |
63 }], | |
60 ['OS=="linux"', { | 64 ['OS=="linux"', { |
61 'conditions': [ | 65 'conditions': [ |
62 ['use_x11==1', { | 66 ['use_x11==1', { |
63 'dependencies': [ | 67 'dependencies': [ |
64 '../build/linux/system.gyp:x11', | 68 '../build/linux/system.gyp:x11', |
65 '../build/linux/system.gyp:xext', | 69 '../build/linux/system.gyp:xext', |
66 '../build/linux/system.gyp:xfixes', | 70 '../build/linux/system.gyp:xfixes', |
67 '../build/linux/system.gyp:xi', | 71 '../build/linux/system.gyp:xi', |
68 '../build/linux/system.gyp:xrandr', | 72 '../build/linux/system.gyp:xrandr', |
69 '../build/linux/system.gyp:xtst', | 73 '../build/linux/system.gyp:xtst', |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
372 ]}, | 376 ]}, |
373 ], | 377 ], |
374 }, # end of target 'remoting_infoplist_strings' | 378 }, # end of target 'remoting_infoplist_strings' |
375 { | 379 { |
376 # GN version: //remoting/host/it2me:common | 380 # GN version: //remoting/host/it2me:common |
377 'target_name': 'remoting_it2me_host_static', | 381 'target_name': 'remoting_it2me_host_static', |
378 'type': 'static_library', | 382 'type': 'static_library', |
379 'variables': { 'enable_wexit_time_destructors': 1, }, | 383 'variables': { 'enable_wexit_time_destructors': 1, }, |
380 'dependencies': [ | 384 'dependencies': [ |
381 '../base/base.gyp:base_i18n', | 385 '../base/base.gyp:base_i18n', |
382 '../components/components.gyp:policy', | |
383 '../net/net.gyp:net', | 386 '../net/net.gyp:net', |
384 'remoting_base', | 387 'remoting_base', |
385 'remoting_host', | 388 'remoting_host', |
386 'remoting_infoplist_strings', | 389 'remoting_infoplist_strings', |
387 'remoting_protocol', | 390 'remoting_protocol', |
388 'remoting_resources', | 391 'remoting_resources', |
389 ], | 392 ], |
390 'defines': [ | 393 'defines': [ |
391 'VERSION=<(version_full)', | 394 'VERSION=<(version_full)', |
392 ], | 395 ], |
393 'sources': [ | 396 'sources': [ |
394 '<@(remoting_it2me_host_static_sources)', | 397 '<@(remoting_it2me_host_static_sources)', |
395 ], | 398 ], |
399 'conditions': [ | |
400 ['configuration_policy==1', { | |
401 'dependencies': [ | |
402 '../components/components.gyp:policy', | |
403 ], | |
404 }], | |
405 ], | |
396 }, # end of target 'remoting_it2me_host_static' | 406 }, # end of target 'remoting_it2me_host_static' |
397 ], # end of 'targets' | 407 ], # end of 'targets' |
398 }], # 'enable_remoting_host==1' | 408 }], # 'enable_remoting_host==1' |
399 | 409 |
400 ['enable_me2me_host==1', { | 410 ['enable_me2me_host==1', { |
401 'targets': [ | 411 'targets': [ |
402 { | 412 { |
403 'target_name': 'remoting_me2me_host_static', | 413 'target_name': 'remoting_me2me_host_static', |
404 'type': 'static_library', | 414 'type': 'static_library', |
405 'variables': { 'enable_wexit_time_destructors': 1, }, | 415 'variables': { 'enable_wexit_time_destructors': 1, }, |
406 'dependencies': [ | 416 'dependencies': [ |
407 '../base/base.gyp:base', | 417 '../base/base.gyp:base', |
408 '../base/base.gyp:base_i18n', | 418 '../base/base.gyp:base_i18n', |
409 '../components/components.gyp:policy', | |
410 '../components/components.gyp:policy_component_common', | |
411 '../net/net.gyp:net', | 419 '../net/net.gyp:net', |
412 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 420 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
413 'remoting_base', | 421 'remoting_base', |
414 'remoting_breakpad', | 422 'remoting_breakpad', |
415 'remoting_host', | 423 'remoting_host', |
416 'remoting_protocol', | 424 'remoting_protocol', |
417 ], | 425 ], |
418 'defines': [ | 426 'defines': [ |
419 'VERSION=<(version_full)', | 427 'VERSION=<(version_full)', |
420 ], | 428 ], |
421 'sources': [ | 429 'sources': [ |
422 'host/curtain_mode.h', | 430 'host/curtain_mode.h', |
423 'host/curtain_mode_linux.cc', | 431 'host/curtain_mode_linux.cc', |
424 'host/curtain_mode_mac.cc', | 432 'host/curtain_mode_mac.cc', |
425 'host/curtain_mode_win.cc', | 433 'host/curtain_mode_win.cc', |
426 'host/pam_authorization_factory_posix.cc', | 434 'host/pam_authorization_factory_posix.cc', |
427 'host/pam_authorization_factory_posix.h', | 435 'host/pam_authorization_factory_posix.h', |
428 'host/posix/signal_handler.cc', | 436 'host/posix/signal_handler.cc', |
429 'host/posix/signal_handler.h', | 437 'host/posix/signal_handler.h', |
430 'host/remoting_me2me_host.cc', | 438 'host/remoting_me2me_host.cc', |
431 ], | 439 ], |
432 'conditions': [ | 440 'conditions': [ |
441 ['configuration_policy==1', { | |
442 'dependencies': [ | |
443 '../components/components.gyp:policy', | |
444 '../components/components.gyp:policy_component_common', | |
445 ], | |
446 }], | |
433 ['OS=="linux"', { | 447 ['OS=="linux"', { |
434 'link_settings': { | 448 'link_settings': { |
435 'libraries': [ | 449 'libraries': [ |
436 '-lpam', | 450 '-lpam', |
437 ], | 451 ], |
438 }, | 452 }, |
439 }], | 453 }], |
440 ['OS=="mac"', { | 454 ['OS=="mac"', { |
441 'link_settings': { | 455 'link_settings': { |
442 'libraries': [ | 456 'libraries': [ |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
749 # Dummy target for chromeos==1 | 763 # Dummy target for chromeos==1 |
750 'target_name': 'remoting_it2me_native_messaging_host', | 764 'target_name': 'remoting_it2me_native_messaging_host', |
751 'type': 'executable', | 765 'type': 'executable', |
752 }, | 766 }, |
753 ], # targets | 767 ], # targets |
754 }], # end of chromeos==0 | 768 }], # end of chromeos==0 |
755 ], # end of conditions | 769 ], # end of conditions |
756 }], # end of OS!="win" and enable_remoting_host==1 | 770 }], # end of OS!="win" and enable_remoting_host==1 |
757 ], # end of 'conditions' | 771 ], # end of 'conditions' |
758 } | 772 } |
OLD | NEW |