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

Unified Diff: remoting/host/BUILD.gn

Issue 1009883002: Fix unresolved gn dependencies when enable_configuration_policy=false (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch gn-formatted Created 5 years, 9 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/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « remoting/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698