summaryrefslogtreecommitdiff
path: root/chromium/chromeos/settings/BUILD.gn
blob: 12d1ff9f4ed0da282be5a2ac97d959192c299140 (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 2018 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.

import("//testing/test.gni")

assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")

component("settings") {
  defines = [ "IS_CHROMEOS_SETTINGS_IMPL" ]
  deps = [
    "//base",
    "//base:i18n",
    "//chromeos/constants",
    "//chromeos/login/login_state",
    "//third_party/icu",
  ]
  sources = [
    "cros_settings_names.cc",
    "cros_settings_names.h",
    "cros_settings_provider.cc",
    "cros_settings_provider.h",
    "system_settings_provider.cc",
    "system_settings_provider.h",
    "timezone_settings.cc",
    "timezone_settings.h",
    "timezone_settings_helper.cc",
    "timezone_settings_helper.h",
  ]
}

source_set("unit_tests") {
  testonly = true
  deps = [
    ":settings",
    "//base",
    "//base:i18n",
    "//base/test:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/icu",
  ]
  sources = [
    "timezone_settings_unittest.cc",
  ]
}