Electrolysis/Build: Difference between revisions

-C is good
(-C is good)
Line 14: Line 14:
If you have made any changes to any protocol files (*.ipdl), then you must run  
If you have made any changes to any protocol files (*.ipdl), then you must run  


  make [BLD_DIR]/ipc/ipdl
  make -C [BLD_DIR]/ipc/ipdl


If you've changed the master ContentProcess.ipdl in dom/ipc, you must make there, too:
If you've changed the master ContentProcess.ipdl in dom/ipc, you must make there, too:


  make [BLD_DIR]/dom/ipc
  make -C [BLD_DIR]/dom/ipc


Finally, since e10s requires libxul, you must re-build libxul each time you compile (at least if you want your changes to actually show up in the browser :).  You do this by running  
Finally, since e10s requires libxul, you must re-build libxul each time you compile (at least if you want your changes to actually show up in the browser :).  You do this by running  
   
   
  make [BLD_DIR]/toolkit/library
  make -C [BLD_DIR]/toolkit/library


The libxul build takes by far the longest of these three, so I just dump all three commands (plus a make for whatever directory I'm working in) in a script and run it each time to rebuild.
The libxul build takes by far the longest of these three, so I just dump all three commands (plus a make for whatever directory I'm working in) in a script and run it each time to rebuild.
Confirmed users, Bureaucrats and Sysops emeriti
1,217

edits