Hi All:
I now would like to compile chrome with C/C++ sanitizers, by adding the -fsanitize option to the toochain.ninja (add the option after cflag, cflag_cc and ldflag). But seems it brings a lot of trouble to protoc. If I understand correctly, the protoc only helps to generate some files and do not need to be instrumented with sanitizers. Could anyone give me the hint how to only instrument the code that would be finally compiled to Chrome? For example, no bother to care about some third-party folder and the ninja file to add the flag. I appreciate any help here.