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
-rw-rw-r-- 1 umbo umbo    28325  3月 19 23:10 libjingle_peerconnection.jar
-rw-rw-r-- 1 umbo umbo    13634  3月 19 23:10
libjingle_peerconnection_test.jar
-rwxrw-r-- 1 umbo umbo     2636  3月 19 23:10
libjingle_peerconnection_java_unittest
-rwxrwxr-x 1 umbo umbo 84947376  3月 19 23:10
libjingle_peerconnection_unittest
-rw-rw-r-- 1 umbo umbo      661  3月 19 23:10
libjingle_peerconnection_unittest.isolated.state
-rw-rw-r-- 1 umbo umbo      255  3月 19 23:10
libjingle_peerconnection_unittest.isolated
test@lab1:~/myWebRTC/src/out/Debug$


But in crosswalk bitbake result , I don't see peerconnection_server and
peerconnection_client at all:


ubuntu@YoctoStrong:/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/out/Debug$
ls
build.ninja            java_mojo               libyuv.a       obj.host
xwalk                            xwalk_resources.pak
content_resources.pak  libffmpegsumo.so        libyuv_neon.a  protoc
xwalk_application_resources.pak  xwalk_sysapps_resources.pak
gen                    libffmpegsumo.so.TOC    mksnapshot     pyproto
xwalk_extensions_resources.pak
icudtl.dat             libvpx_obj_int_extract  obj            resources
xwalk.pak
ubuntu@YoctoStrong:/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/out/Debug$
find . -name "*eer*"
./obj/third_party/WebKit/Source/modules/mediastream/modules.RTCPeerConnection.o
./obj/third_party/libjingle/libpeerconnection.a
./obj/third_party/libjingle/libpeerconnection.ninja
./obj/third_party/libjingle/source/talk/media/webrtc/libpeerconnection.webrtcvoiceengine.o
./obj/third_party/libjingle/source/talk/media/webrtc/libpeerconnection.webrtcvideoengine2.o
./obj/third_party/libjingle/source/talk/media/webrtc/libpeerconnection.webrtcmediaengine.o
./obj/third_party/libjingle/source/talk/media/webrtc/libpeerconnection.webrtcvideoengine.o
./obj/third_party/libjingle/source/talk/app/webrtc/libjingle_webrtc_common.peerconnectionfactory.o
./obj/third_party/libjingle/source/talk/app/webrtc/libjingle_webrtc_common.peerconnection.o
./obj/third_party/libjingle/peerconnection_server.ninja
./obj/net/http/net.http_network_session_peer.o
./obj/content/browser/renderer_host/media/content_browser.peer_connection_tracker_host.o
./obj/content/renderer/media/webrtc/content_renderer.peer_connection_dependency_factory.o
./obj/content/renderer/media/content_renderer.peer_connection_audio_sink_owner.o
./obj/content/renderer/media/content_renderer.peer_connection_identity_service.o
./obj/content/renderer/media/content_renderer.rtc_peer_connection_handler.o
./obj/content/renderer/media/content_renderer.peer_connection_tracker.o
./gen/blink/bindings/modules/v8/V8RTCPeerConnection.cpp
./gen/blink/bindings/modules/v8/V8RTCPeerConnection.h
ubuntu@YoctoStrong
:/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/out/Debug$


But I do see the source code in crosswalk:

ubuntu@YoctoStrong:/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0$
!find
find . -name "*peer_connection_cli*"
./crosswalk-12.40.295.0/third_party/libjingle/source/talk/examples/peerconnection/client/peer_connection_client.h
./crosswalk-12.40.295.0/third_party/libjingle/source/talk/examples/peerconnection/client/peer_connection_client.cc
ubuntu@YoctoStrong
:/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0$


It's just not getting compiled.  Not sure if there was an easy
configuration tweak.

Thanks

Henry
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to