On Apr 19, 1:40 pm, Benjamin Smedberg <benja...@smedbergs.us> wrote: > On 4/19/10 4:20 PM, n179911 wrote: > > > Thanks. I think I have questions about the embedding browser build > > system. > > Are these 2 directories compiled in 1 static library? or 2? From the > > Makefile.in, it looks like they are the same 'module'. > > embedding/browser/gtk/tests/ > > embedding/browser/gtk/src/ > > No. Although gtk/src happens to be built into a static library because of > how our build system works, gtkmozembed lives in libxul.so of XULRunner as > the final "module". The tests are binaries that use the standalone XPCOM > glue to load libxul.so and use the embedding harness. > > --BDS
Thank you for your answer. If browser/gtk/tests uses browser/gtk/src by linking to libxul.so (since you mentioned it is built to a static library as a part of libxul.so), I don't understand why this does not link: * adding 'gtkmozembed_glue.cpp' to the SRC of browser/gtk/src Makefile.in libxul.so should have the symbols of gtkmozembed_glue.cpp. Right? * remove the '#include "gtkmozembed_glue.cpp"' in TestGtkEmbed.cpp and have #include the .h file which TestGtkEmbed needs. Why this does not link? _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding