summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/supervised_user
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/supervised_user')
-rw-r--r--chromium/chrome/browser/supervised_user/supervised_user_error_page/BUILD.gn46
1 files changed, 46 insertions, 0 deletions
diff --git a/chromium/chrome/browser/supervised_user/supervised_user_error_page/BUILD.gn b/chromium/chrome/browser/supervised_user/supervised_user_error_page/BUILD.gn
new file mode 100644
index 00000000000..f6a564d99e3
--- /dev/null
+++ b/chromium/chrome/browser/supervised_user/supervised_user_error_page/BUILD.gn
@@ -0,0 +1,46 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if (is_android) {
+ import("//build/config/android/rules.gni")
+}
+
+static_library("supervised_user_error_page") {
+ sources = [
+ "supervised_user_error_page.cc",
+ "supervised_user_error_page.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chrome/app:generated_resources",
+ "//chrome/browser:resources_grit",
+ "//ui/base",
+ ]
+}
+
+if (is_android) {
+ java_cpp_enum("enums_srcjar") {
+ sources = [
+ "supervised_user_error_page.h",
+ ]
+ }
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "supervised_user_error_page_unittest.cc",
+ ]
+ deps = [
+ ":supervised_user_error_page",
+ "//base",
+ "//base/test:test_support",
+ "//chrome/app:generated_resources",
+ "//chrome/browser:resources_grit",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/base",
+ ]
+}