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

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

component("constants") {
  output_name = "ash_constants"
  defines = [ "IS_ASH_CONSTANTS_IMPL" ]
  sources = [
    "ambient_time_of_day_constants.h",
    "ambient_video.cc",
    "ambient_video.h",
    "ash_constants.cc",
    "ash_constants.h",
    "ash_extension_constants.h",
    "ash_features.cc",
    "ash_features.h",
    "ash_login_pref_names.h",
    "ash_paths.cc",
    "ash_paths.h",
    "ash_policy_pref_names.h",
    "ash_pref_names.h",
    "ash_switches.cc",
    "ash_switches.h",
    "chrome_custom_icon_catalog.h",
    "chrome_pref_names.h",
    "chrome_url_constants.h",
    "chrome_webui_url_constants.h",
    "devicetype.cc",
    "devicetype.h",
    "generative_ai_country_restrictions.cc",
    "generative_ai_country_restrictions.h",
    "geolocation_access_level.h",
    "notifier_catalogs.h",
    "quick_settings_catalogs.h",
    "tray_background_view_catalog.h",
    "url_constants.h",
    "web_app_id_constants.h",
    "webui_url_constants.h",
  ]
  public_deps = [
    "//base",
    "//chromeos/constants",
    "//skia",
    "//third_party/abseil-cpp:absl",
    "//url",
  ]
  deps = [
    "//build:branding_buildflags",
    "//build:chromeos_buildflags",
    "//chromeos/components/libsegmentation:buildflags",
  ]
}
