public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/3] BaseTools: refactor to remove redundant
@ 2018-04-10 14:20 Jaben Carsey
  2018-04-10 14:20 ` [PATCH v1 1/3] BaseTools: refactor and remove more keys() usage Jaben Carsey
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jaben Carsey @ 2018-04-10 14:20 UTC (permalink / raw)
  To: edk2-devel

Replace raw strings used in lots of places with predefined constants.
remove more out of date keys() usage.

Jaben Carsey (3):
  BaseTools: refactor and remove more keys() usage
  BaseTools: use predefined constants instead of local strings
  BaseTools: use existing contrants to replace raw strings in python
    code.

 BaseTools/Source/Python/AutoGen/AutoGen.py             |  24 +--
 BaseTools/Source/Python/AutoGen/BuildEngine.py         |  23 +--
 BaseTools/Source/Python/AutoGen/GenC.py                |  13 +-
 BaseTools/Source/Python/AutoGen/GenDepex.py            |   3 +-
 BaseTools/Source/Python/AutoGen/GenPcdDb.py            |  15 +-
 BaseTools/Source/Python/AutoGen/GenVar.py              |  15 +-
 BaseTools/Source/Python/Common/DataType.py             |   2 +
 BaseTools/Source/Python/GenFds/AprioriSection.py       |   3 +-
 BaseTools/Source/Python/GenFds/FdfParser.py            |  29 ++--
 BaseTools/Source/Python/GenFds/Ffs.py                  |   3 +-
 BaseTools/Source/Python/GenFds/FfsInfStatement.py      |   5 +-
 BaseTools/Source/Python/GenFds/GenFds.py               |  13 +-
 BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py |   9 +-
 BaseTools/Source/Python/GenFds/Section.py              |   3 +-
 BaseTools/Source/Python/Workspace/DecBuildData.py      |   5 +-
 BaseTools/Source/Python/Workspace/DscBuildData.py      | 173 ++++++++++----------
 BaseTools/Source/Python/Workspace/InfBuildData.py      |   9 +-
 BaseTools/Source/Python/Workspace/MetaFileParser.py    |  34 ++--
 BaseTools/Source/Python/Workspace/MetaFileTable.py     |  22 +--
 BaseTools/Source/Python/Workspace/WorkspaceDatabase.py |   6 +-
 BaseTools/Source/Python/build/BuildReport.py           |   5 +-
 21 files changed, 218 insertions(+), 196 deletions(-)

-- 
2.16.2.windows.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-18  8:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 14:20 [PATCH v1 0/3] BaseTools: refactor to remove redundant Jaben Carsey
2018-04-10 14:20 ` [PATCH v1 1/3] BaseTools: refactor and remove more keys() usage Jaben Carsey
2018-04-18  8:48   ` Zhu, Yonghong
2018-04-10 14:20 ` [PATCH v1 2/3] BaseTools: use predefined constants instead of local strings Jaben Carsey
2018-04-16  1:43   ` Zhu, Yonghong
2018-04-10 14:20 ` [PATCH v1 3/3] BaseTools: use existing contrants to replace raw strings in python code Jaben Carsey
2018-04-11  1:07   ` Zhu, Yonghong
2018-04-11 14:20     ` Carsey, Jaben

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox