BUILD.gn 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 2019 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/chromeos/ui_mode.gni")
  5. assert(is_chromeos_ash, "Non-Chrome-OS builds must not depend on //ash")
  6. component("constants") {
  7. output_name = "ash_constants"
  8. defines = [ "IS_ASH_CONSTANTS_IMPL" ]
  9. sources = [
  10. "ambient_animation_theme.cc",
  11. "ambient_animation_theme.h",
  12. "app_types.h",
  13. "ash_constants.cc",
  14. "ash_constants.h",
  15. "ash_features.cc",
  16. "ash_features.h",
  17. "ash_paths.cc",
  18. "ash_paths.h",
  19. "ash_pref_names.cc",
  20. "ash_pref_names.h",
  21. "ash_switches.cc",
  22. "ash_switches.h",
  23. "devicetype.cc",
  24. "devicetype.h",
  25. "notifier_catalogs.h",
  26. "personalization_entry_point.h",
  27. "url_constants.cc",
  28. "url_constants.h",
  29. ]
  30. public_deps = [
  31. "//base",
  32. "//chromeos/constants",
  33. "//skia",
  34. "//third_party/abseil-cpp:absl",
  35. "//url",
  36. ]
  37. deps = [ "//build:branding_buildflags" ]
  38. }