| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 '../build/linux/system.gyp:xtst', | 68 '../build/linux/system.gyp:xtst', |
| 69 ], | 69 ], |
| 70 }], | 70 }], |
| 71 ['chromeos==0 and use_ozone==0', { | 71 ['chromeos==0 and use_ozone==0', { |
| 72 'dependencies': [ | 72 'dependencies': [ |
| 73 # use GTK on Linux, even for Aura builds. | 73 # use GTK on Linux, even for Aura builds. |
| 74 '../build/linux/system.gyp:gtk', | 74 '../build/linux/system.gyp:gtk', |
| 75 ], | 75 ], |
| 76 }] | 76 }] |
| 77 ], | 77 ], |
| 78 'link_settings': { | |
| 79 'libraries': [ | |
| 80 '-lpam', | |
| 81 ], | |
| 82 }, | |
| 83 }], | 78 }], |
| 84 ['chromeos==1', { | 79 ['chromeos==1', { |
| 85 'dependencies' : [ | 80 'dependencies' : [ |
| 86 '../cc/cc.gyp:cc', | 81 '../cc/cc.gyp:cc', |
| 87 '../ppapi/ppapi_internal.gyp:ppapi_host', | 82 '../ppapi/ppapi_internal.gyp:ppapi_host', |
| 88 '../skia/skia.gyp:skia', | 83 '../skia/skia.gyp:skia', |
| 89 '../ui/aura/aura.gyp:aura', | 84 '../ui/aura/aura.gyp:aura', |
| 90 '../ui/compositor/compositor.gyp:compositor', | 85 '../ui/compositor/compositor.gyp:compositor', |
| 91 '../ui/events/events.gyp:events', | 86 '../ui/events/events.gyp:events', |
| 92 '../ui/events/platform/events_platform.gyp:events_platform', | 87 '../ui/events/platform/events_platform.gyp:events_platform', |
| 93 '../ui/views/views.gyp:views', | 88 '../ui/views/views.gyp:views', |
| 94 ], | 89 ], |
| 95 'include_dirs': [ | 90 'include_dirs': [ |
| 96 '../third_party/skia/include/utils', | 91 '../third_party/skia/include/utils', |
| 97 ], | 92 ], |
| 98 'sources!' : [ | 93 'sources!' : [ |
| 99 'host/clipboard_x11.cc', | 94 'host/clipboard_x11.cc', |
| 100 'host/continue_window_linux.cc', | 95 'host/continue_window_linux.cc', |
| 101 'host/disconnect_window_linux.cc', | 96 'host/disconnect_window_linux.cc', |
| 102 'host/linux/x_server_clipboard.cc', | 97 'host/linux/x_server_clipboard.cc', |
| 103 'host/linux/x_server_clipboard.h', | 98 'host/linux/x_server_clipboard.h', |
| 104 'host/local_input_monitor_x11.cc', | 99 'host/local_input_monitor_x11.cc', |
| 105 'host/remoting_me2me_host.cc', | |
| 106 ], | 100 ], |
| 107 'conditions': [ | 101 'conditions': [ |
| 108 ['use_ash==1', { | 102 ['use_ash==1', { |
| 109 'dependencies': [ | 103 'dependencies': [ |
| 110 '../ash/ash.gyp:ash', | 104 '../ash/ash.gyp:ash', |
| 111 ], | 105 ], |
| 112 }], | 106 }], |
| 113 ['use_ozone==0', { | 107 ['use_ozone==0', { |
| 114 'sources!': [ | 108 'sources!': [ |
| 115 'host/input_injector_chromeos.cc', | 109 'host/input_injector_chromeos.cc', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 137 'internal/internal_mac-inl.h' | 131 'internal/internal_mac-inl.h' |
| 138 ], | 132 ], |
| 139 'defines': [ | 133 'defines': [ |
| 140 'USE_REMOTING_MACOSX_INTERNAL' | 134 'USE_REMOTING_MACOSX_INTERNAL' |
| 141 ] | 135 ] |
| 142 }] | 136 }] |
| 143 ], | 137 ], |
| 144 'link_settings': { | 138 'link_settings': { |
| 145 'libraries': [ | 139 'libraries': [ |
| 146 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 140 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 147 'libpam.a', | |
| 148 ], | 141 ], |
| 149 }, | 142 }, |
| 150 }], | 143 }], |
| 151 ['OS=="win"', { | 144 ['OS=="win"', { |
| 152 'defines': [ | 145 'defines': [ |
| 153 '_ATL_NO_EXCEPTIONS', | 146 '_ATL_NO_EXCEPTIONS', |
| 154 'ISOLATION_AWARE_ENABLED=1', | 147 'ISOLATION_AWARE_ENABLED=1', |
| 155 ], | 148 ], |
| 156 'dependencies': [ | 149 'dependencies': [ |
| 157 '../sandbox/sandbox.gyp:sandbox', | 150 '../sandbox/sandbox.gyp:sandbox', |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 406 |
| 414 ['enable_me2me_host==1', { | 407 ['enable_me2me_host==1', { |
| 415 'targets': [ | 408 'targets': [ |
| 416 { | 409 { |
| 417 'target_name': 'remoting_me2me_host_static', | 410 'target_name': 'remoting_me2me_host_static', |
| 418 'type': 'static_library', | 411 'type': 'static_library', |
| 419 'variables': { 'enable_wexit_time_destructors': 1, }, | 412 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 420 'dependencies': [ | 413 'dependencies': [ |
| 421 '../base/base.gyp:base', | 414 '../base/base.gyp:base', |
| 422 '../base/base.gyp:base_i18n', | 415 '../base/base.gyp:base_i18n', |
| 416 '../components/components.gyp:policy', |
| 417 '../components/components.gyp:policy_component_common', |
| 423 '../net/net.gyp:net', | 418 '../net/net.gyp:net', |
| 424 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 419 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 425 'remoting_base', | 420 'remoting_base', |
| 426 'remoting_breakpad', | 421 'remoting_breakpad', |
| 427 'remoting_host', | 422 'remoting_host', |
| 428 'remoting_protocol', | 423 'remoting_protocol', |
| 429 ], | 424 ], |
| 430 'defines': [ | 425 'defines': [ |
| 431 'VERSION=<(version_full)', | 426 'VERSION=<(version_full)', |
| 432 ], | 427 ], |
| 433 'sources': [ | 428 'sources': [ |
| 434 'host/curtain_mode.h', | 429 'host/curtain_mode.h', |
| 435 'host/curtain_mode_linux.cc', | 430 'host/curtain_mode_linux.cc', |
| 436 'host/curtain_mode_mac.cc', | 431 'host/curtain_mode_mac.cc', |
| 437 'host/curtain_mode_win.cc', | 432 'host/curtain_mode_win.cc', |
| 433 'host/pam_authorization_factory_posix.cc', |
| 434 'host/pam_authorization_factory_posix.h', |
| 438 'host/posix/signal_handler.cc', | 435 'host/posix/signal_handler.cc', |
| 439 'host/posix/signal_handler.h', | 436 'host/posix/signal_handler.h', |
| 437 'host/remoting_me2me_host.cc', |
| 440 ], | 438 ], |
| 441 'conditions': [ | 439 'conditions': [ |
| 442 ['os_posix != 1', { | 440 ['OS=="linux"', { |
| 443 'sources/': [ | 441 'link_settings': { |
| 444 ['exclude', '^host/posix/'], | 442 'libraries': [ |
| 445 ], | 443 '-lpam', |
| 444 ], |
| 445 }, |
| 446 }], |
| 447 ['OS=="mac"', { |
| 448 'link_settings': { |
| 449 'libraries': [ |
| 450 'libpam.a', |
| 451 ], |
| 452 }, |
| 446 }], | 453 }], |
| 447 ], # end of 'conditions' | 454 ], # end of 'conditions' |
| 448 }, # end of target 'remoting_me2me_host_static' | 455 }, # end of target 'remoting_me2me_host_static' |
| 449 ] # end of targets | 456 ] # end of targets |
| 450 }], # end of enable_me2me_host==1 | 457 }], # end of enable_me2me_host==1 |
| 451 | 458 |
| 452 ['OS!="win" and enable_me2me_host==1', { | 459 ['OS!="win" and enable_me2me_host==1', { |
| 453 'targets': [ | 460 'targets': [ |
| 454 { | 461 { |
| 455 'target_name': 'remoting_me2me_host', | 462 'target_name': 'remoting_me2me_host', |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 # Dummy target for chromeos==1 | 742 # Dummy target for chromeos==1 |
| 736 'target_name': 'remoting_it2me_native_messaging_host', | 743 'target_name': 'remoting_it2me_native_messaging_host', |
| 737 'type': 'executable', | 744 'type': 'executable', |
| 738 }, | 745 }, |
| 739 ], # targets | 746 ], # targets |
| 740 }], # end of chromeos==0 | 747 }], # end of chromeos==0 |
| 741 ], # end of conditions | 748 ], # end of conditions |
| 742 }], # end of OS!="win" and enable_remoting_host==1 | 749 }], # end of OS!="win" and enable_remoting_host==1 |
| 743 ], # end of 'conditions' | 750 ], # end of 'conditions' |
| 744 } | 751 } |
| OLD | NEW |