aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-09-06 16:59:14 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-06 21:19:18 +0000
commit3de0e496b5215bcf4b26db2d69dc84376dfd68d2 (patch)
tree5b340a6636dc0544109d623a968bd668abb23cb8 /BUILD.gn
parentbb3dc768fd57956feb3947991011052b034dcb7a (diff)
Initial checkin of SkSL lexical analyzer generator (not actually in use yet).
Bug: skia: Change-Id: I283feb9ac1cef134588204107ea019ce657e37b3 Reviewed-on: https://skia-review.googlesource.com/42084 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn10
1 files changed, 10 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7837aa6045..6796850573 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -412,6 +412,16 @@ optional("fontmgr_fuchsia") {
}
if (skia_compile_processors) {
+ executable("sksllex") {
+ sources = [
+ "src/sksl/lex/Main.cpp",
+ "src/sksl/lex/NFA.cpp",
+ "src/sksl/lex/RegexNode.cpp",
+ "src/sksl/lex/RegexParser.cpp",
+ ]
+ include_dirs = [ "src/sksl/lex" ]
+ }
+
executable("skslc") {
defines = [ "SKSL_STANDALONE" ]
sources = [