How do you build one libv8.so file for Android? I am using Ubuntu. What 
would be the correct GN args? I can't seem to get a libv8.so. I am getting 
bunch of archive files.


On Thursday, January 26, 2017 at 6:42:42 AM UTC-8, Jochen Eisinger wrote:
>
> it's blocked on the NDK we download not supporting Darwin, and that's a 
> bit outside of my scope to change myself, so no idea when it'll be available
>
> On Wed, Jan 25, 2017 at 2:22 PM Mindy DelliCarpini <[email protected] 
> <javascript:>> wrote:
>
>> Thoughts on when it might be supported?
>>
>> Or any prebuilts? I know you had been submitting patches in December to 
>> move this forward
>>
>> On Wed, Jan 25, 2017 at 5:04 AM, Jochen Eisinger <[email protected] 
>> <javascript:>> wrote:
>>
>>> Using gn to build for android on mac is not yet supported, sorry (and I 
>>> realize that the make based version is also no longer supported...) sorry 
>>> about that :/
>>>
>>> On Wed, Jan 25, 2017 at 2:08 AM Mindy DelliCarpini <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>>
>>>>
>>>> I built libv8_base, libv8_libbase,  these as full static libraries:
>>>>
>>>>
>>>> args.gn:
>>>>
>>>> is_debug = false
>>>>
>>>> target_cpu = "arm"
>>>>
>>>> v8_target_cpu = "arm"
>>>>
>>>> target_os="android"
>>>>
>>>> v8_static_library = true
>>>>
>>>>
>>>> Errors:
>>>>
>>>> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
>>>>  
>>>> error: jni/libpng.a: no archive symbol table (run ranlib)
>>>>
>>>>
>>>> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
>>>>  
>>>> error: jni/libv8_libbase.a: no archive symbol table (run ranlib)
>>>>
>>>>
>>>> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
>>>>  
>>>> error: jni/libv8_libplatform.a: no archive symbol table (run ranlib)
>>>>
>>>>
>>>> Follow by a bunch of unsatisfied linker errors:
>>>>
>>>>
>>>> jni/BoomListPackagesAndroid.cpp:124: error: undefined reference to 
>>>> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>>>>
>>>> jni/BoomListPackagesAndroid.cpp:125: error: undefined reference to 
>>>> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>>>>
>>>> jni/BoomListPackagesAndroid.cpp:126: error: undefined reference to 
>>>> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>>>>
>>>> jni/../../src/common/js/v8/BoomEngine.v8.cpp:31: error: undefined 
>>>> reference to 'v8::Isolate::GetCurrent()'
>>>>
>>>> ....
>>>>
>>>>
>>>> I'm building on MacOSX for Android; I would guess the linker errors are 
>>>> because of the no archive symbol table error at the top...
>>>>
>>>> How can I fix them?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> -- 
>>>> v8-users mailing list
>>>> [email protected] <javascript:>
>>>> http://groups.google.com/group/v8-users
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "v8-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> -- 
>>> v8-users mailing list
>>> [email protected] <javascript:>
>>> http://groups.google.com/group/v8-users
>>> --- 
>>>
>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "v8-users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/v8-users/vIn1RNWosjM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected] <javascript:>.
>>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> -- 
>> v8-users mailing list
>> [email protected] <javascript:>
>> http://groups.google.com/group/v8-users
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to