OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'breakpad_sender_target': 0, | 8 'breakpad_sender_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
11 ['breakpad_sender_target==1', { | 11 ['breakpad_sender_target==1', { |
12 'sources': [ | 12 'sources': [ |
13 'src/client/windows/sender/crash_report_sender.cc', | 13 'src/client/windows/sender/crash_report_sender.cc', |
14 'src/common/windows/http_upload.cc', | 14 'src/common/windows/http_upload.cc', |
15 'src/client/windows/sender/crash_report_sender.h', | 15 'src/client/windows/sender/crash_report_sender.h', |
16 'src/common/windows/http_upload.h', | 16 'src/common/windows/http_upload.h', |
17 ], | 17 ], |
18 'include_dirs': [ | 18 'include_dirs': [ |
19 'src', | 19 'src', |
20 ], | 20 ], |
21 }], | 21 }], |
22 ], | 22 ], |
23 }, | 23 }, |
24 'conditions': [ | 24 'conditions': [ |
25 [ 'OS=="win"', { | 25 [ 'OS=="win"', { |
26 'targets': [ | 26 'targets': [ |
27 { | 27 { |
28 'target_name': 'breakpad_sender', | 28 'target_name': 'breakpad_sender', |
29 'type': '<(library)', | 29 'type': 'static_library', |
30 'msvs_guid': '9946A048-043B-4F8F-9E07-9297B204714C', | 30 'msvs_guid': '9946A048-043B-4F8F-9E07-9297B204714C', |
31 'variables': { | 31 'variables': { |
32 'breakpad_sender_target': 1, | 32 'breakpad_sender_target': 1, |
33 }, | 33 }, |
34 # TODO(gregoryd): direct_dependent_settings should be shared with the | 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 | 35 # 64-bit target, but it doesn't work due to a bug in gyp |
36 'direct_dependent_settings': { | 36 'direct_dependent_settings': { |
37 'include_dirs': [ | 37 'include_dirs': [ |
38 'src', | 38 'src', |
39 ], | 39 ], |
40 }, | 40 }, |
41 }, | 41 }, |
42 { | 42 { |
43 'target_name': 'breakpad_sender_win64', | 43 'target_name': 'breakpad_sender_win64', |
44 'type': '<(library)', | 44 'type': 'static_library', |
45 'msvs_guid': '237AEB58-9D74-41EF-9D49-A6ECE24EA8BC', | 45 'msvs_guid': '237AEB58-9D74-41EF-9D49-A6ECE24EA8BC', |
46 'variables': { | 46 'variables': { |
47 'breakpad_sender_target': 1, | 47 'breakpad_sender_target': 1, |
48 }, | 48 }, |
49 # TODO(gregoryd): direct_dependent_settings should be shared with the | 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 | 50 # 32-bit target, but it doesn't work due to a bug in gyp |
51 'direct_dependent_settings': { | 51 'direct_dependent_settings': { |
52 'include_dirs': [ | 52 'include_dirs': [ |
53 'src', | 53 'src', |
54 ], | 54 ], |
55 }, | 55 }, |
56 'configurations': { | 56 'configurations': { |
57 'Common_Base': { | 57 'Common_Base': { |
58 'msvs_target_platform': 'x64', | 58 'msvs_target_platform': 'x64', |
59 }, | 59 }, |
60 }, | 60 }, |
61 }, | 61 }, |
62 ], | 62 ], |
63 }], | 63 }], |
64 ], | 64 ], |
65 } | 65 } |
OLD | NEW |