Making autoload of profiles obey the kBackgroundModeEnabled preference. That is,...
[chromium-blink-merge.git] / breakpad / breakpad_sender.gypi
blob45b21952e8f5017f175c5d51f264823f46ccaaf2
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           'target_name': 'breakpad_sender_win64',
43           'type': 'static_library',
44           'variables': {
45             'breakpad_sender_target': 1,
46           },
47           # TODO(gregoryd): direct_dependent_settings should be shared with the
48           # 32-bit target, but it doesn't work due to a bug in gyp
49           'direct_dependent_settings': {
50             'include_dirs': [
51               'src',
52             ],
53           },
54           'configurations': {
55             'Common_Base': {
56               'msvs_target_platform': 'x64',
57             },
58           },
59         },
60       ],
61     }],
62   ],