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': 'static_library', | 29 'type': 'static_library', |
30 'msvs_guid': '9946A048-043B-4F8F-9E07-9297B204714C', | |
31 'variables': { | 30 'variables': { |
32 'breakpad_sender_target': 1, | 31 'breakpad_sender_target': 1, |
33 }, | 32 }, |
34 # TODO(gregoryd): direct_dependent_settings should be shared with the | 33 # 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 | 34 # 64-bit target, but it doesn't work due to a bug in gyp |
36 'direct_dependent_settings': { | 35 'direct_dependent_settings': { |
37 'include_dirs': [ | 36 'include_dirs': [ |
38 'src', | 37 'src', |
39 ], | 38 ], |
40 }, | 39 }, |
41 }, | 40 }, |
42 { | 41 { |
43 'target_name': 'breakpad_sender_win64', | 42 'target_name': 'breakpad_sender_win64', |
44 'type': 'static_library', | 43 'type': 'static_library', |
45 'msvs_guid': '237AEB58-9D74-41EF-9D49-A6ECE24EA8BC', | |
46 'variables': { | 44 'variables': { |
47 'breakpad_sender_target': 1, | 45 'breakpad_sender_target': 1, |
48 }, | 46 }, |
49 # TODO(gregoryd): direct_dependent_settings should be shared with the | 47 # 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 | 48 # 32-bit target, but it doesn't work due to a bug in gyp |
51 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
52 'include_dirs': [ | 50 'include_dirs': [ |
53 'src', | 51 'src', |
54 ], | 52 ], |
55 }, | 53 }, |
56 'configurations': { | 54 'configurations': { |
57 'Common_Base': { | 55 'Common_Base': { |
58 'msvs_target_platform': 'x64', | 56 'msvs_target_platform': 'x64', |
59 }, | 57 }, |
60 }, | 58 }, |
61 }, | 59 }, |
62 ], | 60 ], |
63 }], | 61 }], |
64 ], | 62 ], |
65 } | 63 } |
OLD | NEW |