d12f2786e2
Currently just for image drawable, but going to use this for references to other kinds of data in bindings, too. Change-Id: Ic6673530013337bbaadd2d3f1c040626ec24ffb8 Bug: skia:9513 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256776 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>
34 lines
714 B
Plaintext
34 lines
714 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",
|
|
"../skresources",
|
|
]
|
|
sources = skia_particle_sources
|
|
configs += [ "../../:skia_private" ]
|
|
if (skia_enable_tools) {
|
|
configs += [ "../../:our_vulkan_headers" ]
|
|
}
|
|
}
|
|
}
|