third_party: add libpg_query and sqlc
This adds sqlc, a SQL query code generator for Go (and other languages).
It in turn requires pganalyze's libpg_query, which is a C library for
parsing PostgreSQL queries.
To test:
$ bazel build @com_github_kyleconroy_sqlc//cmd/sqlc
In the future this will be used by Bazel rules to generate sources at
build time.
Change-Id: I369c9ab503e8ce6952fd3f73c233dd3d59922358
Reviewed-on: https://review.monogon.dev/c/monogon/+/882
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/build/analysis/nogo_config.json b/build/analysis/nogo_config.json
index 739d86e..885bdef 100644
--- a/build/analysis/nogo_config.json
+++ b/build/analysis/nogo_config.json
@@ -34,7 +34,8 @@
"external/com_github_mailru_easyjson/jlexer/": "third_party",
"external/com_github_cilium_ebpf/": "third_party",
"external/org_golang_x_sys": "third_party",
- "external/net_starlark_go": "third_party"
+ "external/net_starlark_go": "third_party",
+ "external/com_github_pingcap_tidb_parser": "third_party"
}
},
"unusedresult": {
@@ -69,5 +70,10 @@
"exclude_files": {
"external/": "third_party"
}
+ },
+ "stdmethods": {
+ "exclude_files": {
+ "external/": "third_party"
+ }
}
}