BaseTools: Use pip module if available, CI uses it by default
Use the new edk2-basetools pip module. Includes a helpful message in setup to let users know which has been selected. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Yuwei <Chen<yuwei.chen@intel.com> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
ecc267fec5
commit
1534b6228b
34
BaseTools/BinPipWrappers/PosixLike/BrotliCompress
Executable file
34
BaseTools/BinPipWrappers/PosixLike/BrotliCompress
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# This script will exec Brotli tool with -e/-d options.
|
||||
#
|
||||
# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
QLT="-q 9 -w 22"
|
||||
ARGS=
|
||||
|
||||
while test $# -gt 0
|
||||
do
|
||||
case $1 in
|
||||
-e)
|
||||
;;
|
||||
-d)
|
||||
ARGS+="$1 "
|
||||
;;
|
||||
-o|-g)
|
||||
ARGS+="$1 $2 "
|
||||
shift
|
||||
;;
|
||||
-q)
|
||||
QLT="$1 $2 "
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
ARGS+="$1 "
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
exec Brotli $QLT $ARGS
|
Reference in New Issue
Block a user