0be3480546
This reverts commit 19754b5470
.
Bug: skia:
Change-Id: Ie531a962934ee1909fecda59a5ee48c98e66f898
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/234900
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
33 lines
690 B
Plaintext
33 lines
690 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
|
|
configs += [ "../../:skia_private" ]
|
|
if (skia_enable_tools) {
|
|
configs += [ "../../:our_vulkan_headers" ]
|
|
}
|
|
}
|
|
}
|