Ninja won't build V8 Monolith for Android/arm

395 views
Skip to first unread message

André Vale

unread,
Jan 5, 2020, 7:44:53 PM1/5/20
to v8-users
Hi all,

I am trying to build v8-monolithic, targeting Android / arm, but I get this message:

ninja: Entering directory `out.gn/arm.release'
ninja: error: unknown target 'v8_monolith'

The GN args are:

is_component_build = false
is_debug = false
target_cpu = "arm"
target_os = "android"
v8_enable_i18n_support = false
v8_monolithic = true
v8_target_cpu = "arm"
v8_use_external_startup_data = false

Is that possible to build v8 monolithic for Android / arm ?

Regards,
André

André Vale

unread,
Jan 6, 2020, 4:39:48 PM1/6/20
to v8-users
Hi all,

TL;DR I was able to sort things out by skipping "tools/dev/v8gen.py" and using "gn gen" instead.

---

I was able to make it work by using "gn gen ..." instead of "tools/dev/v8gen.py".

Using "gn gen" also fixed an issue I was having (wrong ELF format) when trying to run d8, even though I had the args.gn file using arm all way around.
Reply all
Reply to author
Forward
0 new messages