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

Unified Diff: components/supervised_user_error_page/BUILD.gn

Issue 1808653003: Move the supervised user error page to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update OWNERS files Created 4 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
Index: components/supervised_user_error_page/BUILD.gn
diff --git a/components/network_time/BUILD.gn b/components/supervised_user_error_page/BUILD.gn
similarity index 50%
copy from components/network_time/BUILD.gn
copy to components/supervised_user_error_page/BUILD.gn
index 15d67a5fa9bf7d1c1e9b6ccce3487ef6d4b86f94..ae445f9a505b62cf42c6279919dff059c44f2bba 100644
--- a/components/network_time/BUILD.gn
+++ b/components/supervised_user_error_page/BUILD.gn
@@ -2,32 +2,32 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("network_time") {
+source_set("supervised_user_error_page") {
sources = [
- "network_time_pref_names.cc",
- "network_time_pref_names.h",
- "network_time_tracker.cc",
- "network_time_tracker.h",
+ "supervised_user_error_page.cc",
+ "supervised_user_error_page.h",
]
deps = [
"//base",
- "//base:i18n",
- "//components/prefs",
+ "//components/resources",
+ "//components/strings",
+ "//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "network_time_tracker_unittest.cc",
+ "supervised_user_error_page_unittest.cc",
]
-
deps = [
- ":network_time",
+ ":supervised_user_error_page",
"//base",
"//base/test:test_support",
- "//components/prefs:test_support",
+ "//components/resources",
+ "//components/strings",
+ "//testing/gmock",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698