BaseTools: Rename String to StringUtils.

For case-insensitive file systems, edk2 String.py collides with the
Python string.py, which results in build errors. This,for example,
applies to building via the Windows Subsystem for Linux from a
DriveFS file system. This patch renames String to StringUtils to
prevent conflicts for case-insensitive file systems.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Marvin.Haeuser@outlook.com
2018-05-19 18:50:25 +08:00
committed by Liming Gao
parent ba94c38f08
commit 5a57246eab
42 changed files with 43 additions and 43 deletions

View File

@@ -46,7 +46,7 @@ COMMON_PYTHON=$(BASE_TOOLS_PATH)\Source\Python\Common\BuildToolError.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\LongFilePathSupport.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\Misc.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\Parsing.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\String.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\StringUtils.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\TargetTxtClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\ToolDefClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\Common\VpdInfoFile.py \
@@ -167,7 +167,7 @@ CMD_UPT=$(BASE_TOOLS_PATH)\Source\Python\UPT\Core\DependencyRules.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\Misc.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\ParserValidate.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\Parsing.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\String.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\StringUtils.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\UniClassObject.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Library\Xml\XmlRoutines.py \
$(BASE_TOOLS_PATH)\Source\Python\UPT\Logger\Log.py \