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 = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"include/editor.h",
|
|
|
|
"include/stringslice.h",
|
|
|
|
"include/stringview.h",
|
2019-07-30 13:27:56 +00:00
|
|
|
]
|
|
|
|
sources = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"src/editor.cpp",
|
|
|
|
"src/stringslice.cpp",
|
2019-07-30 13:27:56 +00:00
|
|
|
]
|
|
|
|
public_deps = [
|
|
|
|
"../..:skia",
|
|
|
|
]
|
2019-08-08 20:16:24 +00:00
|
|
|
deps = [
|
|
|
|
":shape",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
source_set("shape") {
|
|
|
|
include_dirs = [ "../.." ]
|
|
|
|
public = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"src/shape.h",
|
2019-08-08 20:16:24 +00:00
|
|
|
]
|
|
|
|
sources = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"src/shape.cpp",
|
2019-08-08 20:16:24 +00:00
|
|
|
]
|
|
|
|
public_deps = [
|
|
|
|
"../..:skia",
|
|
|
|
]
|
2019-07-30 13:27:56 +00:00
|
|
|
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 = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"src/word_boundaries.h",
|
2019-07-30 13:58:45 +00:00
|
|
|
]
|
|
|
|
sources = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"src/word_boundaries.cpp",
|
2019-07-30 13:58:45 +00:00
|
|
|
]
|
|
|
|
deps = [
|
|
|
|
"../../third_party/icu",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-07-30 13:27:56 +00:00
|
|
|
source_set("editor_app") {
|
|
|
|
testonly = true
|
|
|
|
sources = [
|
2019-08-23 14:16:51 +00:00
|
|
|
"app/editor_application.cpp",
|
2019-07-30 13:27:56 +00:00
|
|
|
]
|
2019-07-30 16:37:43 +00:00
|
|
|
public_deps = [
|
|
|
|
"../..:sk_app",
|
|
|
|
]
|
2019-07-30 13:27:56 +00:00
|
|
|
deps = [
|
|
|
|
":editor_lib",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|