audk/BaseTools/Source/Python/AutoGen
Mingyue Liang 8c610e6075 BaseTools: Limit command line length.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2528

Currently, CL command contains multiple C files will be compiled,
and that caused command line too long, which may trigger build error.

In order to solve this issue, the following rules is used in this scene:

If the number of C files is greater than one, a txt file will be used
to record these C files, and replaces the corresponding content in
command line with the file name.

Else (only one C file listed in the command line), the length of the
whole CL command line will determine whether use a file to record. If
the length exceeds the limited max length, use the recording file; else
C file name directly listed in the command line

Signed-off-by: Mingyue Liang <mingyuex.liang@intel.com>
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>
2020-11-10 05:49:38 +00:00
..
AutoGen.py BaseTools: Decouple AutoGen Objects 2019-08-09 23:15:52 +08:00
AutoGenWorker.py BaseTools: Move CreateAsBuiltInf into AutoGenWorker for parallel 2020-08-14 01:43:32 +00:00
BuildEngine.py BaseTools: Fix string concatenation 2020-07-02 10:09:17 +00:00
DataPipe.py BaseTools: Enable Module Scope Structure Pcd 2020-11-05 04:27:28 +00:00
GenC.py BaseTools: Add EDKII_DSC_PLATFORM_GUID MACRO 2020-10-13 02:35:08 +00:00
GenDepex.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenMake.py BaseTools: Limit command line length. 2020-11-10 05:49:38 +00:00
GenPcdDb.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenVar.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IdfClassObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IncludesAutoGen.py BaseTools: Limit command line length. 2020-11-10 05:49:38 +00:00
InfSectionParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ModuleAutoGen.py BaseTools: Enable Module Scope Structure Pcd 2020-11-05 04:27:28 +00:00
ModuleAutoGenHelper.py BaseTools: Enable Module Scope Structure Pcd 2020-11-05 04:27:28 +00:00
PlatformAutoGen.py BaseTools: Enable Module Scope Structure Pcd 2020-11-05 04:27:28 +00:00
StrGather.py BaseTools:Add extra debugging message 2019-08-01 15:36:48 +08:00
UniClassObject.py BaseTools: fix ucs-2 lookup on python 3.9 2020-08-14 02:21:18 +00:00
ValidCheckingInfoObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkspaceAutoGen.py BaseTools: Add Guid name support in GenFfs. 2020-07-17 05:25:41 +00:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00