Subversion Repositories DevTools

Rev

Rev 7299 | Rev 7310 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4324 dpurdie 1
########################################################################
7300 dpurdie 2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
4324 dpurdie 3
#
4
# File:         PLATFORM/ANDROID.cfg
5
#
6
# Contents:     SOLARIS Build support
7
#
8
#               This package is used during the processing of the build.pl file
9
#               Values provided by this package are used to extend the Platform
10
#               information as platforms are being created. This provides a
11
#               powerful set of mechanism to extend the entire JATS toolset
12
#
13
#
14
###############################################################################
15
 
16
use strict;
17
use warnings;
18
 
19
package ANDROID_Build;
20
 
21
#-------------------------------------------------------------------------------
22
# Function        : add_platform
23
#
24
# Description     : This function is invoked just before a 'platform' is about
25
#                   to be added to the build system.
26
#
27
#                   This call is allowed to alter or extend the platform build
28
#                   information.
29
#
30
# Inputs          : $pInfo          - Reference to the platform build info hash
31
#
32
# Returns         : Nothing yet
33
#
34
sub add_platform
35
{
36
    my $class = shift;              # Not really a class, but its called like a class
37
    my $pInfo  = shift;
38
    #
39
    #   Insert data into the class
40
    #
41
 
42
    #
43
    #   EXTRA_USES
44
    #   An array of other platforms to be 'used' by this platform.
45
    #   This list is not expanded in a PRODUCT as the USERS list is.
46
    #
47
    #   Intended use: Extend the ANDROID platformm so that it can locate
48
    #                 Android NDK components
49
    #
50
    $pInfo->{EXTRA_USES} = ['ANDROIDARM', 'ANDROIDMIPS', 'ANDROIDX86' ];
51
 
52
}
53
 
54
1;
55