[email protected] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 1 | # 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] | 7392905 | 2013-10-11 12:22:09 | [diff] [blame^] | 15 | 'breakpad/breakpad_mac.h', |
| 16 | 'breakpad/breakpad_mac.mm', |
[email protected] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 17 | ], |
| 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] | 7392905 | 2013-10-11 12:22:09 | [diff] [blame^] | 31 | 'conditions': [ |
| 32 | ['OS=="mac"', { |
| 33 | 'dependencies': [ |
| 34 | '../breakpad/breakpad.gyp:breakpad', |
| 35 | '../content/content.gyp:content_common', |
| 36 | ], |
| 37 | }], |
| 38 | ], |
[email protected] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 39 | }, |
| 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] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 64 | 'target_name': 'breakpad_stubs', |
| 65 | 'type': 'static_library', |
[email protected] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 66 | 'dependencies': [ |
| 67 | '../base/base.gyp:base', |
| 68 | ], |
[email protected] | 7392905 | 2013-10-11 12:22:09 | [diff] [blame^] | 69 | '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] | ee0b7af7 | 2013-07-04 06:34:07 | [diff] [blame] | 75 | }, |
| 76 | ], |
| 77 | }], |
| 78 | ], |
| 79 | } |