Because when you build for Android, we still have to create the snapshot on the machine you are building from. What happens is:
- build V8 for the host (x64) - run mksnapshot on the host, with the simulator for the target (arm), to get the snapshot for the target. - build V8 for the target On Friday, December 9, 2016 at 10:02:15 AM UTC+1, [email protected] wrote: > > It seems that even though i run -Dtarget_arch=android_arm the resulting .a > files are x64 architecture, why does my ninja build do x64 build even > though i specified -Dtarget_arch=android_arm -Darm_version=7 > > On Thursday, December 8, 2016 at 12:05:43 PM UTC+2, > [email protected] wrote: >> >> Hallo, im trying to build v8 on android and i generate the project files >> with gyp as follows : >> python gypfiles/gyp_v8 -Dtarget_arch=android_arm >> -Dcomponent=shared_library -Dv8_enable_inspector=1 -Dv8_code=0 >> -Dv8_enable_slow_dchecks=0 -Dv8_use_external_startup_data=0 >> -Dv8_enable_i18n_support=0 -Darm_version=7 >> When i run: ninja -C out/Debug there are linking errors, for example when >> i try to build: ninja -C out/Debug mksnapshot, there are dozens of linking >> errors because of internal stuff not found >> When i run gyp with the same arguemnts plus -Dv8_use_snapshot='false' >> the build succeeds, >> Note i'm building 5.6-lkgr of v8 >> Thanks, >> ~ Pavel >> > -- -- 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.
