Almost all obj files were not list as linked in the shared library building, 
what and how could I check if the ninja works well?
Thanks,Gary----- 原始邮件 -----
发件人:"Gary Chine" <[email protected]>
收件人:"Crosswalk-dev" <[email protected]>
主题:回复:Crosswalk-dev Digest, Vol 24, Issue 51
日期:2015年09月01日 11点06分

Maybe we could firstly focus on the actully build command:







if [ ! -e lib/libxwalkcore.so -o ! -e lib/libxwalkcore.so.TOC ]; then 
/home/dachen/crosswalk-src/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
 -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs 
-Wl,-z,noexecstack -fPIC 
-B/home/dachen/crosswalk-src/src/third_party/binutils/Linux_x64/Release/bin 
-Wl,--no-fatal-warnings 
-L/home/dachen/crosswalk-src/src/third_party/etf/etf_dynamics/android/libs/armeabi
 -fuse-ld=gold -Wl,--no-undefined 
--sysroot=../../third_party/android_tools/ndk//platforms/android-14/arch-arm 
-nostdlib 
-L../../third_party/android_tools/ndk//sources/cxx-stl/stlport/libs/armeabi-v7a 
-Wl,--exclude-libs=libgcc.a -Wl,--exclude-libs=libstlport_static.a 
-Wl,--exclude-libs=libcommon_audio.a -Wl,--exclude-libs=libcommon_audio_neon.a 
-Wl,--exclude-libs=libcommon_audio_sse2.a -Wl,--exclude-libs=libiSACFix.a 
-Wl,--exclude-libs=libisac_neon.a -Wl,--exclude-libs=libopus.a 
-Wl,--exclude-libs=libvpx.a -Wl,--icf=safe -Wl,-shared,-Bsymbolic 
../../third_party/android_tools/ndk//platforms/android-14/arch-arm/usr/lib/crtbegin_so.o
 
-Wl,--version-script=/home/dachen/crosswalk-src/src/build/android/android_no_jni_exports.lst
 -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--warn-shared-textrel -o 
lib/libxwalkcore.so -Wl,-soname=libxwalkcore.so @lib/libxwalkcore.so.rsp && { 
readelf -d lib/libxwalkcore.so | grep SONAME ; nm -gD -f p lib/libxwalkcore.so 
| cut -f1-2 -d' '; } > lib/libxwalkcore.so.TOC; else 
/home/dachen/crosswalk-src/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
 -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs 
-Wl,-z,noexecstack -fPIC 
-B/home/dachen/crosswalk-src/src/third_party/binutils/Linux_x64/Release/bin 
-Wl,--no-fatal-warnings 
-L/home/dachen/crosswalk-src/src/third_party/etf/etf_dynamics/android/libs/armeabi
 -fuse-ld=gold -Wl,--no-undefined 
--sysroot=../../third_party/android_tools/ndk//platforms/android-14/arch-arm 
-nostdlib 
-L../../third_party/android_tools/ndk//sources/cxx-stl/stlport/libs/armeabi-v7a 
-Wl,--exclude-libs=libgcc.a -Wl,--exclude-libs=libstlport_static.a 
-Wl,--exclude-libs=libcommon_audio.a -Wl,--exclude-libs=libcommon_audio_neon.a 
-Wl,--exclude-libs=libcommon_audio_sse2.a -Wl,--exclude-libs=libiSACFix.a 
-Wl,--exclude-libs=libisac_neon.a -Wl,--exclude-libs=libopus.a 
-Wl,--exclude-libs=libvpx.a -Wl,--icf=safe -Wl,-shared,-Bsymbolic 
../../third_party/android_tools/ndk//platforms/android-14/arch-arm/usr/lib/crtbegin_so.o
 
-Wl,--version-script=/home/dachen/crosswalk-src/src/build/android/android_no_jni_exports.lst
 -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--warn-shared-textrel -o 
lib/libxwalkcore.so -Wl,-soname=libxwalkcore.so @lib/libxwalkcore.so.rsp && { 
readelf -d lib/libxwalkcore.so | grep SONAME ; nm -gD -f p lib/libxwalkcore.so 
| cut -f1-2 -d' '; } > lib/libxwalkcore.so.tmp && if ! cmp -s 
lib/libxwalkcore.so.tmp lib/libxwalkcore.so.TOC; then mv 
lib/libxwalkcore.so.tmp lib/libxwalkcore.so.TOC ; fi; fi
I didn't see the libweb_contents_delegate_android.a was linked when build 
libxwalkcore.so,and the libweb_contents_delegate_android.a depends on 
libbase.a. So,maybe I understand wrong here.
Thanks,Gary








----- 原始邮件 -----
发件人:[email protected]
收件人:[email protected]
主题:Crosswalk-dev Digest, Vol 24, Issue 51
日期:2015年09月01日 03点00分


Send Crosswalk-dev mailing list submissions to
        [email protected]
To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
or, via email, send a message with subject or body 'help' to
        [email protected]
You can reach the person managing the list at
        [email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Crosswalk-dev digest..."
Today's Topics:
   1. Re: link error for build cross walk by integrating        a library
      (Raphael Kubo da Costa)
----------------------------------------------------------------------
Message: 1
Date: Mon, 31 Aug 2015 14:39:12 +0200
From: Raphael Kubo da Costa <[email protected]>
To: Crosswalk-dev <[email protected]>
Subject: Re: [Crosswalk-dev] link error for build cross walk by
        integrating     a library
Message-ID: <[email protected]>
Content-Type: text/plain
Gary Chine <[email protected]> writes:
[...]
> ../../components/visitedlink/browser/visitedlink_master.cc:68: error:
> undefined reference to 'base::OpenFile(base::FilePath const&, char
> const*)'
[...]
> If I just need a arm arch build,the simplest way to change that I
> think is:don't build the 'host' targeted in build commands or change
> some codes in some gypi file with specified arguments,is that
> correct?Currently,I use the ninja -C out/Release xwalk_core_library -
> j8,which default builds both 'host' and 'target'(defined the value of _
> toolset)
>
> Another way is:keep the 'host' part the original,and move my change to
> a separate target_condition,I think it's too difficult for me.
It is still hard to figure out what you are trying to do and why;
basically if you are replacing existing functionality in a layer as low
as base/ you are in uncharted territory. From what I can understand you
basically need option 2 above, as hard as it may be.
------------------------------
Subject: Digest Footer
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
------------------------------
End of Crosswalk-dev Digest, Vol 24, Issue 51
*********************************************
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to