Further minor GN & scripts cleanups
Some other minor cleanups in preparation of bigger refactoring
CLs. It mainly cleans up some overlap of minimal / non-minimal
protos, missing .h and minor python scripts stuff.
Bug: 132678367
Change-Id: Id1bf14c07bf99fc4982e6c5990451561a69d0b45
diff --git a/src/trace_processor/trace_processor_shell.cc b/src/trace_processor/trace_processor_shell.cc
index 2ec46c2..5cca3c9 100644
--- a/src/trace_processor/trace_processor_shell.cc
+++ b/src/trace_processor/trace_processor_shell.cc
@@ -56,6 +56,9 @@
#include <linenoise.h>
#include <pwd.h>
#include <sys/types.h>
+#endif
+
+#if PERFETTO_BUILDFLAG(PERFETTO_VERSION_GEN)
#include "perfetto_version.gen.h"
#else
#define PERFETTO_GET_GIT_REVISION() "unknown"