-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate src/third_party/perfetto
to src/flutter/third_party
.
#144204
Comments
As part of merging Flutter's flutter/buildroot and flutter/engine repos, Flutter is migrating all third-party dependencies from //third_party to //flutter/third_party. This change allows consumers of the Dart SDK (notably Flutter), to override the path of their third_party/perfetto directory. Issue: flutter/flutter#144204 Part of: flutter/flutter#67373
As part of merging Flutter's flutter/buildroot and flutter/engine repos, Flutter is migrating all third-party dependencies from //third_party to //flutter/third_party. This change allows consumers of the Dart SDK (notably Flutter), to override the path of their third_party/perfetto directory by setting perfetto_root_path in //build_overrides/build.gn. The Dart SDK does not override perfetto's path, but does override other variables (perfetto_build_with_embedder) in the equivalent overrides file secondary/build_overrides/build.gn. TEST=None. Refactor only; no semantic changes. Issue: flutter/flutter#144204 Change-Id: Ie3835a5507a39bf2d68b1c86d42c626093358b17 Part of: flutter/flutter#67373 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356622 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Chris Bracken <cbracken@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
Landed https://dart-review.googlesource.com/c/sdk/+/356622 in the Dart SDK which, once it rolls into the engine, will allow flutter/engine#51272 to land. |
In https://dart-review.googlesource.com/c/sdk/+/356622 we updated the perfetto include directory in libprotozero_config to use `perfetto_root_path` rather than hardcoding `//third_party/perfetto`. Some Perfetto headers, however, #include a generated header, which is located at `$root_gen_dir/$perfetto_root_path/build_config`. See declaration of perfetto_build_flags.h and buildflag_gen_dir_ at: https://flutter.googlesource.com/third_party/perfetto/+/refs/heads/main/gn/BUILD.gn#26 This was missed in the first patch since while the default local engine build of Flutter DOES do all gn processing, it DOES NOT do a full Dart build, our presubmits however, revealed the gap. This updates the include directories for the config to use the correct value as declared in perfetto. TEST=None. Refactor only; no semantic changes. Issue: flutter/flutter#144204 Change-Id: I44c1269af85e40eab8e397c3d099f5dc1bca1229 Part of: flutter/flutter#67373 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356960 Commit-Queue: Chris Bracken <cbracken@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
Landed https://dart-review.googlesource.com/c/sdk/+/356960 as a followup. Once this rolls into the engine, I'll rebase flutter/engine#51272. |
Migrate perfetto from the buildroot's third_party directory to the engine's. Issue: flutter/flutter#144204 Part of: flutter/flutter#67373 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Fixed! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Part of #67373.
If you think this will take longer than our check-in on March 11th, just LMK!
The text was updated successfully, but these errors were encountered: