hey, to build for android, you should add target_os = "android" and target_cpu = "arm".
you'll also have to add target_os = ['android', 'mac'] to your .gclient file (which should be one level up from your v8 checkout), so gclient sync will download the android specific deps hth -jochen On Thu, Dec 22, 2016 at 5:41 PM 'Mindy DelliCarpini' via v8-users < v8-users@googlegroups.com> wrote: > Need a V8 build for our prototyping tool (boom.googleplex.com). The tool > runs with a Mac simulator, so the build has to be completed on a Mac. > > The TOT v8 builds are broken for Mac, and also for building static full > libraries (no the thin .a files, which wouldn't be shareable) > > I'm interested in getting any of the following working (preference for Mac > build, but I know its not a common thing) > > 1) *Build v8 on my mac* > Tried old instructions, but failed with missing libraries (standard c++?) > https://github.com/v8/v8/wiki/D8-on-Android > Tried new instructions: > tools/dev/v8gen.py arm.release > Added: target_os=arm > Getting this failure: > > /Users/mindyp/local/src/v8/buildtools/mac/gn > --root=/Users/mindyp/local/src/v8 -q --check gen . > > ERROR Unresolved dependencies. > > //:run_mkpeephole(//build/toolchain/android:android_arm) > > needs //:mkpeephole(//build/toolchain/mac:clang_x86_v8_arm) > > //:run_mksnapshot(//build/toolchain/android:android_arm) > > needs //:mksnapshot(//build/toolchain/mac:clang_x86_v8_arm) > > > 2) *Full static library build on Linux that is not just the .a, so I can > transfer it to my mac* > Followed: > http://linuxplayer.org/2013/12/how-to-build-v8-static-library > But this breaks during the LD phase > Added: https://bugs.chromium.org/p/v8/issues/detail?id=5617#c1 > (LDFLAGS=-lc++) > Still broken > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.