## @file\r
# This file is used to generate DEPEX file for module's dependency expression\r
#\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
## Import Modules\r
#\r
import sys\r
-import os\r
+import Common.LongFilePathOs as os\r
import re\r
import traceback\r
-\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
from StringIO import StringIO\r
from struct import pack\r
from Common.BuildToolError import *\r
# don't generate depex if only TRUE operand left\r
if self.ModuleType == 'PEIM' and len(NewOperand) == 1 and NewOperand[0] == 'TRUE':\r
self.PostfixNotation = []\r
- return \r
+ return\r
\r
# don't generate depex if all operands are architecture protocols\r
if self.ModuleType in ['UEFI_DRIVER', 'DXE_DRIVER', 'DXE_RUNTIME_DRIVER', 'DXE_SAL_DRIVER', 'DXE_SMM_DRIVER'] and \\r
Dpx = DependencyExpression(DxsString, Option.ModuleType, Option.Optimize)\r
if Option.OutputFile != None:\r
FileChangeFlag = Dpx.Generate(Option.OutputFile)\r
- if not FileChangeFlag and DxsFile: \r
+ if not FileChangeFlag and DxsFile:\r
#\r
# Touch the output file if its time stamp is older than the original\r
# DXS file to avoid re-invoke this tool for the dependency check in build rule.\r