Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Issue 2901943003: media: Fix //media/mojo/clients visibility (Closed)

Created:
3 years, 7 months ago by xhwang
Modified:
3 years, 7 months ago
Reviewers:
jrummell, brettw
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, alokp+watch_chromium.org, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Fix //media/mojo/clients visibility Currently //content/renderer:renderer is in //media/mojo/clients' visibility list. However when using split_static_library, we could end up having //content/renderer:renderer_0 target which has all the same dependencies as //content/renderer:renderer. However, //content/renderer:renderer_0 isn't in //media/mojo/clients' visibility list, causing gn check failures. This is not the first time split_static_library causing similar issues. For example, see issue 645621. I'll send an email discussing this generic issue. Meanwhile, this CL relaxes the visibility rule such that all //content/renderer:* targets are in //media/mojo/clients' visibility list. This is also how issue 645621 was "fixed". Here's the current gn check log: ------------------------------------------ C:\b\c\b\win_chrome\src\buildtools\win\gn.exe gen //out/Release --check -> returned 1 ERROR at //build/split_static_library.gni:27:7: Dependency not allowed. static_library(current_name) { ^----------------------------- The item //content/renderer:renderer_0 can not depend on //media/mojo/clients:clients because it is not in //media/mojo/clients:clients's visibility list: [ //content/renderer:renderer ... ] ------------------------------------------ BUG=725808 Review-Url: https://codereview.chromium.org/2901943003 Cr-Commit-Position: refs/heads/master@{#474375} Committed: https://chromium.googlesource.com/chromium/src/+/c1878a272a87bd797949717bebdfdbc1e6f0c143

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M media/mojo/clients/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
xhwang
jrummell: PTAL brettw: FYI
3 years, 7 months ago (2017-05-24 16:56:03 UTC) #3
jrummell
lgtm
3 years, 7 months ago (2017-05-24 18:22:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901943003/1
3 years, 7 months ago (2017-05-24 18:27:05 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 18:49:03 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c1878a272a87bd797949717bebdf...

Powered by Google App Engine
This is Rietveld 408576698