skia2/modules/particles/BUILD.gn
Kevin Lubick 269fe89950 [canvaskit] Add particles integration
Bug: skia:
Change-Id: I5bf08e8007b59b5e21005f5004d698e53b99ffe6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/197849
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-03-06 14:52:56 +00:00

31 lines
659 B
Plaintext

# Copyright 2019 Google LLC
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
skia_enable_particles = true
}
import("../../gn/skia.gni")
config("public_config") {
if (skia_enable_particles) {
include_dirs = [ "include" ]
}
}
static_library("particles") {
if (skia_enable_particles) {
import("particles.gni")
public_configs = [ ":public_config" ]
include_dirs = [ "../../tools/timer" ]
deps = [
"../..:skia",
]
sources = skia_particle_sources
sources += [ "../../src/utils/SkTextUtils.cpp" ]
configs += [ "../../:skia_private" ]
}
}