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

Issue 2368633002: Fix chrome/browser/ui dependency on components/translate (Closed)

Created:
4 years, 3 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix chrome/browser/ui dependency on components/translate It needs to be a public dependency as it's exposed by chrome/browser/ui/browser.h and uses generated code. BUG=649766 R=thakis@chromium.org TBR=ben@chromium.org Committed: https://crrev.com/387131a7eec324495c917bbd5317c3659a487011 Cr-Commit-Position: refs/heads/master@{#420717}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Ken Rockot(use gerrit already)
4 years, 3 months ago (2016-09-23 19:14:41 UTC) #2
Nico
lgtm This happens all the time with mojo code :-/
4 years, 3 months ago (2016-09-23 19:16:24 UTC) #4
Ken Rockot(use gerrit already)
Yes but the underlying problem is that very few developers seem to understand the difference ...
4 years, 3 months ago (2016-09-23 19:21:23 UTC) #5
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/2368633002/1
4 years, 3 months ago (2016-09-23 19:23:06 UTC) #8
Nico
Yeah, but generated header files have been a known broken thing since forever (protoc writes ...
4 years, 3 months ago (2016-09-23 19:24:48 UTC) #9
Ken Rockot(use gerrit already)
I don't think it's fair to claim your suggestion was ignored so much as there's ...
4 years, 3 months ago (2016-09-23 19:44:33 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-23 20:31:19 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/387131a7eec324495c917bbd5317c3659a487011 Cr-Commit-Position: refs/heads/master@{#420717}
4 years, 3 months ago (2016-09-23 20:32:58 UTC) #13
Nico
4 years, 3 months ago (2016-09-23 20:38:02 UTC) #14
Message was sent while issue was closed.
On Fri, Sep 23, 2016 at 3:44 PM, Ken Rockot <rockot@chromium.org> wrote:

> I don't think it's fair to claim your suggestion was ignored so much as
> there's disagreement about whether this should be treated as a blocking
> issue.
>
> It would certainly be nice to have checks to help people get their deps
> right, but the impact does not seem to be as detrimental as your language
> would imply unless I'm missing some evidence to the contrary.
>

I don't keep a record, but it feels like the tree breaks due to this
problem every 1-2 weeks, which is unusually common for a single problem
cause.


>
> On Fri, Sep 23, 2016 at 12:24 PM, Nico Weber <thakis@chromium.org> wrote:
>
>> Yeah, but generated header files have been a known broken thing since
>> forever (protoc writes them too), and I suggested that we should probably
>> solve this problem before adopting mojo widely. That was ignored, and
>> predictably this is now broken all the time :-/
>>
>> On Fri, Sep 23, 2016 at 3:21 PM, Ken Rockot <rockot@chromium.org> wrote:
>>
>>> Yes but the underlying problem is that very few developers seem to
>>> understand the difference between deps and public_deps and so very few
>>> developers get it right. This mostly manifests as mojom compile errors
>>> because getting the wrong public_deps only really breaks things when
>>> configs or generated files are involved.
>>>
>>> What we really need is for GN check to understand public_deps and
>>> enforce their proper use, but that seems like a hard problem. IIRC Brett
>>> punted on it previously.
>>>
>>> On Fri, Sep 23, 2016 at 12:16 PM, <thakis@chromium.org> wrote:
>>>
>>>> lgtm
>>>>
>>>> This happens all the time with mojo code :-/
>>>>
>>>> https://codereview.chromium.org/2368633002/
>>>>
>>>
>>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698