| 1 |
load("@rules_cc//cc:cc_binary.bzl", "cc_binary") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
cc_binary( |
| 10 |
name = "sksllex", |
| 11 |
srcs = [ |
| 12 |
"DFA.h", |
| 13 |
"DFAState.h", |
| 14 |
"LexUtil.h", |
| 15 |
"Main.cpp", |
| 16 |
"NFA.cpp", |
| 17 |
"NFA.h", |
| 18 |
"NFAState.h", |
| 19 |
"NFAtoDFA.h", |
| 20 |
"RegexNode.cpp", |
| 21 |
"RegexNode.h", |
| 22 |
"RegexParser.cpp", |
| 23 |
"RegexParser.h", |
| 24 |
"TransitionTable.cpp", |
| 25 |
"TransitionTable.h", |
| 26 |
], |
| 27 |
) |
| 28 |
|
| 29 |
# TODO(kjlubick) we'll need to have a gen_rule or similar to replace //gn/run_sksllex.py |