Fix errant #ifdef from previous change to really disable tests on Windows.
[chromium-blink-merge.git] / breakpad / breakpad_sender.gypi
bloba6d466467a7c3d678c7234f388f32a877eabff9c
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': '<(library)',
30           'msvs_guid': '9946A048-043B-4F8F-9E07-9297B204714C',
31           'variables': {
32             'breakpad_sender_target': 1,
33           },
34           # TODO(gregoryd): direct_dependent_settings should be shared with the
35           # 64-bit target, but it doesn't work due to a bug in gyp
36           'direct_dependent_settings': {
37             'include_dirs': [
38               'src',
39             ],
40           },
41         },
42         {
43           'target_name': 'breakpad_sender_win64',
44           'type': '<(library)',
45           'msvs_guid': '237AEB58-9D74-41EF-9D49-A6ECE24EA8BC',
46           'variables': {
47             'breakpad_sender_target': 1,
48           },
49           # TODO(gregoryd): direct_dependent_settings should be shared with the
50           # 32-bit target, but it doesn't work due to a bug in gyp
51           'direct_dependent_settings': {
52             'include_dirs': [
53               'src',
54             ],
55           },
56           'configurations': {
57             'Common_Base': {
58               'msvs_target_platform': 'x64',
59             },
60           },
61         },
62       ],
63     }],
64   ],