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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/breakpad_mac.mm » ('j') | chrome/chrome.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad/breakpad.gyp
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..f42668741fe395fe7b6538a0dd04ffbd3d91c83f
--- /dev/null
+++ b/breakpad/breakpad.gyp
@@ -0,0 +1,96 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This only builds the Mac version of Breakpad for now.
+
+{
+ 'includes': [
+ '../build/common.gypi',
+ ],
+ 'target_defaults': {
+ 'include_dirs': [
+ 'src/',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'breakpadUtilities',
Mark Mentovai 2009/04/21 00:42:12 This would be a first for interCapping within our
+ 'type': '<(library)',
+ 'sources': [
+ 'src/common/convert_UTF.c',
+ 'src/client/mac/handler/dynamic_images.cc',
+ 'src/common/mac/file_id.cc',
+ 'src/common/mac/MachIPC.mm',
+ 'src/common/mac/macho_id.cc',
+ 'src/common/mac/macho_utilities.cc',
+ 'src/common/mac/macho_walker.cc',
+ 'src/client/minidump_file_writer.cc',
+ 'src/client/mac/handler/minidump_generator.cc',
+ 'src/common/mac/SimpleStringDictionary.mm',
+ 'src/common/string_conversion.cc',
+ 'src/common/mac/string_utilities.cc',
+ ],
+ },
+ {
+ 'target_name': 'crash_inspector',
+ 'type': 'executable',
+ 'dependencies': [
+ 'breakpadUtilities',
+ ],
+ 'sources': [
+ 'src/client/mac/crash_generation/Inspector.mm',
+ 'src/client/mac/crash_generation/InspectorMain.mm',
+ ],
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': ['-lcrypto',],
Mark Mentovai 2009/04/21 00:42:12 Use this instead: 'link_settings': {'libraries':
+ },
+ 'libraries': [
Mark Mentovai 2009/04/21 00:42:12 'libraries' should appear within a 'link_settings'
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ },
+ {
+ 'target_name': 'crash_report_sender',
+ 'type': 'executable',
+ 'mac_bundle': 1,
+ 'sources': [
+ 'src/common/mac/HTTPMultipartUpload.m',
+ 'src/client/mac/sender/crash_report_sender.m',
+ 'src/common/mac/GTMLogger.m',
+ ],
+ 'mac_bundle_resources': [
+ 'src/client/mac/sender/English.lproj/Localizable.strings',
+ 'src/client/mac/sender/crash_report_sender.icns',
+ 'src/client/mac/sender/English.lproj/Breakpad.nib',
+ 'src/client/mac/sender/crash_report_sender-Info.plist',
+ ],
+ 'mac_bundle_resources!': [
+ 'src/client/mac/sender/crash_report_sender-Info.plist',
+ ],
+ 'xcode_settings': {
+ 'INFOPLIST_FILE': 'src/client/mac/sender/crash_report_sender-Info.plist',
+ 'OTHER_LDFLAGS': ['-lcrypto',],
Mark Mentovai 2009/04/21 00:42:12 Again, remove.
+ },
+ 'libraries': [
Mark Mentovai 2009/04/21 00:42:12 Put in link_settings as above.
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
+ '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
+ ],
+ },
+ {
+ 'target_name': 'breakpad',
+ 'type': '<(library)',
+ 'dependencies': [
+ 'breakpadUtilities',
+ 'crash_inspector',
+ 'crash_report_sender',
+ ],
+ 'sources': [
+ 'src/client/mac/handler/protected_memory_allocator.cc',
+ 'src/client/mac/handler/exception_handler.cc',
+ 'src/client/mac/Framework/Breakpad.mm',
+ 'src/client/mac/Framework/OnDemandServer.mm',
+ ],
+ },
+ ],
+}
« 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