I looking into the same problem. Did you manage to find out if this is possible?
Kind regards Lars Magnusson On Sunday, March 8, 2020 at 12:50:01 AM UTC+1 Ronald Fenner wrote: > I'm using GN to build a project i'm starting on and I'm wondering ow to > build v8 as part of it's source. > I've got it as a dependency in the DEPS file and paces at the root of the > project like it is in chromium. > > However there seems to be imports that reference gmock, various tools etc > that i'd not like to have to add just to build v8 and i > was wondering if there is a way to build it using GN like it was a > standalone build and then pull the libraries in. > > my BUILD.gn looks ike this at the moment > > > import("//build_overrides/build.gni") > import("//v8/gni/v8.gni") > > executable("v8App") { > sources = [ > "hello.cc" > ] > > cflags = ["-Wall"] > include_dirs=["."] > deps = [ > "//v8:v8", > "//v8:v8_libbase", > > "//v8:v8_libplatform", > ] > } > > > I'm currently trying to get the build system setup minimal to just compile > the hello sample from v8. > > I do have a number of other files setup like the .gn file to set the > project root. > > Is there a way to potetially remap //v8 to //? > -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/81787438-9c0d-4a75-ba45-e106909de87bn%40googlegroups.com.