Changes to local CEF fails to create project

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Changes to local CEF fails to create project

Postby magreenblatt » Tue Jul 26, 2016 12:44 pm

Whenever you get a gclient sync error that references a particular third-party directory it's usually easiest just to delete that directory manually and then try again.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Changes to local CEF fails to create project

Postby sam007 » Tue Jul 26, 2016 5:11 pm

magreenblatt wrote:Whenever you get a gclient sync error that references a particular third-party directory it's usually easiest just to delete that directory manually and then try again.


After deleting the directory, I got it to run but it ended with an error and warning. I then did checkout of CEF to 2704 branch and ran the
Code: Select all
ninja -C out\Debug cefclient cefsimple cef_unittests
and it ran fine.

Is that alright? Can I now make the changes manually to the CEF branch for support of Certificate dialogs from the PR.
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Changes to local CEF fails to create project

Postby magreenblatt » Tue Jul 26, 2016 5:46 pm

If it built successfully then you should be fine from a build perspective.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Changes to local CEF fails to create project

Postby sam007 » Tue Jul 26, 2016 6:17 pm

magreenblatt wrote:If it built successfully then you should be fine from a build perspective.


What is the best way to debug CEF? I made the changes from the PR and ran create project bat file and then ran the ninja build but the result is the same. Want to make sure that the new changes were indeed taken in.
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Changes to local CEF fails to create project

Postby magreenblatt » Tue Jul 26, 2016 9:12 pm

sam007 wrote:
magreenblatt wrote:If it built successfully then you should be fine from a build perspective.


What is the best way to debug CEF? I made the changes from the PR and ran create project bat file and then ran the ninja build but the result is the same. Want to make sure that the new changes were indeed taken in.

viewtopic.php?f=6&t=10567 #19
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Changes to local CEF fails to create project

Postby sam007 » Thu Jul 28, 2016 3:29 pm

Ok, so the changes that I made compiled correctly but I wanted to confirm if "chromium_git/chromium/src/out/Debug/cefclient.exe" will reflect the changes that I made for CEF ("chromium_git/chromium/src/cef/")

This is because cefclient.exe continues to show the same outcome as before as if the changes did not affect it. So just want to know if cefclient.exe should reflect the changes made in CEF or do I need to use some other mechanism?
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Re: Changes to local CEF fails to create project

Postby magreenblatt » Thu Jul 28, 2016 10:15 pm

Did you build the cefclient target with ninja?

ninja -C out\Debug cefclient
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Changes to local CEF fails to create project

Postby sam007 » Fri Jul 29, 2016 12:35 am

magreenblatt wrote:Did you build the cefclient target with ninja?

ninja -C out\Debug cefclient


Yes, I ran
Code: Select all
ninja -C out\Debug cefclient cefsimple cef_unittests
sam007
Techie
 
Posts: 46
Joined: Thu Feb 18, 2016 12:36 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 111 guests