Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: breakpad/breakpad.gyp

Issue 87014: .gyp file for Breakpad on OS X. (Closed)
Patch Set: Fix John's comments + obj-c side. Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/app/breakpad_mac.mm » ('j') | chrome/chrome.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 # This only builds the Mac version of Breakpad for now.
6
7 {
8 'includes': [
9 '../build/common.gypi',
10 ],
11 'target_defaults': {
12 'include_dirs': [
13 'src/',
14 ],
15 },
16 'targets': [
17 {
18 'target_name': 'breakpadUtilities',
Mark Mentovai 2009/04/21 00:42:12 This would be a first for interCapping within our
19 'type': '<(library)',
20 'sources': [
21 'src/common/convert_UTF.c',
22 'src/client/mac/handler/dynamic_images.cc',
23 'src/common/mac/file_id.cc',
24 'src/common/mac/MachIPC.mm',
25 'src/common/mac/macho_id.cc',
26 'src/common/mac/macho_utilities.cc',
27 'src/common/mac/macho_walker.cc',
28 'src/client/minidump_file_writer.cc',
29 'src/client/mac/handler/minidump_generator.cc',
30 'src/common/mac/SimpleStringDictionary.mm',
31 'src/common/string_conversion.cc',
32 'src/common/mac/string_utilities.cc',
33 ],
34 },
35 {
36 'target_name': 'crash_inspector',
37 'type': 'executable',
38 'dependencies': [
39 'breakpadUtilities',
40 ],
41 'sources': [
42 'src/client/mac/crash_generation/Inspector.mm',
43 'src/client/mac/crash_generation/InspectorMain.mm',
44 ],
45 'xcode_settings': {
46 'OTHER_LDFLAGS': ['-lcrypto',],
Mark Mentovai 2009/04/21 00:42:12 Use this instead: 'link_settings': {'libraries':
47 },
48 'libraries': [
Mark Mentovai 2009/04/21 00:42:12 'libraries' should appear within a 'link_settings'
49 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
50 ],
51 },
52 {
53 'target_name': 'crash_report_sender',
54 'type': 'executable',
55 'mac_bundle': 1,
56 'sources': [
57 'src/common/mac/HTTPMultipartUpload.m',
58 'src/client/mac/sender/crash_report_sender.m',
59 'src/common/mac/GTMLogger.m',
60 ],
61 'mac_bundle_resources': [
62 'src/client/mac/sender/English.lproj/Localizable.strings',
63 'src/client/mac/sender/crash_report_sender.icns',
64 'src/client/mac/sender/English.lproj/Breakpad.nib',
65 'src/client/mac/sender/crash_report_sender-Info.plist',
66 ],
67 'mac_bundle_resources!': [
68 'src/client/mac/sender/crash_report_sender-Info.plist',
69 ],
70 'xcode_settings': {
71 'INFOPLIST_FILE': 'src/client/mac/sender/crash_report_sender-Info.plist ',
72 'OTHER_LDFLAGS': ['-lcrypto',],
Mark Mentovai 2009/04/21 00:42:12 Again, remove.
73 },
74 'libraries': [
Mark Mentovai 2009/04/21 00:42:12 Put in link_settings as above.
75 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
76 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
77 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
78 ],
79 },
80 {
81 'target_name': 'breakpad',
82 'type': '<(library)',
83 'dependencies': [
84 'breakpadUtilities',
85 'crash_inspector',
86 'crash_report_sender',
87 ],
88 'sources': [
89 'src/client/mac/handler/protected_memory_allocator.cc',
90 'src/client/mac/handler/exception_handler.cc',
91 'src/client/mac/Framework/Breakpad.mm',
92 'src/client/mac/Framework/OnDemandServer.mm',
93 ],
94 },
95 ],
96 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/breakpad_mac.mm » ('j') | chrome/chrome.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698