Category : chromium

I want to set static variable (class instance), but encountered with next CLang’s warnings, which restrict to define static class instances: -Wexit-time-destructors -Wglobal-constructors. I’ve googled a little and found solution, which was used in Chromium: #define CR_DEFINE_STATIC_LOCAL(type, name, arguments) static type& name = *new type arguments But now this solution was cut out from Chromium. ..

Read more

I am building chromium on windows by following this chromium docs for the very first time and got this error. See the attached while building chromium in VScode. This the error where the build stopped. fatal error: ‘atlsecurity.h’ file not found #include <atlsecurity.h> ^~~~~~~~~~~~~~~ 1 error generated. [27/34527] CXX obj/base/base/logging.obj ninja: build stopped: subcommand failed. ..

Read more

I have almost finished building chromium from my windows desktop but I am stuck at the last step, running gn gen out/Default. I have checked my visual studio installer and Windows 10 SDK version 10.0.19041.0 has been already installed. I do not know what to do. The whole output is like the following: C:chromiumsrc>gn gen ..

Read more