Closed Bug 671465 Opened 13 years ago Closed 13 years ago

Misc build-system cleanups

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: matjk7, Assigned: matjk7)

References

Details

(Whiteboard: fixed-in-bs)

Attachments

(9 files, 8 obsolete files)

701 bytes, patch
khuey
: review+
Details | Diff | Splinter Review
759 bytes, patch
khuey
: review+
Details | Diff | Splinter Review
1.10 KB, patch
khuey
: review+
Details | Diff | Splinter Review
1.63 KB, patch
khuey
: review+
Details | Diff | Splinter Review
49.62 KB, patch
khuey
: review+
Details | Diff | Splinter Review
919 bytes, patch
khuey
: review+
Details | Diff | Splinter Review
1.75 KB, patch
khuey
: review+
Details | Diff | Splinter Review
6.79 KB, patch
khuey
: review+
Details | Diff | Splinter Review
36.54 KB, patch
Details | Diff | Splinter Review
I keep hitting these when patching the build-system so I figured it was time to get rid of them!
Attachment #545798 - Flags: review?(khuey)
Attachment #545799 - Flags: review?(khuey)
Attachment #545800 - Flags: review?(khuey)
Attachment #545801 - Flags: review?(khuey)
Attachment #545802 - Flags: review?(khuey)
Attachment #545803 - Flags: review?(khuey)
Attachment #545804 - Flags: review?(khuey)
Attachment #545805 - Flags: review?(khuey)
Rubber-stamp please, no functionality changes in these patches.
Flags: in-testsuite-
Attachment #545798 - Flags: review?(khuey)
Attachment #545799 - Flags: review?(khuey)
Attachment #545800 - Flags: review?(khuey)
Attachment #545801 - Flags: review?(khuey)
Attachment #545802 - Flags: review?(khuey)
Attachment #545803 - Flags: review?(khuey)
Attachment #545804 - Flags: review?(khuey)
Attachment #545805 - Flags: review?(khuey)
And of course, none of this actually builds because configure hates me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can't remember off-hand if check-sync-dirs.py considers whitespace in the file comparison - but (presuming it does) for builds to complete, the same changes will also need to be made to the js/src/config/ and js/src/build/ versions of files that don't appear in the exceptions list, if that helps at all?

http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#626
http://mxr.mozilla.org/mozilla-central/source/js/src/config/check-sync-dirs.py
http://mxr.mozilla.org/mozilla-central/source/js/src/config/check-sync-exceptions
Assignee: nobody → matjk7
Status: NEW → ASSIGNED
check-sync-dirs.py doesn't prevent builds from compiling, it just turns the tree orange if you forget to change the js/src/ build system counterparts (like I did here).

The problem here is the second patch, which makes configures angry for some reason. All the other parts compile fine IIRC, but I don't know if this small cleanup is worth messing up hg log/blame.
I decided to drop the mass tabs -> spaces change since it breaks configure and rules.mk and doing it manually would be painful. I also ended up removing some unrelated (to the whitespace cleanup) cruft in several places.
Attachment #545798 - Attachment is obsolete: true
Attachment #545799 - Attachment is obsolete: true
Attachment #545800 - Attachment is obsolete: true
Attachment #545801 - Attachment is obsolete: true
Attachment #545802 - Attachment is obsolete: true
Attachment #545803 - Attachment is obsolete: true
Attachment #545804 - Attachment is obsolete: true
Attachment #545805 - Attachment is obsolete: true
Attachment #555309 - Flags: review?(khuey)
Attachment #555311 - Flags: review?(khuey)
Attachment #555312 - Flags: review?(khuey)
Attachment #555313 - Flags: review?(khuey)
Attachment #555314 - Flags: review?(khuey)
Attachment #555315 - Flags: review?(khuey)
Attachment #555316 - Flags: review?(khuey)
Comment on attachment 555313 [details] [diff] [review]
part 5: remove whitespace from configure

Just skimmed this one, but it looks fine.
Attachment #555313 - Flags: review?(khuey) → review+
Comment on attachment 555314 [details] [diff] [review]
part 6: remove whitespace from autoconf

We can probably kill this NS_USE_NATIVE stuff ...
Attachment #555314 - Flags: review?(khuey) → review+
Depends on: 680625
Keywords: checkin-needed
Attached patch bustage fixSplinter Review
Stupid me forgot to change the js/src bits again.
Attachment #555897 - Flags: checkin?
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: