summaryrefslogtreecommitdiffstats
path: root/third_party/isimpledom/isimpledom.gyp
blob: 9f3fbee91e3cb11fee8d0373c4c90b3e62fcb8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'isimpledom',
      'type': 'static_library',
      'variables': {
        'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom',
        'clang_warning_flags': [
          # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_"
          '-Wno-extra-tokens',
        ],
      },
      'sources': [
        'ISimpleDOMDocument.idl',
        'ISimpleDOMNode.idl',
        'ISimpleDOMText.idl',
        '<(midl_out_dir)/ISimpleDOMDocument.h',
        '<(midl_out_dir)/ISimpleDOMDocument_i.c',
        '<(midl_out_dir)/ISimpleDOMNode.h',
        '<(midl_out_dir)/ISimpleDOMNode_i.c',
        '<(midl_out_dir)/ISimpleDOMText.h',
        '<(midl_out_dir)/ISimpleDOMText_i.c',
      ],
      'hard_dependency': 1,
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ],
      },
      'msvs_settings': {
        'VCMIDLTool': {
          'GenerateTypeLibrary': 'false',
          'OutputDirectory': '<(midl_out_dir)',
        },
      },
    },
  ],
}