Closed Bug 933176 Opened 11 years ago Closed 4 years ago

Skip "obviously" non-tools directories during the tools tier

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: glandium, Assigned: glandium)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

The tools tier should not exist, I think we all agree. The sad reality is that it does, on the other hand, its use is mostly controlled. I suggest we don't make -C dir tools for all the directories that are not "obviously" tools dirs, which can be defined as having the is_tool_dir flag set, or having a Makefile.in containing more or less ".*tools.*::", which, IMHO, is safe enough.
Sadly, at the moment, there are two tools rules in config/rules.mk. One for XPI_PKGNAME, and one for INSTALL_EXTENSION_ID.
> or having a Makefile.in containing more or less ".*tools.*::", which, IMHO, is safe enough. Actually, I think I can get rid of those.
Depends on: 929298
Depends on: 934070
Depends on: 933145
With bug 929298 and bug 933145, there are no tools rules left in Makefile.in, and all variables affecting tools will be in moz.build..
Attachment #826254 - Flags: review?(gps)
(In reply to Mike Hommey [:glandium] from comment #3) > Created attachment 826254 [details] [diff] [review] > Skip non-tools directories without variables in moz.build that are relevant > to tools during this tier > > With bug 929298 and bug 933145 Err, bug 929298 and bug 934070.
Attachment #826254 - Flags: review?(gps) → review+
Product: Core → Firefox Build System

While not exactly the same, bug 1043344 addressed this without having to wait for the last pieces of Makefile using tools targets.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: