Subversion Repositories DevTools

Rev

Rev 6177 | Rev 6511 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6177 Rev 6276
Line 55... Line 55...
55
                    getPackagePaths
55
                    getPackagePaths
56
                    getPackageList
56
                    getPackageList
57
                    getToolInfo
57
                    getToolInfo
58
                    testToolInfo
58
                    testToolInfo
59
                    getAliases
59
                    getAliases
-
 
60
                    isGenericBuild
60
                );
61
                );
61
@EXPORT_OK =  qw(   $InterfaceVersion
62
@EXPORT_OK =  qw(   $InterfaceVersion
62
                    $ScmBuildMachType
63
                    $ScmBuildMachType
63
                    $ScmInterfaceVersion
64
                    $ScmInterfaceVersion
64
                    $ScmBuildName
65
                    $ScmBuildName
Line 76... Line 77...
76
                    $ScmNoBuild
77
                    $ScmNoBuild
77
                    $ScmBuildUuid
78
                    $ScmBuildUuid
78
                    %ScmBuildAliases
79
                    %ScmBuildAliases
79
                    %ScmBuildProducts
80
                    %ScmBuildProducts
80
                    %ScmBuildPlatforms
81
                    %ScmBuildPlatforms
-
 
82
                    %ScmBuildMatrix
81
                    %ScmBuildPkgRules
83
                    %ScmBuildPkgRules
82
                    @BUILDPLATFORMS
84
                    @BUILDPLATFORMS
83
                    @DEFBUILDPLATFORMS
85
                    @DEFBUILDPLATFORMS
84
                    @BUILDTOOLSPATH
86
                    @BUILDTOOLSPATH
85
                    %BUILDPLATFORM_PARTS
87
                    %BUILDPLATFORM_PARTS
Line 113... Line 115...
113
our %BUILDINFO;
115
our %BUILDINFO;
114
our %BUILDPLATFORM_PARTS;
116
our %BUILDPLATFORM_PARTS;
115
our $ScmInterfaceVersion;
117
our $ScmInterfaceVersion;
116
our %ScmBuildPkgRules;
118
our %ScmBuildPkgRules;
117
our $ScmBuildMachType;
119
our $ScmBuildMachType;
-
 
120
our %ScmBuildMatrix; 
118
 
121
 
119
#-------------------------------------------------------------------------------
122
#-------------------------------------------------------------------------------
120
# Function        : ReadBuildConfig
123
# Function        : ReadBuildConfig
121
#
124
#
122
# Description     : Read in the build config information
125
# Description     : Read in the build config information
Line 226... Line 229...
226
        }
229
        }
227
    }
230
    }
228
}
231
}
229
 
232
 
230
#-------------------------------------------------------------------------------
233
#-------------------------------------------------------------------------------
-
 
234
# Function        : isGenericBuild 
-
 
235
#
-
 
236
# Description     : Determine if this is a 'GENERIC' build
-
 
237
#                   ie: can be built on ANY build machine
-
 
238
#
-
 
239
# Inputs          : 
-
 
240
#
-
 
241
# Returns         : TRUE - Is generic
-
 
242
#
-
 
243
sub isGenericBuild
-
 
244
{
-
 
245
    return exists $ScmBuildMatrix{'GENERIC'} ? 1 : 0;
-
 
246
}
-
 
247
 
-
 
248
#-------------------------------------------------------------------------------
231
# Function        : getAliases 
249
# Function        : getAliases 
232
#
250
#
233
# Description     : Return a list of aliases for the current platform
251
# Description     : Return a list of aliases for the current platform
234
#
252
#
235
# Inputs          : 
253
# Inputs          :