Hi people!
I'm completely new to this project so please bear with me.
I have an Idea on a modification to the desktop-Notifications (that can be sent from webpages or extensions) I want to try out.
I have managed to check out and build Chromium (without Google APIs from win7x64) using the commandline tools used in the tutorial. The generated chrome.exe seem to be working as expected. So far so good. Now I want to get to work and start tweaking and here I run into trouble.
I have generated the all.sln-file for VS2015 without --filters and like the tutorial says it is a massive file to load in VS2015. I have not managed to load it all because VS2015 hangs and exits before finishing. That is when I started thinking that maybe it would work better with a less massive .sln?
So I tried using the --filters flag when running 'gn gen' . If I have hit the right target in navigating the code the src\ui\arc is the part responsible for posting these desktop notifications and hence there is the code I want to fiddle with. I tried using --filters=//ui/arc (and similar) but I only get
"Error: No VS project generated" with no further explanation.
Then I tried --filters=//ui/* and then it indeed generated a new all.sln file. I managed to open it in VS2015 but when it finished loading this (also rather hefty) file and had status 'ready' the arc folder/sourcefiles was NOT listed under ui in the tree.
So I need some guidance here and can not seem to google my way to the information myself:
1. How can I use --filters to generate a .sln-file?
2. I don't need to use VS necessarily (and don't know if the big project is actually causing the crash) but if I am to use a simple text editor I need to know how to tell the compiler which files have been modified in order for it to know which parts to recompile, right?
(I tried just adding some code to a cc-file, save it and run 'ninja -C out/Default chrome' hoping that it might detect the file change but it only gave me 'ninja: no work to do').
If someone could help me out with one or both of these two questions I'd be very grateful. Please pardon my extreme newbie:ism. I have coded a lot of C++ with Qt using Qt's own dev-tools but never used VS, ninja or depot_tools before.
Sincerely,
/KrisJ