Build distrib does not detect changes

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.

Build distrib does not detect changes

Postby jaimeff » Mon Feb 01, 2021 6:09 pm

I'm using update.bat script to build libcef (branch 4280):

Code: Select all
python automate\automate-git.py --download-dir=C:\pentest\Cef2\chromium_git --depot-tools-dir=C:\pentest\Cef2\depot_tools --minimal-distrib --client-distrib --branch=4280 --x64-build

But it's refusing to compile even when I've modified one file (libcef_dll_wrapper.cc). Here's the output:

Code: Select all
C:\src\Cef2>python automate\automate-git.py --download-dir=C:\src\Cef2\chromium_git --depot-tools-dir=C:\src\Cef2\depot_tools --minimal-distrib --client-distrib --branch=4280 --x64-build
--> Download Directory: C:\src\Cef2\chromium_git
--> Depot Tools Directory: C:\src\Cef2\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "C:\src\Cef2\depot_tools"...
-------- Running "C:\src\Cef2\depot_tools\git.bat config --get remote.origin.url" in "C:\src\Cef2\chromium_git\cef"...
--> CEF Branch: 4280
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: C:\src\Cef2\chromium_git\cef
-------- Running "C:\src\Cef2\depot_tools\git.bat rev-parse HEAD" in "C:\src\Cef2\chromium_git\cef"...
-------- Running "C:\src\Cef2\depot_tools\git.bat fetch" in "C:\src\Cef2\chromium_git\cef"...
-------- Running "C:\src\Cef2\depot_tools\git.bat rev-parse origin/4280" in "C:\src\Cef2\chromium_git\cef"...
--> CEF Current Checkout: a29e9a36119251c167ae80fb9f8b09a582d7502b
--> CEF Desired Checkout: a29e9a36119251c167ae80fb9f8b09a582d7502b (origin/4280)
--> Reading C:\src\Cef2\chromium_git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "C:\src\Cef2\depot_tools\git.bat checkout 39d870e1f0" in "C:\src\Cef2\depot_tools"...
Previous HEAD position was 8c955950 Remove non-inclusive parameters from presubmit
HEAD is now at 39d870e1 Fix `git map-branches` when branch is named after a file/directory
--> CEF Output Directory: C:\src\Cef2\chromium_git\out_4280
-------- Running "C:\src\Cef2\depot_tools\git.bat config --get remote.origin.url" in "C:\src\Cef2\chromium_git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "C:\src\Cef2\depot_tools\git.bat fetch" in "C:\src\Cef2\chromium_git\chromium\src"...
remote: Counting objects: 50579, done
remote: Finding sources: 100% (3620/3620)
remote: Total 3620 (delta 894), reused 3030 (delta 894)
Receiving objects: 100% (3620/3620), 18.52 MiB | 274.00 KiB/s, done.
Resolving deltas: 100% (894/894), completed with 541 local objects.
From https://chromium.googlesource.com/chromium/src
   b1fdef2a30fe..8ad374e9eb16  lkgr                   -> origin/lkgr
   529f30a24ec4..3b4de9018110  lkgr-android-internal  -> origin/lkgr-android-internal
   529f30a24ec4..17b55dcbacde  lkgr-ios-internal      -> origin/lkgr-ios-internal
   905edd2c72b6..07c1b6a7d3ac  master                 -> origin/master
   882b4e2d288d..ce88d6043168  refs/branch-heads/4324 -> branch-heads/4324
   88f5fe18576e..d4b73fb75d67  refs/branch-heads/4389 -> branch-heads/4389
   8df30fd7b844..2eba864fc317  refs/branch-heads/4405 -> branch-heads/4405
-------- Running "C:\src\Cef2\depot_tools\git.bat fetch --tags" in "C:\src\Cef2\chromium_git\chromium\src"...
remote: Counting objects: 325677, done
remote: Finding sources: 100% (6/6)
remote: Total 6 (delta 4), reused 6 (delta 4)
Unpacking objects: 100% (6/6), 1.28 KiB | 34.00 KiB/s, done.
From https://chromium.googlesource.com/chromium/src
 * [new tag]                   88.0.4324.145 -> 88.0.4324.145
 * [new tag]                   90.0.4405.2   -> 90.0.4405.2
-------- Running "C:\src\Cef2\depot_tools\git.bat rev-parse HEAD" in "C:\src\Cef2\chromium_git\chromium\src"...
-------- Running "C:\src\Cef2\depot_tools\git.bat rev-parse refs/tags/87.0.4280.141" in "C:\src\Cef2\chromium_git\chromium\src"...
--> Chromium Current Checkout: c0dfcf99c0bbc9c4763c70e5034eb1a970a9ff3b
--> Chromium Desired Checkout: c0dfcf99c0bbc9c4763c70e5034eb1a970a9ff3b (refs/tags/87.0.4280.141)
--> Not building. The source hashes have not changed and the output folder "C:\src\Cef2\chromium_git\chromium\src\out" already exists
C:\src\Cef2>


Any ideas?

Regards,
jaimeff
Newbie
 
Posts: 3
Joined: Mon Jan 18, 2021 6:50 am

Re: Build distrib does not detect changes

Postby magreenblatt » Mon Feb 01, 2021 6:38 pm

Add the --force-build flag, or run ninja directly as shown in https://bitbucket.org/chromiumembedded/ ... dows-setup step 8.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build distrib does not detect changes

Postby ndesktop » Tue Feb 02, 2021 2:01 am

Running ninja directly is what works for me.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], VadZ and 58 guests