chromiumvcprojgyp

No .sln or .vcporj files get generated from runhooks when compiling Chromium


So I'm attempting my first Chrome build just for fun and I've gotten all the files I want through gclient config and sync. However, there are no project files that VS can open, just a bunch of .gyp files that are useless to me.

The command 'gclient runhooks --force' is supposed to generate the sln files for me, but when I run it I get nothing. Not even an error.

What's up?

Thanks.


Solution

  • Yes, this info still seems to be missing from the Chromium documentation at the moment. The way to generate your Visual Studio Solution files is:

    export GYP_GENERATORS=msvs-ninja
    gclient runhooks --force
    

    You won't need the --force if it's your first time calling gclient runhooks. The generator should be good for your ninja build and it should generate your .sln files.