c85f8e8dda
Avoids double-compiling SkTextUtils (with different settings), which is already in the dependent 'skia' target. Change-Id: I3f803e7ebcc0787b8b47a85d2a5a52fd8e0778db Reviewed-on: https://skia-review.googlesource.com/c/skia/+/207866 Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
30 lines
606 B
Plaintext
30 lines
606 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" ]
|
|
}
|
|
}
|