summaryrefslogtreecommitdiffstats
path: root/google_update/google_update.gyp
blob: 990f7e4628c6b80e8d9c9afc4fdee224e7d3c2d1 (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
# Copyright (c) 2012 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': 'google_update',
      'type': 'static_library',
      'variables': {
        'clang_warning_flags': [
          # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_"
          '-Wno-extra-tokens',
        ],
      },
      'sources': [
        'google_update_idl.idl',
        '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl.h',
        '<(SHARED_INTERMEDIATE_DIR)/google_update/google_update_idl_i.c',
      ],
      # This target exports a hard dependency because dependent targets may
      # include google_update_idl.h, a generated header.
      'hard_dependency': 1,
      'msvs_settings': {
        'VCMIDLTool': {
          'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/google_update',
        },
      },
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ],
      },
    },
  ],
}