author | timkelly |
Fri, 13 Aug 2010 17:35:50 -0500 | |
branch | C3_BUILDER_WORK |
changeset 1830 | 5f8982384793 |
parent 1802 | 7e50573a0115 |
permissions | -rw-r--r-- |
1740 | 1 |
package com.nokia.carbide.cpp.internal.api.sdk; |
2 |
||
1801
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
3 |
import java.util.List; |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
4 |
|
1740 | 5 |
import com.nokia.carbide.cpp.sdk.core.ISymbianBuildContext; |
6 |
||
7 |
/** |
|
8 |
* Build Context specific information for the SBS/Raptor Symbian Builder. |
|
9 |
* @see ICarbideBuildConfigation |
|
10 |
* @since 3.0 |
|
1799 | 11 |
* @deprecated - Temporary support exists for abld on Symbian^2 but will be removed, vFuture |
1740 | 12 |
* |
13 |
*/ |
|
14 |
public interface ISBSv1BuildContext extends ISymbianBuildContext { |
|
15 |
||
16 |
/** |
|
17 |
* Platform constants |
|
18 |
*/ |
|
19 |
public static final String EMULATOR_PLATFORM = "WINSCW"; |
|
20 |
public static final String GCCE_PLATFORM = "GCCE"; |
|
21 |
public static final String ARMV5_PLATFORM = "ARMV5"; |
|
22 |
public static final String ARMV6_PLATFORM = "ARMV6"; |
|
23 |
public static final String ARMV5_ABIV2_PLATFORM = "ARMV5_ABIV2"; |
|
24 |
public static final String ARMV6_ABIV2_PLATFORM = "ARMV6_ABIV2"; |
|
25 |
||
26 |
/** |
|
27 |
* For Symbian Bianry Variation, platforms will be names <plat>.<variation> |
|
28 |
* So in some cases you need to know only the platforms that the variant is based on. |
|
29 |
* For example, a build platform name of "armv5.myvariant" will return "armv5". |
|
30 |
* @return The base platform string. |
|
31 |
* @see isSymbianBinaryVariation() |
|
32 |
* @since 2.0 |
|
1799 | 33 |
* @deprecated |
1740 | 34 |
*/ |
35 |
public String getBasePlatformForVariation(); |
|
36 |
||
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
37 |
/** |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
38 |
* Get the (abld)build arguments info. Contains pref settings from the Arguments tab. |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
39 |
* This only applies when building with SBSv1 (bldmake, abld) |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
40 |
* @return IBuildArgumentsInfo instance, never null |
1799 | 41 |
* @deprecated |
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
42 |
*/ |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
43 |
IBuildArgumentsInfo getBuildArgumentsInfo(); |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
44 |
|
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
45 |
/** |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
46 |
* Get the (abld)build arguments info. Contains pref settings from the Arguments tab. |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
47 |
* This only applies when building with SBSv1 (bldmake, abld) |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
48 |
* @return A copy of BuildArgumentsInfo instance, never null |
1799 | 49 |
* @deprecated |
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
50 |
*/ |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
51 |
BuildArgumentsInfo getBuildArgumentsInfoCopy(); |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
52 |
|
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
53 |
/** |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
54 |
* Set the build arguments info for SBSv2 build arguments. This only sets values in memory, does |
1830
5f8982384793
add extension point for access 'abld build' arguments. Used to keep analyze tool extension happy while we start to deprecate abld support.
timkelly
parents:
1802
diff
changeset
|
55 |
* not write settings to disk. |
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
56 |
* @return IBuildArgumentsInfo instance, never null |
1799 | 57 |
* @deprecated |
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
58 |
*/ |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
59 |
void setBuildArgumentsInfo(BuildArgumentsInfo bldArgInfo); |
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
60 |
|
1801
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
61 |
/** |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
62 |
* Returns a list of the macros defined in the variant.cfg file. This is NOT the macros |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
63 |
* in the HRH file, but the actual maros written to the variant.cfg file. |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
64 |
* @return A String list of macros found as is, or an empty list if none. |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
65 |
*/ |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
66 |
public List<String> getVariantCFGMacros(); |
1d73a4591cf8
refactoring usage for getting variant.hrh and compiler preinclude macros. Now should use ISymbianContext both for preprocessed results and getting the IPath to the file.
timkelly
parents:
1755
diff
changeset
|
67 |
|
1755
e65ffeef96f7
refactor abld arguments tab settings under ISBSV1BuildContext API. WIP to push builder specific settings under their respective ISymbianBuildContext implementation.
timkelly
parents:
1740
diff
changeset
|
68 |
|
1740 | 69 |
} |