summaryrefslogtreecommitdiff
path: root/devtools/bin/updatecef.bat
diff options
context:
space:
mode:
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