| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'isimpledom', | 8 'target_name': 'isimpledom', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { | 10 'variables': { |
| 11 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom', | 11 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom', |
| 12 'clang_warning_flags': [ |
| 13 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" |
| 14 '-Wno-extra-tokens', |
| 15 ], |
| 12 }, | 16 }, |
| 13 'sources': [ | 17 'sources': [ |
| 14 'ISimpleDOMDocument.idl', | 18 'ISimpleDOMDocument.idl', |
| 15 'ISimpleDOMNode.idl', | 19 'ISimpleDOMNode.idl', |
| 16 'ISimpleDOMText.idl', | 20 'ISimpleDOMText.idl', |
| 17 '<(midl_out_dir)/ISimpleDOMDocument.h', | 21 '<(midl_out_dir)/ISimpleDOMDocument.h', |
| 18 '<(midl_out_dir)/ISimpleDOMDocument_i.c', | 22 '<(midl_out_dir)/ISimpleDOMDocument_i.c', |
| 19 '<(midl_out_dir)/ISimpleDOMNode.h', | 23 '<(midl_out_dir)/ISimpleDOMNode.h', |
| 20 '<(midl_out_dir)/ISimpleDOMNode_i.c', | 24 '<(midl_out_dir)/ISimpleDOMNode_i.c', |
| 21 '<(midl_out_dir)/ISimpleDOMText.h', | 25 '<(midl_out_dir)/ISimpleDOMText.h', |
| 22 '<(midl_out_dir)/ISimpleDOMText_i.c', | 26 '<(midl_out_dir)/ISimpleDOMText_i.c', |
| 23 ], | 27 ], |
| 24 'hard_dependency': 1, | 28 'hard_dependency': 1, |
| 25 'direct_dependent_settings': { | 29 'direct_dependent_settings': { |
| 26 'include_dirs': [ | 30 'include_dirs': [ |
| 27 '<(SHARED_INTERMEDIATE_DIR)', | 31 '<(SHARED_INTERMEDIATE_DIR)', |
| 28 ], | 32 ], |
| 29 }, | 33 }, |
| 30 'msvs_settings': { | 34 'msvs_settings': { |
| 31 'VCMIDLTool': { | 35 'VCMIDLTool': { |
| 32 'GenerateTypeLibrary': 'false', | 36 'GenerateTypeLibrary': 'false', |
| 33 'OutputDirectory': '<(midl_out_dir)', | 37 'OutputDirectory': '<(midl_out_dir)', |
| 34 }, | 38 }, |
| 35 }, | 39 }, |
| 36 }, | 40 }, |
| 37 ], | 41 ], |
| 38 } | 42 } |
| OLD | NEW |