blob: c79d81597e5295fb79c5dac40bbd7dec3c58953d [file] [log] [blame]
[email protected]ee0b7af72013-07-04 06:34:071# Copyright 2013 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.
4
5{
6 'target_defaults': {
7 'variables': {
8 'breakpad_component_target': 0,
9 },
10 'target_conditions': [
11 ['breakpad_component_target==1', {
12 'sources': [
13 'breakpad/breakpad_client.cc',
14 'breakpad/breakpad_client.h',
[email protected]73929052013-10-11 12:22:0915 'breakpad/breakpad_mac.h',
16 'breakpad/breakpad_mac.mm',
[email protected]ee0b7af72013-07-04 06:34:0717 ],
18 }],
19 ],
20 },
21 'targets': [
22 {
23 'target_name': 'breakpad_component',
24 'type': 'static_library',
25 'variables': {
26 'breakpad_component_target': 1,
27 },
28 'dependencies': [
29 '../base/base.gyp:base',
30 ],
[email protected]73929052013-10-11 12:22:0931 'conditions': [
32 ['OS=="mac"', {
33 'dependencies': [
34 '../breakpad/breakpad.gyp:breakpad',
35 '../content/content.gyp:content_common',
36 ],
37 }],
38 ],
[email protected]ee0b7af72013-07-04 06:34:0739 },
40 ],
41 'conditions': [
42 ['OS=="win" and target_arch=="ia32"', {
43 'targets': [
44 {
45 'target_name': 'breakpad_win64',
46 'type': 'static_library',
47 'variables': {
48 'breakpad_component_target': 1,
49 },
50 'dependencies': [
51 '../base/base.gyp:base_nacl_win64',
52 ],
53 'configurations': {
54 'Common_Base': {
55 'msvs_target_platform': 'x64',
56 },
57 },
58 },
59 ],
60 }],
61 ['OS=="mac"', {
62 'targets': [
63 {
[email protected]ee0b7af72013-07-04 06:34:0764 'target_name': 'breakpad_stubs',
65 'type': 'static_library',
[email protected]ee0b7af72013-07-04 06:34:0766 'dependencies': [
67 '../base/base.gyp:base',
68 ],
[email protected]73929052013-10-11 12:22:0969 'sources': [
70 'breakpad/breakpad_client.cc',
71 'breakpad/breakpad_client.h',
72 'breakpad/breakpad_mac.h',
73 'breakpad/breakpad_mac_stubs.mm',
74 ],
[email protected]ee0b7af72013-07-04 06:34:0775 },
76 ],
77 }],
78 ],
79}