]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/BrotliCompress/BrotliCompress.bat
MdeModulePkg: Remove unsupported PcdExpression usage in module INF
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / BrotliCompress.bat
CommitLineData
87d97b6a
SB
1@echo off\r
2@setlocal\r
3\r
4set LVL=--quality 9\r
5\r
6:Begin\r
7if "%1"=="" goto End\r
8\r
9if "%1"=="-d" (\r
10 set ARGS=%ARGS% --decompress\r
11 shift\r
12 goto Begin\r
13)\r
14\r
15if "%1"=="-e" (\r
16 shift\r
17 goto Begin\r
18)\r
19\r
20if "%1"=="-g" (\r
21 set ARGS=%ARGS% --gap %2\r
22 shift\r
23 shift\r
24 goto Begin\r
25)\r
26\r
27if "%1"=="-l" (\r
28 set LVL=--quality %2\r
29 shift\r
30 shift\r
31 goto Begin\r
32)\r
33\r
34if "%1"=="-o" (\r
35 set ARGS=%ARGS% --output %2\r
36 set INTMP=%2\r
37 shift\r
38 shift\r
39 goto Begin\r
40)\r
41\r
42set ARGS=%ARGS% --input %1\r
43shift\r
44goto Begin\r
45\r
46:End\r
47Brotli %ARGS% %LVL%\r
48@echo on\r