
Also deletes the related classes in base/debug/activity_analyzer.* and base/debug/activity_tracker.*. Many files include base/debug/activity_tracker.h and do work iff a GlobalActivityTracker object exists. To keep this patch self-contained it replaces the classes in activity_tracker.h with no-op stubs instead of deleting it, so that all files that include it will still compile. A followup will delete activity_tracker.h and all uses of it. This should not cause any behaviour change because GlobalActivityTracker is only created when the ExtendedCrashReporting feature is enabled, so all uses of activity_tracker.h are already no-ops in production. Bug: 1415328 Change-Id: I940fb0e013a3ae7a939136099f34791dec914db9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4265975 Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: Joe Mason <joenotcharles@google.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1107725}
About
//build
contains:
- Core GN templates and configuration
- Core Python build scripts
Since this directory is DEPS'ed in by some other repositories (webrtc, pdfium,
v8, etc), it should be kept as self-contained as possible by not referring
to files outside of it. Some exceptions exist (//testing
, select
//third_party
subdirectories), but new dependencies tend to break these other
projects, and so should be avoided.
Changes to //build
should be landed in the Chromium repo. They will then be
replicated to the stand-alone build repo
by the gsubtreed tool.
Note: You can find all directories already available through gsubtreed in the
list of all chromium repos.
Contents
//build/config
- Common templates via.gni
files.//build/toolchain
- GN toolchain definitions.Other .py files
- Some are used by GN/Ninja. Some by gclient hooks, some are just random utilities.
Files referenced by //.gn
:
//build/BUILDCONFIG.gn
- Included by allBUILD.gn
files.//build/secondary
- An overlay forBUILD.gn
files. Enables addingBUILD.gn
to directories that live in sub-repositories.//build_overrides
- Refer to //build_overrides/README.md.