Henry Soang <[email protected]> writes: > Hi, crosswalk and ninja newbie here. > > Is there a way to configure the crosswalk yocto compilation so that > bitbake will also generate the many example executables that are available > in the google webrtc (http://www.webrtc.org/native-code/development) > tutorial like peerconnection_server and peerconnection_client? > > For example, downloading the google WebRTC package and compiling on a big > host box, we > get them: > > test@lab1:~/myWebRTC/src/out/Debug$ ls -rlt *eer* > -rwxrwxr-x 1 umbo umbo 403736 3月 19 21:31 peerconnection_server > -rwxrwxr-x 1 umbo umbo 63988592 3月 19 23:09 peerconnection_client
Hi, These binaries were built in your WebRTC checkout because the all.gyp file there that is used when you do not pass a specific target to ninja depends on talk/libjingle_examples.gyp, which specifies all those binaries you are talking about. Getting the same thing to work from a Chromium (and consequently Crosswalk) checkout requires more effort, since it uses a different default target that does not depend on those libjingle example ones. What you could do in Yocto is patch xwalk.gyp and add a dependency on the targets specified in '../third_party/libjingle/source/talk/libjingle_examples.gyp:*', so that when you build the "xwalk" target it builds those sample WebRTC binaries as part of the dependency chain. _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
