Open main menu

CDOT Wiki β

Changes

Instructions for Setting Up DXR

907 bytes added, 21:32, 11 February 2009
no edit summary
* TODO: add post-processing steps to create xref -- see [https://bugzilla.mozilla.org/show_bug.cgi?id=435814 bug 435814]
 
* Get xref post-processing scripts
** mkdir ~/dxr/tools/xref-scripts
** cd ~/dxr/tools/xref-scripts
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=325316 -O class_schema.sql
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=325314 -O build_db.sh
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=325317 -O fix_paths.pl
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=325318 -O process_xref.pl
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=325320 -O moz_types.js
 
* Patch xpidl to generate xref info
** cd ~/dxr/mozilla-central
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=323401 -O xpidl-xref-build.diff
** cd mozilla
** patch -p1 < ../xpidl-xref-build.diff
** cd ..
** wget https://bug435814.bugzilla.mozilla.org/attachment.cgi?id=337530 -O xpidl_xref.c
** cp xpidl_xref.c mozilla/xpcom/typelib/xpidl