What do you think about adding use_system_v8 option to v8.gyp? I'd create the patch, just asking first if it has a chance to get accepted.Gentoo Linux is building with system V8 successfully as an option, and Debian also builds with system V8 afaik.
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
Why do you want to add this option to v8.gyp? lease explain as I would have expected this option to be handled in each dependent target like Chromium where the actual V8 to use should be defined.
How is this handled by other libraries used by e.g. Chromium?
--
I see - it will be OK to add this to v8.gyp.
I wonder why all the targets are required in the Gentoo gyp file. For a system V8 then only the v8 target should be required, as that is the only think that you can link with. Whether to use snapshots or not is determined by the system library and not by the consumer.
By the way why are values 0/1 used instead of false/true? I would prefer real booleans as is used by the variable v8_use_snapshot, but of cause consistency also matters the other way.