Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Darwin] Enable ARC in darwin/common unit tests #44396

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

cbracken
Copy link
Member

@cbracken cbracken commented Aug 4, 2023

The end goal is for all Objective-C code to be compiled with ARC enabled. The common framework code is already compiled with ARC enabled; this enables it for the tests as well.

This is prework before migrating FlutterBinaryMessengerRelay to the common Darwin code.

Issue: flutter/flutter#116445

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@cbracken cbracken force-pushed the darwin-common-unittests-arc branch 2 times, most recently from 79cb2d4 to 6076c59 Compare August 4, 2023 18:04
The end goal is for all Objective-C code to be compiled with ARC
enabled. The common framework code is already compiled with ARC enabled;
this enables it for the tests as well.

Issue: flutter/flutter#116445
@cbracken cbracken force-pushed the darwin-common-unittests-arc branch from 6076c59 to 8424513 Compare August 4, 2023 19:22
@cbracken cbracken added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 4, 2023
@auto-submit auto-submit bot merged commit 4f4734c into flutter:main Aug 4, 2023
@cbracken cbracken deleted the darwin-common-unittests-arc branch August 4, 2023 20:05
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 4, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 4, 2023
…131955)

flutter/engine@c254deb...4f4734c

2023-08-04 [email protected] [Darwin] Enable ARC in darwin/common unit tests (flutter/engine#44396)
2023-08-04 [email protected] Roll Skia from 45c0a830d805 to 6dc76e862f90 (2 revisions) (flutter/engine#44399)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
The end goal is for all Objective-C code to be compiled with ARC enabled. The common framework code is already compiled with ARC enabled; this enables it for the tests as well.

This is prework before migrating FlutterBinaryMessengerRelay to the common Darwin code.

Issue: flutter/flutter#116445

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-ios platform-macos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants