BaseTools: Update Brotli Compress to the latest one 1.0.6

https://bugzilla.tianocore.org/show_bug.cgi?id=1201
Update Brotli to the latest version 1.0.6
https://github.com/google/brotli
Verify VS2017, GCC5 build.
Verify Decompression boot functionality.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Liming Gao
2018-08-09 14:55:19 +08:00
parent 78af0984b4
commit dd4f667e70
99 changed files with 21720 additions and 30845 deletions

View File

@@ -1,7 +1,7 @@
## @file
# Windows makefile for 'Brotli' module build.
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -12,13 +12,14 @@
#
!INCLUDE ..\Makefiles\ms.common
INC = -I .\include $(INC)
CFLAGS = $(CFLAGS) /W2
APPNAME = Brotli
#LIBS = $(LIB_PATH)\Common.lib
COMMON_OBJ = common\dictionary.obj
COMMON_OBJ = common\dictionary.obj common\transform.obj
DEC_OBJ = \
dec\bit_reader.obj \
dec\decode.obj \
@@ -26,13 +27,16 @@ DEC_OBJ = \
dec\state.obj
ENC_OBJ = \
enc\backward_references.obj \
enc\backward_references_hq.obj \
enc\bit_cost.obj \
enc\block_splitter.obj \
enc\brotli_bit_stream.obj \
enc\cluster.obj \
enc\compress_fragment.obj \
enc\compress_fragment_two_pass.obj \
enc\dictionary_hash.obj \
enc\encode.obj \
enc\encoder_dict.obj \
enc\entropy_encode.obj \
enc\histogram.obj \
enc\literal_cost.obj \
@@ -42,19 +46,9 @@ ENC_OBJ = \
enc\utf8_util.obj
OBJECTS = \
tools\bro.obj \
tools\brotli.obj \
$(COMMON_OBJ) \
$(DEC_OBJ) \
$(ENC_OBJ)
!INCLUDE ..\Makefiles\ms.app
all: $(BIN_PATH)\BrotliCompress.bat
$(BIN_PATH)\BrotliCompress.bat: BrotliCompress.bat
copy BrotliCompress.bat $(BIN_PATH)\BrotliCompress.bat /Y
cleanall: localCleanall
localCleanall:
del /f /q $(BIN_PATH)\BrotliCompress.bat > nul