Add MEDIA_EXPORT for AudioManagerApple [chromium/src : main]

0 views
Skip to first unread message

Olga Sharonova (Gerrit)

unread,
Jan 16, 2026, 10:47:09 AM (6 days ago) Jan 16
to Qihu Yuan, Tomas Gunnarsson, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Qihu Yuan and Tomas Gunnarsson

Olga Sharonova added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Olga Sharonova . resolved

The problem is unclear. Chromium builds just fine at the moment.

Open in Gerrit

Related details

Attention is currently required from:
  • Qihu Yuan
  • Tomas Gunnarsson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Tomas Gunnarsson <to...@chromium.org>
Gerrit-Attention: Qihu Yuan <yxm...@gmail.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 15:46:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Tomas Gunnarsson (Gerrit)

unread,
Jan 16, 2026, 11:17:06 AM (6 days ago) Jan 16
to Qihu Yuan, Olga Sharonova, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Qihu Yuan

Tomas Gunnarsson added 1 comment

Patchset-level comments
Tomas Gunnarsson . resolved

can you add the problematic build configuration to the bug?

Open in Gerrit

Related details

Attention is currently required from:
  • Qihu Yuan
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Qihu Yuan <yxm...@gmail.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 16:16:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Qihu Yuan (Gerrit)

unread,
Jan 18, 2026, 10:32:05 PM (4 days ago) Jan 18
to Tomas Gunnarsson, Olga Sharonova, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Olga Sharonova

Qihu Yuan added 1 comment

Patchset-level comments
Olga Sharonova . resolved

The problem is unclear. Chromium builds just fine at the moment.

Qihu Yuan

The issue occurs when using AudioManagerMac across module boundaries (Mac Debug). While the internal Chromium build works (since AudioManagerApple isn't used across modules internally), its missing MEDIA_EXPORT breaks symbol visibility for derived classes in external modules. This appears to be an oversight in the export design.

cc@tommi@chromium.org

Open in Gerrit

Related details

Attention is currently required from:
  • Olga Sharonova
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
Gerrit-Comment-Date: Mon, 19 Jan 2026 03:31:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Tomas Gunnarsson (Gerrit)

unread,
Jan 19, 2026, 4:13:53 AM (3 days ago) Jan 19
to Qihu Yuan, Olga Sharonova, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Olga Sharonova and Qihu Yuan

Tomas Gunnarsson added 1 comment

Patchset-level comments
Olga Sharonova . resolved

The problem is unclear. Chromium builds just fine at the moment.

Qihu Yuan

The issue occurs when using AudioManagerMac across module boundaries (Mac Debug). While the internal Chromium build works (since AudioManagerApple isn't used across modules internally), its missing MEDIA_EXPORT breaks symbol visibility for derived classes in external modules. This appears to be an oversight in the export design.

cc@tommi@chromium.org

Tomas Gunnarsson

Sounds like you're fixing something that's an issue with an external project and not something that is a part of any of the targets in chromium. How would this get detected if it regressed?

Open in Gerrit

Related details

Attention is currently required from:
  • Olga Sharonova
  • Qihu Yuan
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
Gerrit-Attention: Qihu Yuan <yxm...@gmail.com>
Gerrit-Comment-Date: Mon, 19 Jan 2026 09:13:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
Comment-In-Reply-To: Qihu Yuan <yxm...@gmail.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Qihu Yuan (Gerrit)

unread,
Jan 19, 2026, 9:35:36 PM (3 days ago) Jan 19
to Tomas Gunnarsson, Olga Sharonova, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Olga Sharonova and Tomas Gunnarsson

Qihu Yuan added 1 comment

Patchset-level comments
Olga Sharonova . resolved

The problem is unclear. Chromium builds just fine at the moment.

Qihu Yuan

The issue occurs when using AudioManagerMac across module boundaries (Mac Debug). While the internal Chromium build works (since AudioManagerApple isn't used across modules internally), its missing MEDIA_EXPORT breaks symbol visibility for derived classes in external modules. This appears to be an oversight in the export design.

cc@tommi@chromium.org

Tomas Gunnarsson

Sounds like you're fixing something that's an issue with an external project and not something that is a part of any of the targets in chromium. How would this get detected if it regressed?

Qihu Yuan

You’re right—this is indeed an issue that surfaces only in external usage scenarios, and it does not affect Chromium’s current internal builds.
If the focus remains solely on Chromium’s existing targets, we understand that this may not be treated as a required fix. We can certainly work around it in our own code by adding the MEDIA_EXPORT locally.
I could also contribute a minimal test target to validate cross-module usage, though I recognize that may not be needed for Chromium.
Please advise on your preference.

Open in Gerrit

Related details

Attention is currently required from:
  • Olga Sharonova
  • Tomas Gunnarsson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
Gerrit-Attention: Tomas Gunnarsson <to...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 02:35:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
Comment-In-Reply-To: Tomas Gunnarsson <to...@chromium.org>
Comment-In-Reply-To: Qihu Yuan <yxm...@gmail.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Olga Sharonova (Gerrit)

unread,
7:51 AM (3 hours ago) 7:51 AM
to Qihu Yuan, Tomas Gunnarsson, Aaron Teo, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org
Attention needed from Qihu Yuan and Tomas Gunnarsson

Olga Sharonova added 1 comment

Patchset-level comments
Olga Sharonova . resolved

The problem is unclear. Chromium builds just fine at the moment.

Qihu Yuan

The issue occurs when using AudioManagerMac across module boundaries (Mac Debug). While the internal Chromium build works (since AudioManagerApple isn't used across modules internally), its missing MEDIA_EXPORT breaks symbol visibility for derived classes in external modules. This appears to be an oversight in the export design.

cc@tommi@chromium.org

Tomas Gunnarsson

Sounds like you're fixing something that's an issue with an external project and not something that is a part of any of the targets in chromium. How would this get detected if it regressed?

Qihu Yuan

You’re right—this is indeed an issue that surfaces only in external usage scenarios, and it does not affect Chromium’s current internal builds.
If the focus remains solely on Chromium’s existing targets, we understand that this may not be treated as a required fix. We can certainly work around it in our own code by adding the MEDIA_EXPORT locally.
I could also contribute a minimal test target to validate cross-module usage, though I recognize that may not be needed for Chromium.
Please advise on your preference.

Olga Sharonova

It's preferable to not add any code Chromium does not benefit from directly, as any new code always means an added maintenance cost.

Open in Gerrit

Related details

Attention is currently required from:
  • Qihu Yuan
  • Tomas Gunnarsson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie96bbbdb200ed53426c7f53f44b028a11646ef09
Gerrit-Change-Number: 7481068
Gerrit-PatchSet: 1
Gerrit-Owner: Qihu Yuan <yxm...@gmail.com>
Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
Gerrit-Reviewer: Tomas Gunnarsson <to...@chromium.org>
Gerrit-CC: Aaron Teo <hoch...@chromium.org>
Gerrit-Attention: Tomas Gunnarsson <to...@chromium.org>
Gerrit-Attention: Qihu Yuan <yxm...@gmail.com>
Gerrit-Comment-Date: Thu, 22 Jan 2026 12:50:49 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages