Abhishek Kanike
2018-06-11 19:41:15 UTC
Hi,
I am trying to a link a sample static external library for chromium android
build. I followed below steps to do so,
1. Added the *libSampleLibrary.a* into
*$NDK/sources/cxx-stl/llvm-libc++/libs/arm64-v8a*
2. Linked this file into android build at
https://cs.chromium.org/chromium/src/build/config/android/BUILD.gn?l=160 as* libs
+= [ "SampleLibrary" ]*
3. Called* mySampleLibraryFun() *in *v9/base/platform/time.cc.*
When i try to build for android os, i am getting *undefined symbol
mySampleLibraryFun().*
So library is not getting linked properly.
Do I need to build and link specifically through toolchain?
Can anyone please me with this issue.
Regards,
K Abhishek
I am trying to a link a sample static external library for chromium android
build. I followed below steps to do so,
1. Added the *libSampleLibrary.a* into
*$NDK/sources/cxx-stl/llvm-libc++/libs/arm64-v8a*
2. Linked this file into android build at
https://cs.chromium.org/chromium/src/build/config/android/BUILD.gn?l=160 as* libs
+= [ "SampleLibrary" ]*
3. Called* mySampleLibraryFun() *in *v9/base/platform/time.cc.*
When i try to build for android os, i am getting *undefined symbol
mySampleLibraryFun().*
So library is not getting linked properly.
Do I need to build and link specifically through toolchain?
Can anyone please me with this issue.
Regards,
K Abhishek
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.