]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
There is a limitation on WINDOWS OS for the length of entire file path can’t be large...
[mirror_edk2.git] / BaseTools / Source / Python / Workspace / MetaFileCommentParser.py
CommitLineData
e8a47801
LG
1## @file\r
2# This file is used to check format of comments\r
3#\r
4# Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13\r
14from CommonDataClass.DataClass import (\r
15 MODEL_PCD_PATCHABLE_IN_MODULE,\r
16 MODEL_PCD_DYNAMIC_EX,\r
17 MODEL_PCD_DYNAMIC,\r
18 MODEL_EFI_GUID,\r
19 MODEL_EFI_PPI,\r
20 MODEL_EFI_PROTOCOL\r
21)\r
22from Common.BuildToolError import FORMAT_INVALID\r
23import Common.EdkLogger as EdkLogger\r
24\r
25UsageList = ("PRODUCES", "PRODUCED", "ALWAYS_PRODUCES", "ALWAYS_PRODUCED", "SOMETIMES_PRODUCES",\r
26 "SOMETIMES_PRODUCED", "CONSUMES", "CONSUMED", "ALWAYS_CONSUMES", "ALWAYS_CONSUMED",\r
27 "SOMETIMES_CONSUMES", "SOMETIMES_CONSUMED", "SOMETIME_CONSUMES")\r
28\r