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', 15 ], 16 }], 17 ], 18 }, 19 'targets': [ 20 { 21 'target_name': 'breakpad_component', 22 'type': 'static_library', 23 'variables': { 24 'breakpad_component_target': 1, 25 }, 26 'dependencies': [ 27 '../base/base.gyp:base', 28 ], 29 }, 30 ], 31 'conditions': [ 32 ['OS=="win" and target_arch=="ia32"', { 33 'targets': [ 34 { 35 'target_name': 'breakpad_win64', 36 'type': 'static_library', 37 'variables': { 38 'breakpad_component_target': 1, 39 }, 40 'dependencies': [ 41 '../base/base.gyp:base_nacl_win64', 42 ], 43 'configurations': { 44 'Common_Base': { 45 'msvs_target_platform': 'x64', 46 }, 47 }, 48 }, 49 ], 50 }], 51 ['OS=="mac"', { 52 'targets': [ 53 { 54 # TODO(jochen): for now, this target is a copy of breakpad, however, 55 # in the future, it should provide a dummy implementation for Mac. 56 'target_name': 'breakpad_stubs', 57 'type': 'static_library', 58 'variables': { 59 'breakpad_component_target': 1, 60 }, 61 'dependencies': [ 62 '../base/base.gyp:base', 63 ], 64 }, 65 ], 66 }], 67 ], 68 } 69