OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'variables': { |
7 '../../build/common.gypi', | 7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/iaccessible2', |
8 ], | |
9 | |
10 'target_defaults': { | |
11 'include_dirs': [ | |
12 '.', | |
13 '<(INTERMEDIATE_DIR)', | |
14 ], | |
15 }, | 8 }, |
16 'targets': [ | 9 'targets': [ |
17 { | 10 { |
18 'target_name': 'iaccessible2', | 11 'target_name': 'iaccessible2', |
19 'type': 'static_library', | 12 'type': 'static_library', |
20 'sources': [ | 13 'sources': [ |
21 'ia2_api_all.idl', | 14 'ia2_api_all.idl', |
22 '<(INTERMEDIATE_DIR)/ia2_api_all.h', | 15 '<(midl_out_dir)/ia2_api_all.h', |
23 '<(INTERMEDIATE_DIR)/ia2_api_all_i.c', | 16 '<(midl_out_dir)/ia2_api_all_i.c', |
24 ], | 17 ], |
25 'hard_dependency': 1, | 18 'hard_dependency': 1, |
| 19 'msvs_settings': { |
| 20 'VCMIDLTool': { |
| 21 'OutputDirectory': '<(midl_out_dir)', |
| 22 }, |
| 23 }, |
26 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
27 'include_dirs': [ | 25 'include_dirs': [ |
28 # Bit of a hack to work around the built in vstudio rule. | 26 '<(SHARED_INTERMEDIATE_DIR)', |
29 '<(INTERMEDIATE_DIR)/../iaccessible2', | |
30 ], | 27 ], |
31 }, | 28 }, |
32 }, | 29 }, |
33 { | 30 { |
34 'target_name': 'IAccessible2Proxy', | 31 'target_name': 'IAccessible2Proxy', |
35 'type': 'shared_library', | 32 'type': 'shared_library', |
36 'defines': [ 'REGISTER_PROXY_DLL' ], | 33 'defines': [ 'REGISTER_PROXY_DLL' ], |
37 'dependencies': [ 'iaccessible2' ], | 34 'dependencies': [ 'iaccessible2' ], |
38 'sources': [ | 35 'sources': [ |
39 'IAccessible2Proxy.def', | 36 'IAccessible2Proxy.def', |
40 '<(INTERMEDIATE_DIR)/../iaccessible2/dlldata.c', | 37 '<(midl_out_dir)/dlldata.c', |
41 '<(INTERMEDIATE_DIR)/../iaccessible2/ia2_api_all_p.c', | 38 '<(midl_out_dir)/ia2_api_all_p.c', |
42 ], | 39 ], |
43 'link_settings': { | 40 'link_settings': { |
44 'libraries': [ | 41 'libraries': [ |
45 '-lrpcrt4.lib', | 42 '-lrpcrt4.lib', |
46 ], | 43 ], |
47 }, | 44 }, |
48 }, | 45 }, |
49 ], | 46 ], |
50 } | 47 } |
OLD | NEW |