|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 TOOL_DIRS += ['app'] |
|
8 |
|
9 EXPORTS.mozilla._ipdltest += [ |
|
10 'IPDLUnitTestProcessChild.h', |
|
11 'IPDLUnitTests.h', |
|
12 'IPDLUnitTestTypes.h', |
|
13 'IPDLUnitTestUtils.h', |
|
14 ] |
|
15 |
|
16 SOURCES += [ |
|
17 'TestActorPunning.cpp', |
|
18 'TestBadActor.cpp', |
|
19 'TestBridgeMain.cpp', |
|
20 'TestCrashCleanup.cpp', |
|
21 'TestDataStructures.cpp', |
|
22 'TestDesc.cpp', |
|
23 'TestFailedCtor.cpp', |
|
24 'TestHangs.cpp', |
|
25 'TestInterruptErrorCleanup.cpp', |
|
26 'TestInterruptRaces.cpp', |
|
27 'TestInterruptShutdownRace.cpp', |
|
28 'TestJSON.cpp', |
|
29 'TestLatency.cpp', |
|
30 'TestManyChildAllocs.cpp', |
|
31 'TestMultiMgrs.cpp', |
|
32 'TestNestedLoops.cpp', |
|
33 'TestOpens.cpp', |
|
34 'TestRaceDeferral.cpp', |
|
35 'TestRacyInterruptReplies.cpp', |
|
36 'TestRacyReentry.cpp', |
|
37 'TestRacyUndefer.cpp', |
|
38 'TestRPC.cpp', |
|
39 'TestSanity.cpp', |
|
40 'TestSelfManageRoot.cpp', |
|
41 'TestShmem.cpp', |
|
42 'TestShutdown.cpp', |
|
43 'TestStackHooks.cpp', |
|
44 'TestSyncError.cpp', |
|
45 'TestSyncHang.cpp', |
|
46 'TestSyncWakeup.cpp', |
|
47 'TestUrgency.cpp', |
|
48 ] |
|
49 |
|
50 if CONFIG['OS_ARCH'] == 'Linux': |
|
51 SOURCES += [ |
|
52 'TestSysVShmem.cpp', |
|
53 ] |
|
54 |
|
55 SOURCES += [ |
|
56 'IPDLUnitTestProcessChild.cpp', |
|
57 'IPDLUnitTestSubprocess.cpp', |
|
58 ] |
|
59 |
|
60 GENERATED_SOURCES += [ |
|
61 'IPDLUnitTests.cpp', |
|
62 ] |
|
63 |
|
64 IPDL_SOURCES += [ |
|
65 'PTestActorPunning.ipdl', |
|
66 'PTestActorPunningPunned.ipdl', |
|
67 'PTestActorPunningSub.ipdl', |
|
68 'PTestBadActor.ipdl', |
|
69 'PTestBadActorSub.ipdl', |
|
70 'PTestBridgeMain.ipdl', |
|
71 'PTestBridgeMainSub.ipdl', |
|
72 'PTestBridgeSub.ipdl', |
|
73 'PTestCrashCleanup.ipdl', |
|
74 'PTestDataStructures.ipdl', |
|
75 'PTestDataStructuresCommon.ipdlh', |
|
76 'PTestDataStructuresSub.ipdl', |
|
77 'PTestDesc.ipdl', |
|
78 'PTestDescSub.ipdl', |
|
79 'PTestDescSubsub.ipdl', |
|
80 'PTestFailedCtor.ipdl', |
|
81 'PTestFailedCtorSub.ipdl', |
|
82 'PTestFailedCtorSubsub.ipdl', |
|
83 'PTestHandle.ipdl', |
|
84 'PTestHangs.ipdl', |
|
85 'PTestIndirectProtocolParam.ipdlh', |
|
86 'PTestIndirectProtocolParamFirst.ipdl', |
|
87 'PTestIndirectProtocolParamManage.ipdl', |
|
88 'PTestIndirectProtocolParamSecond.ipdl', |
|
89 'PTestInterruptErrorCleanup.ipdl', |
|
90 'PTestInterruptRaces.ipdl', |
|
91 'PTestInterruptShutdownRace.ipdl', |
|
92 'PTestJSON.ipdl', |
|
93 'PTestLatency.ipdl', |
|
94 'PTestManyChildAllocs.ipdl', |
|
95 'PTestManyChildAllocsSub.ipdl', |
|
96 'PTestMultiMgrs.ipdl', |
|
97 'PTestMultiMgrsBottom.ipdl', |
|
98 'PTestMultiMgrsLeft.ipdl', |
|
99 'PTestMultiMgrsRight.ipdl', |
|
100 'PTestNestedLoops.ipdl', |
|
101 'PTestOpens.ipdl', |
|
102 'PTestOpensOpened.ipdl', |
|
103 'PTestRaceDeferral.ipdl', |
|
104 'PTestRacyInterruptReplies.ipdl', |
|
105 'PTestRacyReentry.ipdl', |
|
106 'PTestRacyUndefer.ipdl', |
|
107 'PTestRPC.ipdl', |
|
108 'PTestSanity.ipdl', |
|
109 'PTestSelfManage.ipdl', |
|
110 'PTestSelfManageRoot.ipdl', |
|
111 'PTestShmem.ipdl', |
|
112 'PTestShutdown.ipdl', |
|
113 'PTestShutdownSub.ipdl', |
|
114 'PTestShutdownSubsub.ipdl', |
|
115 'PTestStackHooks.ipdl', |
|
116 'PTestSyncError.ipdl', |
|
117 'PTestSyncHang.ipdl', |
|
118 'PTestSyncWakeup.ipdl', |
|
119 'PTestSysVShmem.ipdl', |
|
120 'PTestUrgency.ipdl', |
|
121 ] |
|
122 |
|
123 include('/ipc/chromium/chromium-config.mozbuild') |
|
124 |
|
125 FINAL_LIBRARY = 'xul' |