在 2015年8月1日星期六 UTC+8上午4:02:40,Gregory Szorc写道: > On Fri, Jul 31, 2015 at 2:58 AM, Samuel Yang <[email protected]> wrote: > 在 2015年7月31日星期五 UTC+8下午5:50:14,Samuel Yang写道: > > > Hi all, > > > > > > I have created a folder named test_dir in top src dir. (The same level with > > dom, uriloader, widget etc). > > > > > > I simply add a source code named test.cpp and moz.build as below, however, > > the build system didn't go into that folder and compiled the source. > > > > > > Do you know which files I need to change in build system or how can I > > successfully compile the folder. thanks a lot. > > > > > > mozilla/test_dir$ cat moz.build > > > #-----You can modify variable DEPTH.Don't change below config info-----# > > > # > > > SOURCES += [ > > > 'test.cpp', > > > ] > > > > > > FINAL_LIBRARY = 'ff_test' > > > > > > > > > > > > test_dir$ cat test.cpp > > > #error "stop here" > > > > > > BTW, If I add the folder to DIR in moz.build, it can build it. But where is > the other folders in the same level defined? > > > > > Look in toolkit/toolkit.mozbuild, which is included by the root moz.build > file.
Got it. thank you very much. Gregory. _______________________________________________ dev-builds mailing list [email protected] https://lists.mozilla.org/listinfo/dev-builds

