BUILD.gn 567 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 2021 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/ui.gni")
  5. component("lottie") {
  6. sources = [
  7. "animation.cc",
  8. "animation.h",
  9. "animation_observer.h",
  10. "resource.cc",
  11. "resource.h",
  12. ]
  13. defines = [ "IS_UI_LOTTIE_IMPL" ]
  14. deps = [
  15. "//base",
  16. "//build:chromeos_buildflags",
  17. "//cc/paint",
  18. "//ui/gfx",
  19. ]
  20. if (is_chromeos_ash) {
  21. deps += [
  22. "//ui/base",
  23. "//ui/color",
  24. ]
  25. }
  26. }