BUILD.gn 606 B

1234567891011121314151617181920212223242526272829
  1. # Copyright 2019 Google LLC
  2. #
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. declare_args() {
  6. skia_enable_particles = true
  7. }
  8. import("../../gn/skia.gni")
  9. config("public_config") {
  10. if (skia_enable_particles) {
  11. include_dirs = [ "include" ]
  12. }
  13. }
  14. static_library("particles") {
  15. if (skia_enable_particles) {
  16. import("particles.gni")
  17. public_configs = [ ":public_config" ]
  18. include_dirs = [ "../../tools/timer" ]
  19. deps = [
  20. "../..:skia",
  21. ]
  22. sources = skia_particle_sources
  23. configs += [ "../../:skia_private" ]
  24. }
  25. }