Hi Raphael, thanks for that. So I tried to do a single line hack to the xwalk.gyp to include the '../third_party/libjingle/source/talk/libjingle_examples.gyp:*', but I guess it's probably a lot more work than that as I'm now indeed getting errors about "gyp: name 'build_with_chromium' is not defined while evaluating condition 'build_with_chromium==1'" afterwards all pointing to that line. I guess I'll need to study the gyp system a bit more. Any quick ideas are welcome still of course. :)
Below output: ubuntu@YoctoStrong:/disk1/tsonghong_build$ bitbake -v crosswalk Loading cache: 100% |#########################################################################################################################| ETA: 00:00:00 Loaded 1231 entries from dependency cache. NOTE: Resolving any missing task queue dependencies NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to PREFERRED_PROVIDERS NOTE: selecting gettext to satisfy virtual/gettext due to PREFERRED_PROVIDERS NOTE: selecting gcc-cross to satisfy virtual/arm-poky-linux-gnueabi-gcc due to PREFERRED_PROVIDERS NOTE: selecting gcc-runtime to satisfy virtual/arm-poky-linux-gnueabi-compilerlibs due to PREFERRED_PROVIDERS NOTE: selecting eglibc to satisfy virtual/libc due to PREFERRED_PROVIDERS NOTE: selecting gettext to satisfy runtime gettext-dev due to PREFERRED_PROVIDER_virtual/gettext = gettext NOTE: selecting gettext to satisfy runtime gettext due to PREFERRED_PROVIDER_virtual/gettext = gettext NOTE: selecting eglibc to satisfy runtime libsegfault due to PREFERRED_PROVIDER_virtual/libc = eglibc NOTE: selecting eglibc to satisfy runtime eglibc-dev due to PREFERRED_PROVIDER_virtual/libc = eglibc NOTE: selecting eglibc to satisfy runtime eglibc due to PREFERRED_PROVIDER_virtual/libc = eglibc NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-utf-16 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-charmap-utf-8 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-cp1255 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-charmap-cp1255 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-utf-32 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-utf-7 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-euc-jp due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-iso8859-1 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-iso8859-15 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-charmap-invariant due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-localedata-translit-cjk-variants due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf-loader-png due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf-loader-jpeg due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf-loader-gif due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf-loader-xpm due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting eglibc-locale to satisfy runtime glibc-gconv-iso8859-1 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting opkg-utils-native to satisfy virtual/update-alternatives-native due to PREFERRED_PROVIDERS NOTE: selecting eglibc to satisfy virtual/libiconv due to PREFERRED_PROVIDERS NOTE: selecting binutils-cross to satisfy virtual/arm-poky-linux-gnueabi-binutils due to PREFERRED_PROVIDERS NOTE: selecting eglibc to satisfy virtual/arm-poky-linux-gnueabi-libc-for-gcc due to PREFERRED_PROVIDERS NOTE: selecting linux-libc-headers to satisfy linux-libc-headers due to PREFERRED_PROVIDERS NOTE: selecting gcc-cross to satisfy virtual/arm-poky-linux-gnueabi-g++ due to PREFERRED_PROVIDERS NOTE: selecting libgcc to satisfy libgcc due to PREFERRED_PROVIDERS NOTE: selecting gcc-cross-initial to satisfy virtual/arm-poky-linux-gnueabi-gcc-initial due to PREFERRED_PROVIDERS NOTE: selecting eglibc-initial to satisfy virtual/arm-poky-linux-gnueabi-libc-initial due to PREFERRED_PROVIDERS NOTE: selecting eglibc to satisfy virtual/libintl due to PREFERRED_PROVIDERS NOTE: selecting pigz-native to satisfy gzip-native due to PREFERRED_PROVIDERS NOTE: selecting gdk-pixbuf to satisfy gdk-pixbuf due to PREFERRED_PROVIDERS NOTE: selecting libx11 to satisfy virtual/libx11 due to PREFERRED_PROVIDERS NOTE: selecting opkg-utils to satisfy virtual/update-alternatives due to PREFERRED_PROVIDERS NOTE: selecting udev to satisfy udev due to PREFERRED_PROVIDERS NOTE: selecting bluez4 to satisfy bluez4 due to PREFERRED_PROVIDERS NOTE: selecting dbus-glib to satisfy dbus-glib due to PREFERRED_PROVIDERS NOTE: selecting db to satisfy virtual/db due to PREFERRED_PROVIDERS NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconvs due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-localedatas due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-charmaps due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting gdk-pixbuf to satisfy runtime gdk-pixbuf-dev due to PREFERRED_PROVIDER_gdk-pixbuf = gdk-pixbuf NOTE: selecting linux-libc-headers to satisfy runtime linux-libc-headers-dev due to PREFERRED_PROVIDER_linux-libc-headers = linux-libc-headers NOTE: selecting libgcc to satisfy runtime libgcc due to PREFERRED_PROVIDER_libgcc = libgcc NOTE: selecting make to satisfy runtime make due to PREFERRED_PROVIDER_make = make NOTE: selecting libx11 to satisfy runtime libx11-dev due to PREFERRED_PROVIDER_virtual/libx11 = libx11 NOTE: selecting libx11 to satisfy runtime libx11 due to PREFERRED_PROVIDER_virtual/libx11 = libx11 NOTE: selecting opkg-utils to satisfy runtime opkg-utils-dev due to PREFERRED_PROVIDER_virtual/update-alternatives = opkg-utils NOTE: selecting opkg-utils to satisfy runtime opkg-utils due to PREFERRED_PROVIDER_virtual/update-alternatives = opkg-utils NOTE: selecting opkg-utils to satisfy runtime update-alternatives-opkg due to PREFERRED_PROVIDER_virtual/update-alternatives = opkg-utils NOTE: selecting udev to satisfy runtime udev-dev due to PREFERRED_PROVIDER_udev = udev NOTE: selecting udev to satisfy runtime udev due to PREFERRED_PROVIDER_udev = udev NOTE: selecting udev to satisfy runtime udev-utils due to PREFERRED_PROVIDER_udev = udev NOTE: selecting udev to satisfy runtime udev-cache due to PREFERRED_PROVIDER_udev = udev NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-ebcdic-us due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting eglibc-locale to satisfy runtime eglibc-gconv-ibm1141 due to PREFERRED_PROVIDER_virtual/libc-locale = eglibc-locale NOTE: selecting bluez4 to satisfy runtime bluez4-dev due to PREFERRED_PROVIDER_bluez4 = bluez4 NOTE: selecting dbus-glib to satisfy runtime dbus-glib-dev due to PREFERRED_PROVIDER_dbus-glib = dbus-glib NOTE: selecting dbus-glib to satisfy runtime dbus-glib due to PREFERRED_PROVIDER_dbus-glib = dbus-glib NOTE: selecting db to satisfy runtime db-dev due to PREFERRED_PROVIDER_virtual/db = db NOTE: selecting db to satisfy runtime db due to PREFERRED_PROVIDER_virtual/db = db NOTE: selecting dbus-glib-native to satisfy dbus-glib-native due to PREFERRED_PROVIDERS NOTE: selecting make to satisfy runtime make-dev due to PREFERRED_PROVIDER_make = make Build Configuration: BB_VERSION = "1.22.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "qemuarm" DISTRO = "poky" DISTRO_VERSION = "1.6.2" TUNE_FEATURES = "armv7a vfp neon" TARGET_FPU = "vfp-neon" meta meta-yocto meta-yocto-bsp = "daisy:6b8f7999c3e86d6e834af95ffe4c33d0d53db34a" meta-crosswalk = "master:82e1f2156e299c7fc5495fc8d366138ec3884b4a" NOTE: Preparing runqueue NOTE: Marking Active Tasks NOTE: Pruned 3598 inactive tasks, 1949 left NOTE: Assign Weightings NOTE: Compute totals (have 1 endpoint(s)) NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 + do_configure + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 + export LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory + export CC_host=gcc + export CXX_host=g++ + build/linux/unbundle/replace_gyp_files.py -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 + grep ^blink_upstream_rev xwalk/DEPS.xwalk + cut -d' -f2 + xwalk/tools/upstream_revision.py -r 185310 -o xwalk/build/UPSTREAM.blink + xwalk/gyp_xwalk --depth=. -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 -I/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/include.gypi Updating projects from gyp files... gyp: name 'build_with_chromium' is not defined while evaluating condition 'build_with_chromium==1' in /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/third_party/libjingle/source/talk/libjingle.gyp + bb_exit_handler + ret=1 + echo WARNING: exit code 1 from a shell command. WARNING: exit code 1 from a shell command. + exit 1 ERROR: Function failed: do_configure (log file is located at /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/temp/log.do_configure.11084) ERROR: Logfile of failure stored in: /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/temp/log.do_configure.11084 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: Executing shell function do_configure | + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 | + do_configure | + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 | + export LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory | + export CC_host=gcc | + export CXX_host=g++ | | + build/linux/unbundle/replace_gyp_files.py -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 | | + grep ^blink_upstream_rev xwalk/DEPS.xwalk | | + cut -d' -f2 | | + xwalk/tools/upstream_revision.py -r 185310 -o xwalk/build/UPSTREAM.blink | | + xwalk/gyp_xwalk --depth=. -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 -I/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/include.gypi | | Updating projects from gyp files... | | gyp: name 'build_with_chromium' is not defined while evaluating condition 'build_with_chromium==1' in /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/third_party/libjingle/source/talk/libjingle.gyp | | + bb_exit_handler | + ret=1 | + echo WARNING: exit code 1 from a shell command. | WARNING: exit code 1 from a shell command. | + exit 1 | | + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 | + do_configure | + cd /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0 | + export LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory | + export CC_host=gcc | + export CXX_host=g++ | + build/linux/unbundle/replace_gyp_files.py -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 | + grep ^blink_upstream_rev xwalk/DEPS.xwalk | + cut -d' -f2 | + xwalk/tools/upstream_revision.py -r 185310 -o xwalk/build/UPSTREAM.blink | + xwalk/gyp_xwalk --depth=. -Darm_float_abi=softfp -Dcomponent=static_library -Dclang=0 -Dhost_clang=0 -Dlinux_use_bundled_binutils=0 -Dlinux_use_bundled_gold=0 -Dlinux_use_debug_fission=0 -Dlinux_use_gold_flags=0 -Drelease_extra_cflags=-Wno-error=unused-local-typedefs -Dsysroot= -Ddisable_nacl=1 -Denable_printing=0 -Dremoting=0 -Duse_cups=0 -Duse_gio=0 -Duse_gnome_keyring=0 -Duse_kerberos=0 -Duse_system_fontconfig=1 -Duse_system_expat=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libxslt=1 -Duse_system_speex=1 -Duse_system_yasm=1 -I/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/include.gypi | Updating projects from gyp files... | gyp: name 'build_with_chromium' is not defined while evaluating condition 'build_with_chromium==1' in /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/third_party/libjingle/source/talk/libjingle.gyp | + bb_exit_handler | + ret=1 | + echo WARNING: exit code 1 from a shell command. | WARNING: exit code 1 from a shell command. | + exit 1 | ERROR: Function failed: do_configure (log file is located at /disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/temp/log.do_configure.11084) ERROR: Task 5 (/home/ubuntu/poky/meta-crosswalk/recipes-crosswalk/crosswalk/ crosswalk_12.40.295.0.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1942 tasks of which 1941 didn't need to be rerun and 1 failed. No currently running tasks (1703 of 1949) Summary: 1 task failed: /home/ubuntu/poky/meta-crosswalk/recipes-crosswalk/crosswalk/ crosswalk_12.40.295.0.bb, do_configure Summary: There was 1 ERROR message shown, returning a non-zero exit code. ubuntu@YoctoStrong:/disk1/tsonghong_build$ '../third_party/libjingle/source/talk/libjingle_examples.gyp:*', On Tue, Mar 24, 2015 at 7:22 PM, Raphael Kubo da Costa < [email protected]> wrote: > 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 >
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
