How to do partial builds?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to do partial builds?

Gary van der Merwe
Hi

I'm doing some hacking on Sunbird - mostly in the chrome.

Doing a build on my machine takes a long time (+- 30min).

I've set --enable-chrome-format=flat and have been editing the chrome
in my objdir. But the overhead of keeping the source files and the
objdir files in sync is a pain.

I'm wondering if there is a way to do a partial build - i.e. if I know
that I've only edited files from the  calendar dir, is there a way to
get the make to only build that dir?

Gary

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: How to do partial builds?

Frank Wein
Gary van der Merwe wrote:

> Hi
>
> I'm doing some hacking on Sunbird - mostly in the chrome.
>
> Doing a build on my machine takes a long time (+- 30min).
>
> I've set --enable-chrome-format=flat and have been editing the chrome
> in my objdir. But the overhead of keeping the source files and the
> objdir files in sync is a pain.
>
> I'm wondering if there is a way to do a partial build - i.e. if I know
> that I've only edited files from the  calendar dir, is there a way to
> get the make to only build that dir?
>
> Gary

Cd into your obj-dir, then into the sub-folder you want to rebuild (for
example calendar) and type "make" there. Then it will only rebuild the
source files for that folder. Also you can type "make chrome" in that
folder, this will only update the chrome files (usually
.xul,.js,.properties and such).

Frank
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: How to do partial builds?

Gary van der Merwe
Thanks Frank!

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds