Try building in Release mode instead of Debug, the generated artifacts should be a lot smaller.
That said, if you do custom modifications to the build system, you're pretty much on your own when things don't work as expected. Also, consider using the latest stable branch instead of a random daily snapshot. On Mon, Sep 14, 2015 at 8:21 PM, Krystian Kruk <kil...@gmail.com> wrote: > Hi! > > I'm trying to embed V8 on android. > Compiling on MacOS is currently broken as I see, so I tried on a fresh > Ubuntu distro (VM). > > My steps : > 1. get depot_tools > <http://www.chromium.org/developers/how-tos/install-depot-tools> > 2. `fetch v8` > 3. `git checkout origin/4.7.49 > <https://github.com/v8/v8-git-mirror/tree/4.7.49>` > 4. `echo "target_os = ['android']" >> ../.gclient && gclient sync > --nohooks` as described on wiki > <https://code.google.com/p/v8-wiki/wiki/D8OnAndroid> > 5. `sudo apt-get install libc6-dev-i386 g++-multilib` (because compiling > errors with some missed libraries) > 6. add `'standalone_static_library': 1` to build/standalone.gypi (here > <https://github.com/v8/v8-git-mirror/blob/master/build/standalone.gypi#L1095>) > - > to get a no-'thin library' > 7. `make android_arm.debug i18nsupport=off` > 8. POOF! out/android_arm.debug/obj.target/tools/gyp/libv8_base.a is ~700MB. > > What I'm doing wrong? > Thanks! > > -- > -- > 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.