Chromium Code Reviews| 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 # This only builds the Mac version of Breakpad for now. | 5 # This only builds the Mac version of Breakpad for now. |
| 6 | 6 |
| 7 { | 7 { |
| 8 'includes': [ | 8 'includes': [ |
| 9 '../build/common.gypi', | 9 '../build/common.gypi', |
| 10 ], | 10 ], |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 }, | 82 }, |
| 83 'link_settings': { | 83 'link_settings': { |
| 84 'libraries': [ | 84 'libraries': [ |
| 85 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 85 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 86 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 86 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 87 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', | 87 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', |
| 88 ], | 88 ], |
| 89 } | 89 } |
| 90 }, | 90 }, |
| 91 { | 91 { |
| 92 'target_name': 'dump_syms', | |
| 93 'type': 'executable', | |
| 94 'include_dirs': [ | |
| 95 'src/common/mac/', | |
|
Mark Mentovai
2009/05/07 19:54:10
It is customary to not use a trailing slash.
| |
| 96 ], | |
| 97 'dependencies': [ | |
| 98 'breakpad_utilities', | |
| 99 ], | |
| 100 'sources': [ | |
| 101 'src/common/mac/dwarf/bytereader.cc', | |
| 102 'src/common/mac/dwarf/dwarf2reader.cc', | |
| 103 'src/common/mac/dwarf/functioninfo.cc', | |
| 104 'src/common/mac/dump_syms.mm', | |
| 105 'src/tools/mac/dump_syms/dump_syms_tool.mm', | |
| 106 ], | |
| 107 'link_settings': { | |
| 108 'libraries': [ | |
| 109 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
| 110 ], | |
| 111 } | |
| 112 }, | |
| 113 { | |
| 114 'target_name': 'symupload', | |
| 115 'type': 'executable', | |
| 116 'include_dirs': [ | |
| 117 'src/common/mac/', | |
|
Mark Mentovai
2009/05/07 19:54:10
Same.
| |
| 118 ], | |
| 119 'sources': [ | |
| 120 'src/common/mac/HTTPMultipartUpload.m', | |
| 121 'src/tools/mac/symupload/symupload.m', | |
| 122 ], | |
| 123 'link_settings': { | |
| 124 'libraries': [ | |
| 125 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
| 126 ], | |
| 127 } | |
| 128 }, | |
| 129 { | |
| 92 'target_name': 'breakpad', | 130 'target_name': 'breakpad', |
| 93 'type': '<(library)', | 131 'type': '<(library)', |
| 94 'dependencies': [ | 132 'dependencies': [ |
| 95 'breakpad_utilities', | 133 'breakpad_utilities', |
| 96 'crash_inspector', | 134 'crash_inspector', |
| 97 'crash_report_sender', | 135 'crash_report_sender', |
| 136 'dump_syms', | |
|
Mark Mentovai
2009/05/07 19:54:10
libbreakpad does not depend on dump_syms or symupl
| |
| 137 'symupload', | |
| 98 ], | 138 ], |
| 99 'sources': [ | 139 'sources': [ |
| 100 'src/client/mac/handler/protected_memory_allocator.cc', | 140 'src/client/mac/handler/protected_memory_allocator.cc', |
| 101 'src/client/mac/handler/exception_handler.cc', | 141 'src/client/mac/handler/exception_handler.cc', |
| 102 'src/client/mac/Framework/Breakpad.mm', | 142 'src/client/mac/Framework/Breakpad.mm', |
| 103 'src/client/mac/Framework/OnDemandServer.mm', | 143 'src/client/mac/Framework/OnDemandServer.mm', |
| 104 ], | 144 ], |
| 105 }, | 145 }, |
| 106 ], | 146 ], |
| 107 } | 147 } |
| OLD | NEW |