Search code examples
v8sharedcobalt

Build v8 as a shared library in Cobalt


I'm trying to build "v8" as a shared library in Cobalt using GYP. I set the variable "component" to "shared_library". When assembling an error pops up: ninja: error: obj.host/v8/src/v8_libbase.ninja:85: unknown build rule 'solink_host' build lib/host/libv8_libbase lib/host/libv8_libbase.TOC: solink_host $ ^ near here

Does anyone know how to fix this?


Solution

  • This is not supported, Cobalt must be build as a monolithic binary.