Last Comment Bug 381900 - Make a checkout target for the build system
: Make a checkout target for the build system
Status: RESOLVED WONTFIX
:
Product: Core
Classification: Components
Component: Build Config (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks: 468835
  Show dependency treegraph
 
Reported: 2007-05-24 11:58 PDT by Ben Turner (not reading bugmail, use the needinfo flag!)
Modified: 2008-12-10 06:55 PST (History)
20 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
file list (9.37 KB, text/plain)
2008-01-03 08:02 PST, Sergey Yanovich
no flags Details

Description Ben Turner (not reading bugmail, use the needinfo flag!) 2007-05-24 11:58:21 PDT
Spun off from bug 380846.

XULRunner apps that have a libxul-sdk shouldn't have to check out all the source code just to use the build system. We need to make a checkout target for just the build system and its dependencies.
Comment 1 Axel Hecht [:Pike] 2008-01-03 06:47:29 PST
We should factor that requirement with the l10n-checkout target in client.mk.
Comment 2 Sergey Yanovich 2008-01-03 08:02:08 PST
Created attachment 295226 [details]
file list

With this list of files, I can build, package and install my XR app on:
* linux (debian/unstable);
* w32 (msvc 2005 Express + PSDK 2003 R2).
Comment 3 Axel Hecht [:Pike] 2008-01-03 08:07:17 PST
I doubt that many of those files are necessary, in particular the version.txt files and the nspr ones. You may get warnings or errors if those are missing, but that shouldn't be tragic.

I'm using a smaller list of files for l10n-checkout, http://mxr.mozilla.org/mozilla/source/client.mk#905, though I think it'd make sense to add mozilla/Makefile.in, too.
Comment 4 Sergey Yanovich 2008-01-03 08:14:53 PST
(In reply to comment #3)
> I doubt that many of those files are necessary, in particular the version.txt
> files and the nspr ones. You may get warnings or errors if those are missing,
> but that shouldn't be tragic.
> 
> I'm using a smaller list of files for l10n-checkout,
> http://mxr.mozilla.org/mozilla/source/client.mk#905, though I think it'd make
> sense to add mozilla/Makefile.in, too.

I agree that list is not minimal, but these 4 are critical:
./toolkit/mozapps/installer/package-name.mk
./toolkit/mozapps/installer/packager.mk
./xpcom/xpcom-config.h.in
./xpcom/xpcom-private.h.in

And not having nsprpub/configure means heavy workarounds like --with-system-nspr.
Comment 5 Oleg Romashin (:romaxa) 2008-06-25 13:33:54 PDT
I have made minimal source tree required for Fennec browser building

https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/resources/sandbox/mozilla-src-xulrunner.tar.gz.uu
Comment 6 Ted Mielczarek [:ted.mielczarek] 2008-12-10 06:55:13 PST
The build system doesn't have support for checking anything out anymore.

Note You need to log in before you can comment on or make changes to this bug.