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

Unified Diff: chrome/browser/BUILD.gn

Issue 2558043004: Remove enable_configuration_policy build define. (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index be1ca8523513532cddcb6a474834376ddd15cf47..a56d823358f516ca5ec5c5b05afcd7a1e4045a1f 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -4048,11 +4048,9 @@ if (is_win) {
]
deps = [
"//base",
+ "//chrome/browser/policy:path_parser",
"//chrome/common:constants",
]
- if (enable_configuration_policy) {
- deps += [ "//chrome/browser/policy:path_parser" ]
- }
}
}
@@ -4177,6 +4175,8 @@ static_library("test_support") {
"notifications/notification_test_util.h",
"notifications/stub_notification_platform_bridge.cc",
"notifications/stub_notification_platform_bridge.h",
+ "policy/test/local_policy_test_server.cc",
+ "policy/test/local_policy_test_server.h",
"search_engines/template_url_service_factory_test_util.cc",
"search_engines/template_url_service_factory_test_util.h",
"search_engines/template_url_service_test_util.cc",
@@ -4219,6 +4219,7 @@ static_library("test_support") {
"//components/invalidation/impl",
"//components/invalidation/impl:test_support",
"//components/password_manager/core/browser:test_support",
+ "//components/policy/core/browser:test_support",
"//components/prefs:test_support",
"//components/search_engines:test_support",
"//components/sessions:test_support",
@@ -4317,14 +4318,6 @@ static_library("test_support") {
deps += [ "//chromeos:test_support" ]
}
- if (enable_configuration_policy) {
- sources += [
- "policy/test/local_policy_test_server.cc",
- "policy/test/local_policy_test_server.h",
- ]
- public_deps += [ "//components/policy/core/browser:test_support" ]
- }
-
if (safe_browsing_mode == 1) {
sources += [
"extensions/fake_safe_browsing_database_manager.cc",
« no previous file with comments | « build/config/features.gni ('k') | components/BUILD.gn » ('j') | components/policy/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698