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

Issue 23513035: Create separate extensions_common and extensions_browser GYP targets. (Closed)

Created:
7 years, 3 months ago by Yoyo Zhou
Modified:
7 years, 2 months ago
Reviewers:
benwells1, benwells, Nico
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Create separate extensions_common and extensions_browser GYP targets. BUG=162530 R=benwells@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225260

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : static #

Patch Set 5 : c4267 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -72 lines) Patch
M chrome/chrome_browser_extensions.gypi View 1 2 3 2 chunks +1 line, -11 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 2 chunks +1 line, -61 lines 0 comments Download
A extensions/extensions.gyp View 1 2 3 4 1 chunk +113 lines, -0 lines 3 comments Download

Messages

Total messages: 21 (0 generated)
Yoyo Zhou
7 years, 3 months ago (2013-09-10 22:24:39 UTC) #1
benwells
lgtm
7 years, 3 months ago (2013-09-11 04:33:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/2001
7 years, 3 months ago (2013-09-11 13:17:31 UTC) #3
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_extensions.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-11 13:17:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/8001
7 years, 3 months ago (2013-09-24 00:15:26 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-24 01:52:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/35001
7 years, 2 months ago (2013-09-24 21:36:19 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=171408
7 years, 2 months ago (2013-09-24 23:28:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/35001
7 years, 2 months ago (2013-09-24 23:33:08 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-09-25 00:00:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/58001
7 years, 2 months ago (2013-09-25 00:12:23 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=157959
7 years, 2 months ago (2013-09-25 05:32:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/58001
7 years, 2 months ago (2013-09-25 19:06:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/23513035/58001
7 years, 2 months ago (2013-09-25 21:25:51 UTC) #14
Yoyo Zhou
Committed patchset #5 manually as r225260 (presubmit successful).
7 years, 2 months ago (2013-09-25 21:45:59 UTC) #15
Nico
https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp File extensions/extensions.gyp (right): https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp#newcode5 extensions/extensions.gyp:5: { This is missing chromium_source: 1. Adding this in ...
7 years, 2 months ago (2013-10-23 18:26:58 UTC) #16
Yoyo Zhou
https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp File extensions/extensions.gyp (right): https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp#newcode9 extensions/extensions.gyp:9: 'type': 'static_library', On 2013/10/23 18:26:59, Nico wrote: > Is ...
7 years, 2 months ago (2013-10-24 01:23:42 UTC) #17
benwells
On 2013/10/24 01:23:42, Yoyo Zhou wrote: > https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp > File extensions/extensions.gyp (right): > > https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp#newcode9 ...
7 years, 2 months ago (2013-10-24 03:57:51 UTC) #18
Nico
I thought part of the point of components/ was that they have sane dependencies (at ...
7 years, 2 months ago (2013-10-24 04:00:07 UTC) #19
benwells1
Yes, that is the end goal. At the moment we have a component which has ...
7 years, 2 months ago (2013-10-24 04:08:49 UTC) #20
Nico
7 years, 2 months ago (2013-10-24 04:16:50 UTC) #21
Ok. I'll check back how things look in 6 months :-)


On Wed, Oct 23, 2013 at 9:08 PM, Ben Wells <benwells@google.com> wrote:

> Yes, that is the end goal. At the moment we have a component which has
> sane dependencies, but which isn't useful as a component. E.g. the
> extensions component doesn't contain the Extension class.
>
> There is a case that allowing temporary dependencies back to chrome will
> make it easier to move stuff down in more manageable chunks. i.e. large
> groups of files with circular dependencies can be moved down one at a time
> instead of all in one massive CL.
>
> This also means we can get stuff down sooner, which prevents new
> dependencies being added. This approach was recommended for the apps/
> "component" and has worked well, but making that it into a true component
> is now largely dependent on the extensions/ component.
>
> I just had a look at moving Extension down, and it should be much simpler
> to do it if we can introduce a back dependency to
> chrome/common/extensions/extension.h, move things like
> chrome/common/extensions/permissions/permission_set down, and then as a
> last step move down chrome/common/extensions/extension.h.
>
> Once we have a functional component (which is definable by the app_shell
> project, which needs both extensions and apps as true components) we would
> change these from shared libraries to components.
>
>
> On Thu, Oct 24, 2013 at 3:00 PM, Nico Weber <thakis@chromium.org> wrote:
>
>> I thought part of the point of components/ was that they have sane
>> dependencies (at all times, no temporary deps on chrome).
>>
>>
>> On Wed, Oct 23, 2013 at 8:57 PM, <benwells@chromium.org> wrote:
>>
>>> On 2013/10/24 01:23:42, Yoyo Zhou wrote:
>>>
>>>> https://codereview.chromium.**org/23513035/diff/58001/**
>>>>
extensions/extensions.gyp<https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp>
>>>> File extensions/extensions.gyp (right):
>>>>
>>>
>>>
>>> https://codereview.chromium.**org/23513035/diff/58001/**
>>>
extensions/extensions.gyp#**newcode9<https://codereview.chromium.org/23513035/diff/58001/extensions/extensions.gyp#newcode9>
>>>
>>>> extensions/extensions.gyp:9: 'type': 'static_library',
>>>> On 2013/10/23 18:26:59, Nico wrote:
>>>> > Is this intentionally not a <(component)?
>>>>
>>>
>>>  I think something didn't compile correctly when it was a <(component) -
>>>> I'll
>>>> look again tomorrow.
>>>>
>>>
>>> It might be simpler to leave it as is. This way we can introduce
>>> temporary
>>> dependencies back to chrome while moving stuff down to extensions. E.g.
>>> c/c/extensions/permission_set could move now, making
>>> c/c/extensions/extension
>>> easier to move. Otherwise we will have to move large independent chunks
>>> in one
>>> go.
>>>
>>>
https://codereview.chromium.**org/23513035/<https://codereview.chromium.org/2...
>>>
>>
>>
>

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