From: Jaben Carsey <jaben.carsey@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>, Yonghong Zhu <yonghong.zhu@intel.com>
Subject: [PATCH v1 1/2] BaseTools: copy a dictionary from InfClassObject to BuildReport
Date: Wed, 4 Apr 2018 08:01:44 -0700 [thread overview]
Message-ID: <43079dcb6b2f922ea3319930df21c31062f39a56.1522854049.git.jaben.carsey@intel.com> (raw)
In-Reply-To: <cover.1522854049.git.jaben.carsey@intel.com>
In-Reply-To: <cover.1522854049.git.jaben.carsey@intel.com>
InfClassObject will be deleted.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
---
BaseTools/Source/Python/build/BuildReport.py | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Source/Python/build/BuildReport.py
index 966a2aa5abf1..a0499e884a0a 100644
--- a/BaseTools/Source/Python/build/BuildReport.py
+++ b/BaseTools/Source/Python/build/BuildReport.py
@@ -33,7 +33,6 @@ from Common import EdkLogger
from Common.Misc import SaveFileOnChange
from Common.Misc import GuidStructureByteArrayToGuidString
from Common.Misc import GuidStructureStringToGuidString
-from Common.InfClassObject import gComponentType2ModuleType
from Common.BuildToolError import FILE_WRITE_FAILURE
from Common.BuildToolError import CODE_ERROR
from Common.BuildToolError import COMMAND_FAILURE
@@ -48,6 +47,21 @@ from Common.DataType import *
import collections
from Common.Expression import *
+gComponentType2ModuleType = {
+ "LIBRARY" : "BASE",
+ "SECURITY_CORE" : "SEC",
+ "PEI_CORE" : "PEI_CORE",
+ "COMBINED_PEIM_DRIVER" : "PEIM",
+ "PIC_PEIM" : "PEIM",
+ "RELOCATABLE_PEIM" : "PEIM",
+ "PE32_PEIM" : "PEIM",
+ "BS_DRIVER" : "DXE_DRIVER",
+ "RT_DRIVER" : "DXE_RUNTIME_DRIVER",
+ "SAL_RT_DRIVER" : "DXE_SAL_DRIVER",
+ "APPLICATION" : "UEFI_APPLICATION",
+ "LOGO" : "BASE",
+}
+
## Pattern to extract contents in EDK DXS files
gDxsDependencyPattern = re.compile(r"DEPENDENCY_START(.+)DEPENDENCY_END", re.DOTALL)
--
2.16.2.windows.1
next prev parent reply other threads:[~2018-04-04 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-04 15:01 [PATCH v1 0/2] BaseTools: remove files not needed Jaben Carsey
2018-04-04 15:01 ` Jaben Carsey [this message]
2018-04-10 6:32 ` [PATCH v1 1/2] BaseTools: copy a dictionary from InfClassObject to BuildReport Zhu, Yonghong
2018-04-04 15:01 ` [PATCH v1 2/2] BaseTools: Remove unneeded files Jaben Carsey
2018-04-08 8:16 ` Zhu, Yonghong
2018-04-09 21:11 ` Carsey, Jaben
2018-04-10 0:35 ` Zhu, Yonghong
2018-04-10 6:39 ` Zhu, Yonghong
2018-04-10 14:26 ` Carsey, Jaben
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43079dcb6b2f922ea3319930df21c31062f39a56.1522854049.git.jaben.carsey@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox