OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'configurations': { | 10 'configurations': { |
11 'Debug': { | 11 'Debug': { |
12 'msvs_configuration_platform': 'Win32', | 12 'msvs_configuration_platform': 'Win32', |
13 }, | 13 }, |
14 'Debug_x64': { | 14 'Debug_x64': { |
15 'inherit_from': ['Debug'], | 15 'inherit_from': ['Debug'], |
16 'msvs_configuration_platform': 'x64', | 16 'msvs_configuration_platform': 'x64', |
17 }, | 17 }, |
18 }, | 18 }, |
19 }, | 19 }, |
20 'targets': [ | 20 'targets': [ |
21 { | 21 { |
22 'target_name': 'idl_test', | 22 'target_name': 'idl_test', |
23 'type': 'executable', | 23 'type': 'executable', |
24 'sources': [ | 24 'sources': [ |
25 'history_indexer.idl', | 25 'history_indexer.idl', |
26 '<(midl_out_dir)/history_indexer.h', | 26 '<(midl_out_dir)/history_indexer.h', |
27 '<(midl_out_dir)/history_indexer_i.c', | 27 '<(midl_out_dir)/history_indexer_i.c', |
28 'history_indexer_user.cc', | 28 'history_indexer_user.cc', |
29 ], | 29 ], |
| 30 'libraries': ['ole32.lib'], |
30 'include_dirs': [ | 31 'include_dirs': [ |
31 '<(midl_out_dir)', | 32 '<(midl_out_dir)', |
32 ], | 33 ], |
33 'msvs_settings': { | 34 'msvs_settings': { |
34 'VCMIDLTool': { | 35 'VCMIDLTool': { |
35 'OutputDirectory': '<(midl_out_dir)', | 36 'OutputDirectory': '<(midl_out_dir)', |
36 'HeaderFileName': '<(RULE_INPUT_ROOT).h', | 37 'HeaderFileName': '<(RULE_INPUT_ROOT).h', |
37 }, | 38 }, |
38 }, | 39 }, |
39 }, | 40 }, |
40 ], | 41 ], |
41 } | 42 } |
OLD | NEW |