Closed
Bug 883350
Opened 12 years ago
Closed 11 years ago
move SDK_HEADERS to moz.build
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: joey, Assigned: joey)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 9 obsolete files)
11.88 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
2.07 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Assignee: nobody → jarmstrong
Comment 2•12 years ago
|
||
Updated•12 years ago
|
Attachment #766709 -
Attachment is obsolete: true
Comment 3•12 years ago
|
||
Comment on attachment 766719 [details] [diff] [review]
move SDK_HEADERS to mozbuild (logic)
Add a passthrough conversion for SDK_HEADERS.
Attachment #766719 -
Flags: review?(gps)
Comment 4•12 years ago
|
||
Since SDK_HEADERS is just a synonym for EXPORTS (since Firefox 5 or so), please just remove it entirely and migrate those files to EXPORTS.
Updated•12 years ago
|
Attachment #766719 -
Flags: review?(gps)
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Convert SDK_HEADERS into EXPORTS +=.
Try results pending.
Attachment #766719 -
Attachment is obsolete: true
Attachment #766833 -
Attachment is obsolete: true
Attachment #766835 -
Flags: review?(mshal)
Comment 7•12 years ago
|
||
Comment on attachment 766835 [details] [diff] [review]
move SDK_HEADERS to mozbuild (file batch #1)
> include $(topsrcdir)/config/rules.mk
>diff --git a/embedding/base/moz.build b/embedding/base/moz.build
>--- a/embedding/base/moz.build
>+++ b/embedding/base/moz.build
>@@ -8,8 +8,11 @@ XPIDL_SOURCES += [
> 'nsIDialogCreator.idl',
> 'nsIWindowCreator.idl',
> 'nsIWindowCreator2.idl',
> 'nsIWindowProvider.idl',
> ]
>
> MODULE = 'embed_base'
>
>+EXPORTS += [ # SDK_HEADERS
>+ 'nsEmbedCID.h',
>+]
Since there is no longer any distinction between SDK_HEADERS and EXPORTS, I don't think we need to preserve the old variable name in the comment. Just remove the " # SDK_HEADERS" part:
EXPORTS += [
'nsEmbedCID.h',
]
(occurs in all moz.build files, not just this one)
We'll also want to combine these EXPORTS with existing EXPORTS declarations (eg: xpcom/string/public/moz.build has 2 'EXPORTS +=' declarations next to each other) - do we have a bug on file for that already? Maybe this could be something to add to the style checker if possible (bug 774381).
Attachment #766835 -
Flags: review?(mshal) → review+
Comment 8•12 years ago
|
||
Updated•12 years ago
|
Attachment #766835 -
Attachment is obsolete: true
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 768426 [details] [diff] [review]
move SDK_HEADERS to mozbuild (file batch #1)
Removed SDK_ comments.
Combined redundant EXPORT= declarations.
Try build job passed with the exception of leakstat on osx.
https://tbpl.mozilla.org/?tree=Try&rev=d87eaf348739
Run a test job on try and the patch should be ready for inbound.
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 768426 [details] [diff] [review]
move SDK_HEADERS to mozbuild (file batch #1)
b2g arm/emulator failure was due to a timeout in mochitest-6.
Assignee | ||
Updated•12 years ago
|
Attachment #768426 -
Flags: review?(mshal)
Comment 11•12 years ago
|
||
Comment on attachment 768426 [details] [diff] [review]
move SDK_HEADERS to mozbuild (file batch #1)
Looks good to me!
Attachment #768426 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 768426 [details] [diff] [review]
move SDK_HEADERS to mozbuild (file batch #1)
another inbound push:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2199300dce27
committed changeset 137062:2199300dce27
Comment 13•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Assignee | ||
Comment 14•12 years ago
|
||
Added leave-open whiteboard tag. A patch to remove DISABLED_* will need to be submitted in a week or so.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [leave open]
Assignee | ||
Comment 15•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Assignee: jarmstrong → joey
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave open]
Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 775949 [details] [diff] [review]
Cleanup/final patch for SDK_HEADERS conversion.
Final patch to remove DISABLED_ and SDK_HEADERS can be crossed off the todo list.
Attachment #775949 -
Flags: review?(mshal)
Comment 17•12 years ago
|
||
Comment on attachment 775949 [details] [diff] [review]
Cleanup/final patch for SDK_HEADERS conversion.
Looks like you missed a few directories?
./xpcom/string/public/Makefile.in:DISABLED_SDK_HEADERS = \
./xpcom/Makefile.in:DISABLED_SDK_HEADERS = xpcom-config.h
./xpcom/glue/standalone/Makefile.in:DISABLED_SDK_HEADERS = \
./xpcom/io/Makefile.in:DISABLED_SDK_HEADERS = \
Otherwise it looks fine and is ready to land, just doesn't look like the "final" patch :)
Attachment #775949 -
Flags: review?(mshal) → review-
Assignee | ||
Comment 18•12 years ago
|
||
(In reply to Michael Shal [:mshal] from comment #17)
> Comment on attachment 775949 [details] [diff] [review]
> Cleanup/final patch for SDK_HEADERS conversion.
>
> Looks like you missed a few directories?
>
> ./xpcom/string/public/Makefile.in:DISABLED_SDK_HEADERS = \
> ./xpcom/Makefile.in:DISABLED_SDK_HEADERS = xpcom-config.h
> ./xpcom/glue/standalone/Makefile.in:DISABLED_SDK_HEADERS = \
> ./xpcom/io/Makefile.in:DISABLED_SDK_HEADERS = \
>
> Otherwise it looks fine and is ready to land, just doesn't look like the
> "final" patch :)
hrmph now how were those omitted
Assignee | ||
Comment 19•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #775949 -
Attachment is obsolete: true
Assignee | ||
Comment 20•12 years ago
|
||
Comment on attachment 776363 [details] [diff] [review]
Cleanup/final patch for SDK_HEADERS conversion.
Added the stragglers.
Attachment #776363 -
Flags: review?(mshal)
Comment 21•12 years ago
|
||
Comment on attachment 776363 [details] [diff] [review]
Cleanup/final patch for SDK_HEADERS conversion.
Looks good now!
Attachment #776363 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 22•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #776363 -
Attachment is obsolete: true
Assignee | ||
Comment 23•12 years ago
|
||
Comment on attachment 777956 [details] [diff] [review]
Cleanup/final patch for SDK_HEADERS conversion.
rebase, r=mshal carried forward
Assignee | ||
Comment 24•12 years ago
|
||
Todo:
cleanup - embedding/base/Makefile.in: DISABLED_SDK_HEADERS =
Add SDK_HEADERS to the _MOZBUILD_EXTERNAL_VARIABLES list.
Assignee | ||
Comment 25•12 years ago
|
||
Assignee | ||
Comment 26•12 years ago
|
||
Comment on attachment 796142 [details] [diff] [review]
SDK_HEADERS conversion cleanup.
Add SDK_HEADERS to the list of makefile rejected variables.
Attachment #796142 -
Flags: review?(mshal)
Comment 27•12 years ago
|
||
Comment on attachment 796142 [details] [diff] [review]
SDK_HEADERS conversion cleanup.
Looks good!
We can also get rid of this block in rules.mk, right?
ifdef SDK_HEADERS
_EXTRA_EXPORTS := $(filter-out $(EXPORTS),$(SDK_HEADERS))
EXPORTS += $(_EXTRA_EXPORTS)
endif
Attachment #796142 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 28•12 years ago
|
||
(In reply to Michael Shal [:mshal] from comment #27)
> Comment on attachment 796142 [details] [diff] [review]
> SDK_HEADERS conversion cleanup.
>
> Looks good!
>
> We can also get rid of this block in rules.mk, right?
>
> ifdef SDK_HEADERS
> _EXTRA_EXPORTS := $(filter-out $(EXPORTS),$(SDK_HEADERS))
> EXPORTS += $(_EXTRA_EXPORTS)
> endif
Probably yes, to be pruned shortly.
Try job: http://tbpl.mozilla.org/?tree=Try&rev=b68765e872d3
jetpack failure due to win32file import failure on win64.
Assignee | ||
Comment 29•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #796142 -
Attachment is obsolete: true
Assignee | ||
Comment 30•11 years ago
|
||
Refresh patch, combine patches adding SDK_HEADESR on the variable rejection list and remove lingering rules.mk logic.
Attachment #777956 -
Attachment is obsolete: true
Attachment #796688 -
Attachment is obsolete: true
Attachment #801728 -
Flags: review?(mshal)
Updated•11 years ago
|
Attachment #801728 -
Attachment is patch: true
Attachment #801728 -
Attachment mime type: message/rfc822 → text/plain
Assignee | ||
Comment 31•11 years ago
|
||
(In reply to Joey Armstrong [:joey] from comment #30)
> Created attachment 801728 [details] [diff] [review]
> Move SDK_HEADERS to mozbuild: cleanup patch
>
> Refresh patch, combine patches adding SDK_HEADESR on the variable rejection
> list and remove lingering rules.mk logic.
Try job: https://tbpl.mozilla.org/?tree=Try&rev=02b7921c4def
Comment 32•11 years ago
|
||
Comment on attachment 801728 [details] [diff] [review]
Move SDK_HEADERS to mozbuild: cleanup patch
Looks good - thanks!
Attachment #801728 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 33•11 years ago
|
||
Comment on attachment 801728 [details] [diff] [review]
Move SDK_HEADERS to mozbuild: cleanup patch
Review of attachment 801728 [details] [diff] [review]:
-----------------------------------------------------------------
Inbound push: https://hg.mozilla.org/integration/mozilla-inbound/rev/726355fba9b6
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Target Milestone: mozilla25 → mozilla27
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•