Hi all, I'm trying to compile 5.4.500.36 for android using GN. My GN config is:
is_debug=false v8_target_cpu="x86" target_cpu="x86" host_cpu="x64" is_clang=true is_component_build=true target_os="android" v8_enable_i18n_support=false android_ndk_version="r13" android_ndk_major_version="13" v8_use_snapshot=false I use component_build so I can later on create a static library with this command (from the obj subdir in the build folder): ~/bin/android-ndk-r13/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android- *ar* rcvs libv8.a v8/*.o v8_base/*.o v8_libbase/*.o v8_libsampler/*.o v8_snapshot/*.o v8_libplatform/*.o v8_libsampler/*.o The result compiles and links ok against my code that uses v8, but for x86 I get these linker errors: ../../src/api.cc:5532: error: undefined reference to 'v8::internal::ReadNatives()' ../../src/api.cc:5552: error: undefined reference to 'v8::internal::DisposeNatives()' ../../src/base/once.h:95: error: undefined reference to 'v8::internal::SetNativesFromFile(v8::StartupData*)' ../../src/base/once.h:95: error: undefined reference to 'v8::internal::SetSnapshotFromFile(v8::StartupData*)' Is it related to me deactivating snapshots? I'd rather not add all the code for loading the blobs from assets for now. Should I add v8_nosnapshot/*.o instead of v8_snapshot/*.o into the library? Thanks and best, Kevin -- -- 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.