在 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?
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to