2019-07-30 13:27:56 +00:00
|
|
|
# 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") {
|
2019-07-30 13:58:45 +00:00
|
|
|
include_dirs = [ "../.." ]
|
2019-07-30 13:27:56 +00:00
|
|
|
public = [
|
|
|
|
"editor.h",
|
|
|
|
"stringslice.h",
|
|
|
|
]
|
|
|
|
sources = [
|
|
|
|
"editor.cpp",
|
|
|
|
"run_handler.cpp",
|
|
|
|
"run_handler.h",
|
|
|
|
"stringslice.cpp",
|
|
|
|
]
|
|
|
|
public_deps = [
|
|
|
|
"../..:skia",
|
|
|
|
]
|
|
|
|
deps = [
|
2019-07-30 13:58:45 +00:00
|
|
|
":word_boundaries",
|
2019-07-30 13:27:56 +00:00
|
|
|
"../../modules/skshaper",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-07-30 13:58:45 +00:00
|
|
|
source_set("word_boundaries") {
|
|
|
|
include_dirs = [ "../.." ]
|
|
|
|
public = [
|
|
|
|
"word_boundaries.h",
|
|
|
|
]
|
|
|
|
sources = [
|
|
|
|
"word_boundaries.cpp",
|
|
|
|
]
|
|
|
|
deps = [
|
|
|
|
"../../third_party/icu",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-07-30 13:27:56 +00:00
|
|
|
source_set("editor_app") {
|
|
|
|
testonly = true
|
|
|
|
sources = [
|
|
|
|
"editor_application.cpp",
|
|
|
|
]
|
|
|
|
deps = [
|
|
|
|
":editor_lib",
|
|
|
|
"../..:sk_app",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|