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

Unified Diff: remoting/remoting_host.gypi

Issue 969133002: Remove dependency on PAM from the It2Me host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting_host_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting_host.gypi
diff --git a/remoting/remoting_host.gypi b/remoting/remoting_host.gypi
index e818a971bc6b93e2170f4d389d1d5def6a90f173..33d1e4ad1492c8908c4085144525e4c2732a33ae 100644
--- a/remoting/remoting_host.gypi
+++ b/remoting/remoting_host.gypi
@@ -75,11 +75,6 @@
],
}]
],
- 'link_settings': {
- 'libraries': [
- '-lpam',
- ],
- },
}],
['chromeos==1', {
'dependencies' : [
@@ -102,7 +97,6 @@
'host/linux/x_server_clipboard.cc',
'host/linux/x_server_clipboard.h',
'host/local_input_monitor_x11.cc',
- 'host/remoting_me2me_host.cc',
],
'conditions': [
['use_ash==1', {
@@ -144,7 +138,6 @@
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
- 'libpam.a',
],
},
}],
@@ -420,6 +413,8 @@
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
+ '../components/components.gyp:policy',
+ '../components/components.gyp:policy_component_common',
'../net/net.gyp:net',
'../third_party/webrtc/modules/modules.gyp:desktop_capture',
'remoting_base',
@@ -435,14 +430,26 @@
'host/curtain_mode_linux.cc',
'host/curtain_mode_mac.cc',
'host/curtain_mode_win.cc',
+ 'host/pam_authorization_factory_posix.cc',
+ 'host/pam_authorization_factory_posix.h',
'host/posix/signal_handler.cc',
'host/posix/signal_handler.h',
+ 'host/remoting_me2me_host.cc',
],
'conditions': [
- ['os_posix != 1', {
- 'sources/': [
- ['exclude', '^host/posix/'],
- ],
+ ['OS=="linux"', {
+ 'link_settings': {
+ 'libraries': [
+ '-lpam',
+ ],
+ },
+ }],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ 'libpam.a',
+ ],
+ },
}],
], # end of 'conditions'
}, # end of target 'remoting_me2me_host_static'
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting_host_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698