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