summaryrefslogtreecommitdiff
path: root/devtools/bin/updatecef.bat
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /devtools/bin/updatecef.bat
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'devtools/bin/updatecef.bat')
-rw-r--r--devtools/bin/updatecef.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/devtools/bin/updatecef.bat b/devtools/bin/updatecef.bat
new file mode 100644
index 0000000..5e296f9
--- /dev/null
+++ b/devtools/bin/updatecef.bat
@@ -0,0 +1,14 @@
+rem script to update libcef from Steam/main to this project
+rem brings over all the dll's and import libraries and support libraries plus updates the header files
+rem run this, then resolve the changelist in perforce and submit
+SET SRCDIR=//Steam/main
+SET PUBLISH_SCRIPT=//thirdpartycode/nonredist/chromeemb/dev/publish_cef_to_steam.py
+
+rem Resolve this to an absolute path
+pushd %~dp0..\..\..
+SET DSTDIR=%CD%
+popd
+
+p4 print -q -o "%TMP%\publish.py" %PUBLISH_SCRIPT%
+python "%TMP%\publish.py" --game=tf2 "%DSTDIR%" "%SRCDIR%"
+p4 merge %SRCDIR%/client/bin/icudt.dll %DSTDIR%/game/bin/icudt.dll