Revert "Reduce build size when building with Perfetto SDK"
This reverts commit 0d4200055b
.
Reason for revert: Breaks integration bots, and blocks API changes : https://ci.chromium.org/ui/p/v8/builders/try/v8_linux_chromium_gn_rel/83678/overview
Original change's description:
> Reduce build size when building with Perfetto SDK
>
> Building Chromium with full Perfetto SDK included increases build time
> significantly. We can reduce this overhead by including only those
> parts that are required. See b/266913150 for context.
>
> Change-Id: I0cde5cb7df7b6151ec686e993488d8467c416fac
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4212390
> Reviewed-by: Toon Verwaest <verwaest@chromium.org>
> Commit-Queue: Mikhail Khokhlov <khokhlov@google.com>
> Cr-Commit-Position: refs/heads/main@{#85603}
Change-Id: I88210ada35e0d7e68a0dbccad518cf6177303430
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4216171
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Owners-Override: Deepti Gandluri <gdeepti@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85606}
This commit is contained in:
parent
806edfa6ea
commit
44324c1fc1
3
src/DEPS
3
src/DEPS
@ -86,8 +86,7 @@ specific_include_rules = {
|
||||
"d8\.cc": [
|
||||
"+include/libplatform/libplatform.h",
|
||||
"+include/libplatform/v8-tracing.h",
|
||||
"+perfetto/tracing/track_event.h",
|
||||
"+perfetto/tracing/track_event_legacy.h"
|
||||
"+perfetto/tracing.h"
|
||||
],
|
||||
"d8-platforms\.cc": [
|
||||
"+include/libplatform/libplatform.h",
|
||||
|
@ -79,8 +79,7 @@
|
||||
#endif // V8_FUZZILLI
|
||||
|
||||
#ifdef V8_USE_PERFETTO
|
||||
#include "perfetto/tracing/track_event.h"
|
||||
#include "perfetto/tracing/track_event_legacy.h"
|
||||
#include "perfetto/tracing.h"
|
||||
#endif // V8_USE_PERFETTO
|
||||
|
||||
#ifdef V8_INTL_SUPPORT
|
||||
|
@ -1,5 +1,4 @@
|
||||
include_rules = [
|
||||
"+perfetto/tracing/track_event.h",
|
||||
"+perfetto/tracing/track_event_legacy.h",
|
||||
"+perfetto/tracing.h",
|
||||
"+protos/perfetto"
|
||||
]
|
||||
|
@ -19,8 +19,7 @@
|
||||
// For now most of v8 uses legacy trace events.
|
||||
#define PERFETTO_ENABLE_LEGACY_TRACE_EVENTS 1
|
||||
|
||||
#include "perfetto/tracing/track_event.h"
|
||||
#include "perfetto/tracing/track_event_legacy.h"
|
||||
#include "perfetto/tracing.h"
|
||||
|
||||
// Trace category prefixes used in tests.
|
||||
PERFETTO_DEFINE_TEST_CATEGORY_PREFIXES("v8-cat", "cat", "v8.Test2");
|
||||
|
@ -11,8 +11,7 @@
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
#ifdef V8_USE_PERFETTO
|
||||
#include "perfetto/tracing/track_event.h"
|
||||
#include "perfetto/tracing/track_event_legacy.h"
|
||||
#include "perfetto/tracing.h"
|
||||
#include "protos/perfetto/trace/trace.pb.h" // nogncheck
|
||||
#include "src/libplatform/tracing/trace-event-listener.h"
|
||||
#include "src/tracing/traced-value.h"
|
||||
|
Loading…
Reference in New Issue
Block a user