chromium/chrome/browser/ui/webui/ash/settings/pages/date_time/BUILD.gn

# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos_ash)

static_library("date_time") {
  sources = [
    "date_time_handler.cc",
    "date_time_handler.h",
    "date_time_handler_factory.cc",
    "date_time_handler_factory.h",
    "date_time_section.cc",
    "date_time_section.h",
    "new_date_time_handler.cc",
    "new_date_time_handler.h",
  ]

  public_deps = [
    "//base",
    "//chrome/browser:browser_public_dependencies",
    "//chrome/browser/ui/webui/ash/settings/pages/date_time/mojom",
    "//chromeos/ash/components/dbus/system_clock",
    "//chromeos/ash/components/settings",
    "//components/prefs",
    "//content/public/browser",
    "//mojo/public/cpp/bindings",
  ]

  deps = [
    "//ash/constants",
    "//ash/public/cpp",
    "//chrome/app:generated_resources",
    "//chrome/browser:browser_process",
    "//chrome/browser/ash/child_accounts/parent_access_code",
    "//chrome/browser/ash/profiles",
    "//chrome/browser/ash/system",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/ui/webui",
    "//chrome/browser/ui/webui/ash/set_time_dialog",
    "//chrome/browser/ui/webui/ash/settings/search",
    "//chrome/common",
    "//chrome/common:constants",
    "//components/policy/proto",
    "//components/user_manager",
    "//ui/base",
  ]
}