Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to build android version of V8?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shooting  
View profile  
 More options May 11 2010, 1:31 pm
From: Shooting <shooting...@gmail.com>
Date: Tue, 11 May 2010 10:31:36 -0700 (PDT)
Local: Tues, May 11 2010 1:31 pm
Subject: [v8-users] How to build android version of V8?
Hi all
I'm new to this javascript engine. I just heard that Android 2.0
already uses V8 in its webkit. So suppose V8 can build under NDK. The
question is how to do that? Seems we don't have direct option in V8
project to build a standalone V8 binary for android?

--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kelly  
View profile  
 More options Jun 23 2010, 6:29 pm
From: Kelly <senor...@gmail.com>
Date: Wed, 23 Jun 2010 15:29:17 -0700 (PDT)
Local: Wed, Jun 23 2010 6:29 pm
Subject: Re: How to build android version of V8?
You need to set up some environment variables and pass some args into
scons to get v8 to build for android. Also, from what I've seen, you
also need to have the android platform on your machine. I'm sure you
can work around it but I haven't gotten to it yet.

To build I am using a script with this  (totally stolen from another
thread):

export TOP=<location of android platform>
export NDK=<location of android NDK r4>/build/prebuilt/darwin-x86/arm-
eabi-4.4.0
(notice it says darwin, that's because I'm on mac, it's different for
others)
export AR=$NDK/bin/arm-eabi-ar
export CXX=$NDK/bin/arm-eabi-g++
export RANLIB=$NDK/bin/arm-eabi-ranlib
export CC=$NDK/bin/arm-eabi-gcc

scons mode=debug snapshot=off library=static importenv=TOP arch=arm
os=android

This, along with a few minor source changes, will build and link v8. I
can run scripts with it, but running javascript (native or local)
functions is currently failing for me.

On May 11, 10:31 am, Shooting <shooting...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wink Saville  
View profile  
 More options Jun 25 2010, 8:59 pm
From: Wink Saville <w...@saville.com>
Date: Fri, 25 Jun 2010 17:59:56 -0700
Local: Fri, Jun 25 2010 8:59 pm
Subject: Re: [v8-users] Re: How to build android version of V8?

In the froyo release external/v8 exists and a static library is built you
just need to link to it.

-- Wink


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glidos  
View profile  
 More options Sep 26 2012, 11:37 am
From: Glidos <goo...@glidos.net>
Date: Wed, 26 Sep 2012 08:37:15 -0700 (PDT)
Local: Wed, Sep 26 2012 11:37 am
Subject: Re: [v8-users] Re: How to build android version of V8?

On Saturday, June 26, 2010 1:59:56 AM UTC+1, Wink wrote:

> In the froyo release external/v8 exists and a static library is built you
> just need to link to it.

Can I do so from the native part of an app built with the NDK, or is
this advice only for those working on the android source? Also,
where can I obtain the library? Do I need to build it, or is it
hiding somewhere I've yet to uncover?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »