Closed Bug 1038458 Opened 10 years ago Closed 10 years ago

Flatten away public/src subdirectories under browser/components/

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 34

People

(Reporter: poiru, Assigned: poiru)

Details

Attachments

(7 files)

This is similar to e.g. bug 946065.
Gavin, would you be OK with this?
Assignee: nobody → birunthan
Flags: needinfo?(gavin.sharp)
sure
Flags: needinfo?(gavin.sharp)
Attachment #8456210 - Flags: review?(gavin.sharp)
Attachment #8456214 - Flags: review?(gavin.sharp)
Comment on attachment 8456209 [details] [diff] [review]
Part 1: Flatten browser/components/customizableui/src/ directory

Marco, can you give all of these a once-over?
Attachment #8456209 - Flags: review?(gavin.sharp) → review?(mak77)
Attachment #8456210 - Flags: review?(gavin.sharp)
Attachment #8456211 - Flags: review?(gavin.sharp)
Attachment #8456212 - Flags: review?(gavin.sharp)
Attachment #8456213 - Flags: review?(gavin.sharp)
Attachment #8456214 - Flags: review?(gavin.sharp)
Attachment #8456215 - Flags: review?(gavin.sharp)
Comment on attachment 8456214 [details] [diff] [review]
Part 6: Flatten browser/components/places/src/ directory

Review of attachment 8456214 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/places/moz.build
@@ +5,5 @@
>  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
>  
> +XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
> +MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
> +BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini',]

nit: please remove the comma from here
Comment on attachment 8456215 [details] [diff] [review]
Part 7: Flatten browser/components/shell/{public,src}/ directories

Review of attachment 8456215 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/shell/moz.build
@@ +4,5 @@
>  # License, v. 2.0. If a copy of the MPL was not distributed with this
>  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
>  
> +XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
> +BROWSER_CHROME_MANIFESTS += ['test/browser.ini',]

nit: please remove the comma from here

@@ +34,5 @@
> +    ]
> +elif CONFIG['MOZ_WIDGET_GTK']:
> +    SOURCES += [
> +        'nsGNOMEShellService.cpp',
> +    ]

these if/elif might be merged with the above ones
Comment on attachment 8456209 [details] [diff] [review]
Part 1: Flatten browser/components/customizableui/src/ directory

Review of attachment 8456209 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you for doing this! It looks sane but please get a Try server run before asking for checkin.
Attachment #8456209 - Flags: review?(mak77) → review+
(In reply to Marco Bonardo [:mak] from comment #12)
> Comment on attachment 8456215 [details] [diff] [review]
> Part 7: Flatten browser/components/shell/{public,src}/ directories
> 
> Review of attachment 8456215 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> @@ +34,5 @@
> > +    ]
> > +elif CONFIG['MOZ_WIDGET_GTK']:
> > +    SOURCES += [
> > +        'nsGNOMEShellService.cpp',
> > +    ]
> 
> these if/elif might be merged with the above ones

Forgot to mention on comment 14 that I left this as is. I believe the prevalent style is to first add all XPIDL_SOURCES, then all SOURCES, and so on.
QA Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: