summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/supervised_user/supervised_user_error_page/BUILD.gn
blob: f6a564d99e3f312cc73f1e9697cd114aea462baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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",
  ]
}