Remove checked-in generated files and use build-time gen ones
Pre-requisite step for http://go/perfetto-libprotobuf
(get rid of libprotobuf runtime dependency).
This change keeps some checked-in headers as proxy shims
(e.g. include/core/data_source_config.h has only
#include ".../data_source_config.gen.h")
This is to handle potential reverts of the chromium roll
more easily. They will be removed in a follow-up.
Bug: 132880619
Test: CI
Change-Id: I2d8c391b060dac37209a640e269e13ae34e8981f
diff --git a/test/end_to_end_benchmark.cc b/test/end_to_end_benchmark.cc
index 48aaab2..5cdedb3 100644
--- a/test/end_to_end_benchmark.cc
+++ b/test/end_to_end_benchmark.cc
@@ -19,7 +19,6 @@
#include "perfetto/base/time.h"
#include "perfetto/ext/traced/traced.h"
#include "perfetto/ext/tracing/core/trace_packet.h"
-#include "perfetto/tracing/core/test_config.h"
#include "perfetto/tracing/core/trace_config.h"
#include "src/base/test/test_task_runner.h"
#include "test/gtest_and_gmock.h"
@@ -27,7 +26,7 @@
#include "test/task_runner_thread_delegates.h"
#include "test/test_helper.h"
-#include "protos/perfetto/trace/trace_packet.pb.h"
+#include "protos/perfetto/config/test_config.gen.h"
#include "protos/perfetto/trace/trace_packet.pbzero.h"
namespace perfetto {