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': [ | |
7 '../../build/common.gypi', | |
8 ], | |
9 | |
10 'target_defaults': { | |
11 'include_dirs': [ | |
12 '.', | |
13 '<(INTERMEDIATE_DIR)', | |
14 ], | |
15 }, | |
16 'targets': [ | 6 'targets': [ |
17 { | 7 { |
18 'target_name': 'isimpledom', | 8 'target_name': 'isimpledom', |
19 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { |
| 11 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom', |
| 12 }, |
20 'sources': [ | 13 'sources': [ |
21 'ISimpleDOMDocument.idl', | 14 'ISimpleDOMDocument.idl', |
22 'ISimpleDOMNode.idl', | 15 'ISimpleDOMNode.idl', |
23 'ISimpleDOMText.idl', | 16 'ISimpleDOMText.idl', |
24 '<(INTERMEDIATE_DIR)/ISimpleDOMDocument.h', | 17 '<(midl_out_dir)/ISimpleDOMDocument.h', |
25 '<(INTERMEDIATE_DIR)/ISimpleDOMDocument_i.c', | 18 '<(midl_out_dir)/ISimpleDOMDocument_i.c', |
26 '<(INTERMEDIATE_DIR)/ISimpleDOMNode.h', | 19 '<(midl_out_dir)/ISimpleDOMNode.h', |
27 '<(INTERMEDIATE_DIR)/ISimpleDOMNode_i.c', | 20 '<(midl_out_dir)/ISimpleDOMNode_i.c', |
28 '<(INTERMEDIATE_DIR)/ISimpleDOMText.h', | 21 '<(midl_out_dir)/ISimpleDOMText.h', |
29 '<(INTERMEDIATE_DIR)/ISimpleDOMText_i.c', | 22 '<(midl_out_dir)/ISimpleDOMText_i.c', |
30 ], | 23 ], |
31 'hard_dependency': 1, | 24 'hard_dependency': 1, |
32 'direct_dependent_settings': { | 25 'direct_dependent_settings': { |
33 'include_dirs': [ | 26 'include_dirs': [ |
34 # Bit of a hack to work around the built in vstudio rule. | 27 '<(SHARED_INTERMEDIATE_DIR)', |
35 '<(INTERMEDIATE_DIR)/../isimpledom', | |
36 ], | 28 ], |
37 }, | 29 }, |
38 'msvs_settings': { | 30 'msvs_settings': { |
39 'VCMIDLTool': { | 31 'VCMIDLTool': { |
40 'GenerateTypeLibrary': 'false', | 32 'GenerateTypeLibrary': 'false', |
| 33 'OutputDirectory': '<(midl_out_dir)', |
41 }, | 34 }, |
42 }, | 35 }, |
43 }, | 36 }, |
44 ], | 37 ], |
45 } | 38 } |
OLD | NEW |