| Index: remoting/host/BUILD.gn
|
| diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
|
| index b5dcf5c7dc7a190dd6adbe99b50a8fd7be012fc3..58ff887a6bb63713e3f83d33c5889a8b79263f2c 100644
|
| --- a/remoting/host/BUILD.gn
|
| +++ b/remoting/host/BUILD.gn
|
| @@ -37,7 +37,6 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
|
|
|
| deps = [
|
| "//base:i18n",
|
| - "//components/policy:policy",
|
| "//components/policy:policy_component_common",
|
| "//crypto",
|
| "//google_apis",
|
| @@ -49,6 +48,10 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
|
| "//ui/events:dom4_keycode_converter",
|
| ]
|
|
|
| + if (enable_configuration_policy) {
|
| + deps += [ "//components/policy:policy" ]
|
| + }
|
| +
|
| if (is_linux && !is_chromeos) {
|
| libs += [ "pam" ]
|
| }
|
| @@ -248,7 +251,6 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
|
| deps = [
|
| ":host",
|
| ":test_support",
|
| - "//components/policy:policy_component_test_support",
|
| "//remoting/host/setup",
|
| "//remoting/host/it2me:common",
|
| "//remoting/host/native_messaging",
|
| @@ -257,6 +259,10 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
|
| "//testing/gmock",
|
| "//testing/gtest",
|
| ]
|
| +
|
| + if (enable_configuration_policy) {
|
| + deps += [ "//components/policy:policy_component_test_support" ]
|
| + }
|
| }
|
|
|
| if (is_win) {
|
|
|