~stomato463/+junk/nvdajp

« back to all changes in this revision

Viewing changes to nvdaHelper/remote/sconscript

  • Committer: Masataka Shinke
  • Date: 2011-10-25 12:35:26 UTC
  • mfrom: (4185 jpmain)
  • mto: This revision was merged to the branch mainline in revision 4211.
  • Revision ID: mshinke@users.sourceforge.jp-20111025123526-ze527a2rl3z0g2ky
lp:~nishimotz/nvdajp/main : 4185 をマージ

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###
 
2
#This file is a part of the NVDA project.
 
3
#URL: http://www.nvda-project.org/
 
4
#Copyright 2006-2010 NVDA contributers.
 
5
#This program is free software: you can redistribute it and/or modify
 
6
#it under the terms of the GNU General Public License version 2.0, as published by
 
7
#the Free Software Foundation.
 
8
#This program is distributed in the hope that it will be useful,
 
9
#but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
11
#This license can be found at:
 
12
#http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 
13
###
 
14
 
1
15
Import([
2
16
        'env',
3
17
        'ia2RPCStubs',
 
18
        'minHookLib',
4
19
])
5
20
 
6
 
winIPCUtilsObj=env.Object("./winIPCUtils","#common/winIPCUtils.cpp")
 
21
winIPCUtilsObj=env.Object("./winIPCUtils","../common/winIPCUtils.cpp")
7
22
 
8
23
controllerRPCHeader,controllerRPCClientSource=env.MSRPCStubs(
9
24
        target="./nvdaController",
10
25
        source=[
11
 
                "#interfaces/nvdaController/nvdaController.idl",
12
 
                "#interfaces/nvdaController/nvdaController.acf",
 
26
                "../interfaces/nvdaController/nvdaController.idl",
 
27
                "../interfaces/nvdaController/nvdaController.acf",
13
28
        ],
14
29
        MSRPCStubs_noServer=True,
15
30
        MSRPCStubs_prefix="nvdaController_",
18
33
controllerInternalRPCHeader,controllerInternalRPCClientSource=env.MSRPCStubs(
19
34
        target="./nvdaControllerInternal",
20
35
        source=[
21
 
                "#interfaces/nvdaControllerInternal/nvdaControllerInternal.idl",
22
 
                "#interfaces/nvdaControllerInternal/nvdaControllerInternal.acf",
 
36
                "../interfaces/nvdaControllerInternal/nvdaControllerInternal.idl",
 
37
                "../interfaces/nvdaControllerInternal/nvdaControllerInternal.acf",
23
38
        ],
24
39
        MSRPCStubs_noServer=True,
25
40
        MSRPCStubs_prefix="nvdaControllerInternal_",
28
43
vbufRPCHeader,vbufRPCServerSource=env.MSRPCStubs(
29
44
        target="./vbufRemote",
30
45
        source=[
31
 
                "#interfaces/vbuf/vbuf.idl",
 
46
                "../interfaces/vbuf/vbuf.idl",
 
47
                "../interfaces/vbuf/vbuf.acf",
32
48
        ],
33
49
        MSRPCStubs_noClient=True,
34
50
        MSRPCStubs_prefix="VBufRemote_",
35
51
)
36
52
 
37
 
ia2utilsObj=env.Object("./ia2utils","#common/ia2utils.cpp")
 
53
displayModelRPCHeader,displayModelRPCServerSource=env.MSRPCStubs(
 
54
        target="./displayModelRemote",
 
55
        source=[
 
56
                "../interfaces/displayModel/displayModel.idl",
 
57
                "../interfaces/displayModel/displayModel.acf",
 
58
        ],
 
59
        MSRPCStubs_noClient=True,
 
60
        MSRPCStubs_prefix="displayModelRemote_",
 
61
)
 
62
 
 
63
nvdaInProcUtilsRPCHeader,nvdaInProcUtilsRPCServerSource=env.MSRPCStubs(
 
64
        target="./nvdaInProcUtils",
 
65
        source=[
 
66
                "../interfaces/nvdaInProcUtils/nvdaInProcUtils.idl",
 
67
                "../interfaces/nvdaInProcUtils/nvdaInProcUtils.acf",
 
68
        ],
 
69
        MSRPCStubs_noClient=True,
 
70
        MSRPCStubs_prefix="nvdaInProcUtils_",
 
71
)
 
72
 
 
73
ia2utilsObj=env.Object("./ia2utils","../common/ia2utils.cpp")
38
74
 
39
75
remoteLib=env.SharedLibrary(
40
76
        target="nvdaHelperRemote",
41
77
        source=[
42
 
                "nvdaHelperRemote.cpp",
 
78
                "injection.cpp",
 
79
                "log.cpp",
 
80
                "inProcess.cpp",
 
81
                "apiHook.cpp",
43
82
                "inputLangChange.cpp",
44
83
                "typedCharacter.cpp",
45
84
                "ia2Support.cpp",
46
85
                "ia2LiveRegions.cpp",
47
86
                ia2utilsObj,
48
 
                ia2RPCStubs[2],
 
87
                env.Object('_ia2_i',ia2RPCStubs[3]),
49
88
                "rpcSrv.cpp",
50
89
                "vbufRemote.cpp",
51
90
                vbufRPCServerSource,
52
91
                winIPCUtilsObj,
53
92
                controllerRPCClientSource,
54
93
                controllerInternalRPCClientSource,
 
94
                "winword.cpp",
 
95
                "gdiHooks.cpp",
 
96
                "displayModel.cpp",
 
97
                "displayModelRemote.cpp",
 
98
                displayModelRPCServerSource,
 
99
                nvdaInProcUtilsRPCServerSource,
 
100
                "nvdaHelperRemote.def",
55
101
        ],
56
102
        LIBS=[
 
103
                minHookLib[1 if 'symbols' not in env['nvdaHelperDebugFlags'] else 2],
57
104
                "user32",
 
105
                "gdi32",
58
106
                "ole32",
59
107
                "rpcrt4",
60
108
                "shlwapi",
61
109
                "oleaut32",
62
110
                "oleacc",
 
111
                "usp10",
63
112
        ],
64
113
)
65
114