Split kernel/gazetteer, cut off redundant dependencies when building gztproto files
@@ -2387,8 +2387,8 @@ macro _SRC("proto", SRC, SRCFLAGS...) {
macro _SRC("gztproto", SRC, SRCFLAGS...) {
# PROTO_PATH is before ARCADIA_ROOT in includes because in gazetteer we don't use builtins now and paths'canonization (resolving) depends on order of roots.
# descriptor.proto must be resolved as google/protobuf/descriptor.proto
- .CMD=${tool:"dict/gazetteer/compiler"} -p -I$PROTO_PATH -I$ARCADIA_ROOT ${SRCFLAGS} ${input:SRC} ${output;noext:SRC.proto} ${kv;hide:"p GZ"} ${kv;hide:"pc yellow"}
- .PEERDIR=kernel/gazetteer
+ .CMD=${tool:"dict/gazetteer/converter"} -I$PROTO_PATH -I$ARCADIA_ROOT ${SRCFLAGS} ${input:SRC} ${output;noext:SRC.proto} ${kv;hide:"p GZ"} ${kv;hide:"pc yellow"}
+ .PEERDIR=kernel/gazetteer/proto
}
macro _SRC("pyx", SRC, SRCFLAGS...) {
