DistributionPackageClass.py revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A# This file is used to define a class object to describe a distribution package 2N/A# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR> 2N/A# This program and the accompanying materials are licensed and made available 2N/A# under the terms and conditions of the BSD License which accompanies this 2N/A# distribution. The full text of the license may be found at 2N/A# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 2N/A# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 2N/ADistributionPackageClass 2N/A## DistributionPackageHeaderClass 2N/A# @param IdentificationObject: Identification Object # @param CommonHeaderObject: Common Header Object ## DistributionPackageClass # @param object: DistributionPackageClass # {(Guid, Version, Path) : PackageObj} # {(Guid, Version, Name, Path) : ModuleObj} ## Get all included packages and modules for a distribution package # @param WorkspaceDir: WorkspaceDir # @param PackageList: A list of all packages # @param ModuleList: A list of all modules # Parser inf file one bye one # Call INF parser to generate Inf Object. # Actually, this call is not directly call, but wrapped by # Inf class in InfPomAlignment. ## Get all files included for a distribution package, except tool/misc of # @retval DistFileList A list of filepath for NonMetaDataFile, relative to workspace # @retval MetaDataFileList A list of filepath for MetaDataFile, relative to workspace