Failed to update the patch

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.

Failed to update the patch

Postby Satrajit » Wed Feb 17, 2021 1:21 pm

Tried 2 processes for creating the patch, but failed in both.

process 1:
As a part of the patch process I am trying to update the services/viz/privileged/mojom/compositing/BUILD.gn file and other 2 files.
But while running the patch_updater.py from cef/tools folder its not recreating the modified viz_osr_2575.patch
I am running the command as given below
python patch_updater.py --add = "../../services/viz/privileged/mojom/compositing/BUILD.gn" --resave --patch = "viz_osr_2575.patch"

output:
--> Reading patch config C:\ws\cef\4324\chromium\src\cef\patch\patch.cfg
AND NO PATCH MODIFIED.

process 2:

on running automate-git.py with the following switches viz_osr_2575.patch gets modified but all the changes are incorporated except changes in "services/viz/privileged/mojom/compositing/BUILD.gn"
automate-git.py
"--download-dir=./" + cefBranch, \
"--checkout=" + cefCommitID, \
"--branch=" + cefBranch ,\
"--no-debug-build", \
"--no-build", \
"--x64-build" , \
"--log-chromium-changes" , \
"--resave" ]


Can anyone pls tell me where am I going wrong in both the processes ?
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Failed to update the patch

Postby magreenblatt » Wed Feb 17, 2021 1:51 pm

You command line is wrong. See the example patch_updater usage here (section D).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Failed to update the patch

Postby Satrajit » Thu Feb 18, 2021 2:48 am

yes, resolved.
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 54 guests