|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file basically provides the information required for building the whole of a component |
|
15 // C & C++ style comments are allowed in this file because it's passed through the C++ preprocessor |
|
16 // Examples are provided below of the kind of things we're expecting |
|
17 // |
|
18 // |
|
19 |
|
20 |
|
21 PRJ_PLATFORMS |
|
22 // specify the platforms your component needs to be built for here |
|
23 // defaults to WINS MARM so you can ignore this if you just build these |
|
24 |
|
25 |
|
26 PRJ_EXPORTS |
|
27 // specify the source file followed by its destination here |
|
28 // copy will be used to copy the source file to its destination |
|
29 // If there's no destination then the source file will be copied |
|
30 // to the same name in \epoc32\include |
|
31 ..\Framework\Inc\ECom.h \epoc32\include\Ecom\ECom.h |
|
32 ..\Framework\Inc\EComErrorCodes.h \epoc32\include\Ecom\EComErrorCodes.h |
|
33 ..\Framework\Inc\EComResolverParams.h \epoc32\include\Ecom\EComResolverParams.h |
|
34 ..\Framework\Inc\EComResolverParams.inl \epoc32\include\Ecom\EComResolverParams.inl |
|
35 ..\Framework\Inc\ImplementationInformation.h \epoc32\include\Ecom\ImplementationInformation.h |
|
36 ..\Framework\Inc\ImplementationInformation.inl \epoc32\include\Ecom\ImplementationInformation.inl |
|
37 ..\Framework\Inc\ImplementationProxy.h \epoc32\include\Ecom\ImplementationProxy.h |
|
38 ..\Framework\RegistryInfo.rh \epoc32\include\Ecom\RegistryInfo.rh |
|
39 |
|
40 // Specify the files to be exported to support test bed Dlls |
|
41 ..\Test_Bed\Inc\ComponentInfo.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\ComponentInfo.h |
|
42 ..\Test_Bed\Inc\ComponentInfo.inl SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\ComponentInfo.inl |
|
43 ..\Test_Bed\Inc\ComponentTester.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\ComponentTester.h |
|
44 ..\Test_Bed\Inc\ComponentTestObserver.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\ComponentTestObserver.h |
|
45 ..\Test_Bed\Inc\DataFormat.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\DataFormat.h |
|
46 ..\Test_Bed\Inc\DataLogger.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\DataLogger.h |
|
47 ..\Test_Bed\Inc\DefaultLogOutput.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\DefaultLogOutput.h |
|
48 ..\Test_Bed\Inc\LeakTestTransition.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\LeakTestTransition.h |
|
49 ..\Test_Bed\Inc\StateAccessor.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\StateAccessor.h |
|
50 ..\Test_Bed\Inc\TestBedDefinitions.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TestBedDefinitions.h |
|
51 ..\Test_Bed\Inc\TestController.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TestController.h |
|
52 ..\Test_Bed\Inc\TestManager.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TestManager.h |
|
53 ..\Test_Bed\Inc\TestManager.inl SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TestManager.inl |
|
54 ..\Test_Bed\Inc\TestUtilities.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TestUtilities.h |
|
55 ..\Test_Bed\Inc\Transition.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\Transition.h |
|
56 ..\Test_Bed\Inc\Transition.inl SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\Transition.inl |
|
57 ..\Test_Bed\Inc\TransitionObserver.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\TransitionObserver.h |
|
58 ..\Test_Bed\Inc\UnitTest.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\UnitTest.h |
|
59 ..\Test_Bed\Inc\UnitTest.inl SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\UnitTest.inl |
|
60 ..\Test_Bed\Inc\UnitTestInfo.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\UnitTestInfo.h |
|
61 ..\Test_Bed\Inc\UnitTestInfo.inl SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\UnitTestInfo.inl |
|
62 ..\Test_Bed\Inc\UnitTestObserver.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ecom\test_bed\UnitTestObserver.h |
|
63 |
|
64 PRJ_MMPFILES |
|
65 // specify the .mmp files required for building the important component releasables |
|
66 // note that you should specify any .mmp files for test programs further down the file. |
|
67 // |
|
68 // It's best if the .MMP files are specified in the order in which the components are |
|
69 // built, but that eventually shouldn't matter |
|
70 // |
|
71 // Use C++ style #defines to denote that a component is only built for a particular platform |
|
72 // |
|
73 // specify "tidy" if the component you need to build doesn't need to be released to |
|
74 // the rest of the company |
|
75 // specify "ignore" if the MMP file exists but should be ignored - William wants this! |
|
76 |
|
77 // Firstly build the plug-in framework library for profiling |
|
78 ..\Framework\MMPFiles\Magic.mmp |
|
79 |
|
80 // Now the test bed framework |
|
81 ..\Test_Bed\MMPFiles\test_bed.mmp |
|
82 |
|
83 PRJ_TESTMMPFILES |
|
84 // specify the .mmp files required for building any test programs here |
|
85 // |
|
86 // you can specify "manual" to denote that a test should be listed in a generated |
|
87 // batch file for running a group of tests which require user input during testing. |
|
88 // you can specify "support" to denote that a file is a test support file and shouldn't |
|
89 // be listed in a batch file for running a group of tests |
|
90 // By default, each test will be listed in a batch file for running a group of tests |
|
91 // which can be left to run without requiring watching over by the person running the tests, |
|
92 // i.e. tests where no user input is required. The default will apply if neither "manual" |
|
93 // or "support" is specified. |
|
94 |
|
95 // Self test library |
|
96 ..\Test_Bed\MMPFiles\ComponentInfoTest.mmp |
|
97 ..\Test_Bed\MMPFiles\DefaultLogOutputTest.mmp |
|
98 ..\Test_Bed\MMPFiles\DataLoggerTest.mmp |
|
99 ..\Test_Bed\MMPFiles\TransitionTest.mmp |
|
100 |
|
101 // Build the example Magic implementation test libs |
|
102 ..\Framework\MMPFiles\Example.mmp |
|
103 ..\Framework\MMPFiles\Suicidal.mmp |
|
104 |
|
105 // and the MAGIC test harness libraries |
|
106 ..\Framework\MMPFiles\ExampleTests.mmp |
|
107 ..\Framework\MMPFiles\DiscovererTest.mmp |
|
108 ..\Framework\MMPFiles\RegistryDataTest.mmp |
|
109 ..\Framework\MMPFiles\LoadManagerTest.mmp |
|
110 ..\Framework\MMPFiles\MagicServerTest.mmp |
|
111 ..\Framework\MMPFiles\RegistrarTest.mmp |
|
112 ..\Framework\MMPFiles\ResolverTest.mmp |
|
113 |
|
114 // and the default commandline test harness |
|
115 ..\Test_Bed\MMPFiles\test_harness.mmp |
|
116 |
|
117 PRJ_TESTEXPORTS |
|
118 // Specify the files to be exported to get test builds to work |