skia2/experimental/editor/BUILD.gn

53 lines
957 B
Plaintext
Raw Normal View History

# Copyright 2019 Google LLC.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../gn/skia.gni")
if (skia_use_icu && skia_use_harfbuzz) {
source_set("editor_lib") {
include_dirs = [ "../.." ]
public = [
"editor.h",
"stringslice.h",
]
sources = [
"editor.cpp",
"run_handler.cpp",
"run_handler.h",
"stringslice.cpp",
]
public_deps = [
"../..:skia",
]
deps = [
":word_boundaries",
"../../modules/skshaper",
]
}
source_set("word_boundaries") {
include_dirs = [ "../.." ]
public = [
"word_boundaries.h",
]
sources = [
"word_boundaries.cpp",
]
deps = [
"../../third_party/icu",
]
}
source_set("editor_app") {
testonly = true
sources = [
"editor_application.cpp",
]
deps = [
":editor_lib",
"../..:sk_app",
]
}
}