Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / breakpad / breakpad_sender.gypi
blob9f5f897bbbac168b99ee399cd9d991846dc6479d
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'target_defaults': {
7     'variables': {
8       'breakpad_sender_target': 0,
9     },
10     'target_conditions': [
11       ['breakpad_sender_target==1', {
12         'sources': [
13           'src/client/windows/sender/crash_report_sender.cc',
14           'src/common/windows/http_upload.cc',
15           'src/client/windows/sender/crash_report_sender.h',
16           'src/common/windows/http_upload.h',
17         ],
18         'include_dirs': [
19           'src',
20         ],
21       }],
22     ],
23   },
24   'conditions': [
25     ['OS=="win"', {
26       'targets': [
27         {
28           'target_name': 'breakpad_sender',
29           'type': 'static_library',
30           'variables': {
31             'breakpad_sender_target': 1,
32           },
33           # TODO(gregoryd): direct_dependent_settings should be shared with the
34           # 64-bit target, but it doesn't work due to a bug in gyp
35           'direct_dependent_settings': {
36             'include_dirs': [
37               'src',
38             ],
39           },
40         },
41       ],
42     }],
43     ['OS=="win" and target_arch=="ia32"', {
44       'targets': [
45         {
46           'target_name': 'breakpad_sender_win64',
47           'type': 'static_library',
48           'variables': {
49             'breakpad_sender_target': 1,
50           },
51           # TODO(gregoryd): direct_dependent_settings should be shared with the
52           # 32-bit target, but it doesn't work due to a bug in gyp
53           'direct_dependent_settings': {
54             'include_dirs': [
55               'src',
56             ],
57           },
58           'configurations': {
59             'Common_Base': {
60               'msvs_target_platform': 'x64',
61             },
62           },
63         },
64       ],
65     }],
66   ],