Closed Bug 883350 Opened 12 years ago Closed 11 years ago

move SDK_HEADERS to moz.build

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: joey, Assigned: joey)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 9 obsolete files)

No description provided.
Blocks: 883351
Blocks: 883353
No longer blocks: 883353
Assignee: nobody → jarmstrong
Attachment #766709 - Attachment is obsolete: true
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)
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.
Attachment #766719 - Flags: review?(gps)
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 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+
Attachment #766835 - Attachment is obsolete: true
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.
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.
Attachment #768426 - Flags: review?(mshal)
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+
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
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
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: jarmstrong → joey
Whiteboard: [leave open]
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 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-
(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
Attachment #775949 - Attachment is obsolete: true
Comment on attachment 776363 [details] [diff] [review] Cleanup/final patch for SDK_HEADERS conversion. Added the stragglers.
Attachment #776363 - Flags: review?(mshal)
Comment on attachment 776363 [details] [diff] [review] Cleanup/final patch for SDK_HEADERS conversion. Looks good now!
Attachment #776363 - Flags: review?(mshal) → review+
Attachment #776363 - Attachment is obsolete: true
Comment on attachment 777956 [details] [diff] [review] Cleanup/final patch for SDK_HEADERS conversion. rebase, r=mshal carried forward
Todo: cleanup - embedding/base/Makefile.in: DISABLED_SDK_HEADERS = Add SDK_HEADERS to the _MOZBUILD_EXTERNAL_VARIABLES list.
No longer depends on: 883348
Attached patch SDK_HEADERS conversion cleanup. (obsolete) — Splinter Review
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 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+
(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.
Attached patch SDK_HEADERS conversion cleanup. (obsolete) — Splinter Review
Attachment #796142 - Attachment is obsolete: true
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)
Attachment #801728 - Attachment is patch: true
Attachment #801728 - Attachment mime type: message/rfc822 → text/plain
(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 on attachment 801728 [details] [diff] [review] Move SDK_HEADERS to mozbuild: cleanup patch Looks good - thanks!
Attachment #801728 - Flags: review?(mshal) → review+
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 ago11 years ago
Resolution: --- → FIXED
Target Milestone: mozilla25 → mozilla27
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: