Add support code to the extractor library.
Summary:
Move the functions for handling extra action info, writing output, and
package-name checking from the extractor binary into the support library.
Drop utility code now obtained from the extractor package.
Reviewers: shahms, #core_team
Subscribers: #core_team
@@ -4,7 +4,10 @@ package(default_visibility = ["//kythe:default_visibility"])
go_package_library(
name = "bazel",
- srcs = ["extractor.go"],
+ srcs = [
+ "extractor.go",
+ "utils.go",
+ ],
deps = [
"//kythe/go/extractors/golang",
"//kythe/go/extractors/govname",
