Change header paths and include guards to be relative to the "src" directory. r=mmentovai.

http://groups.google.com/group/airbag-dev/msg/cbe061dd563e9d17



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@10 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
bryner 2006-09-05 19:42:57 +00:00
parent 70e12562b8
commit 07f8ef56ac
10 changed files with 3402 additions and 3315 deletions

View file

@ -15,6 +15,9 @@
# limitations under the License.
# This allows #includes to be relative to src/
AM_CPPFLAGS = -I$(top_srcdir)/src
## Documentation
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)

View file

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# Makefile.in generated by automake 1.9.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@ -31,6 +31,8 @@
SOURCES = $(src_libairbag_la_SOURCES) $(src_processor_source_line_resolver_unittest_SOURCES)
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
@ -227,6 +229,9 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
# This allows #includes to be relative to src/
AM_CPPFLAGS = -I$(top_srcdir)/src
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
dist_doc_DATA = \
AUTHORS \

1477
aclocal.m4 vendored

File diff suppressed because it is too large Load diff

4826
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -22,8 +22,8 @@
*
* Author: Mark Mentovai */
#ifndef _AIRBAG_TYPES_H__
#define _AIRBAG_TYPES_H__
#ifndef GOOGLE_AIRBAG_TYPES_H__
#define GOOGLE_AIRBAG_TYPES_H__
#ifndef _WIN32
@ -43,4 +43,4 @@ typedef unsigned __int64 u_int64_t;
typedef u_int64_t airbag_time_t;
#endif /* _AIRBAG_TYPES_H__ */
#endif /* GOOGLE_AIRBAG_TYPES_H__ */

View file

@ -16,13 +16,13 @@
// including data sent with the report and data derived by the minidump
// processor (stack trace, etc.).
#ifndef _CRASH_REPORT_H__
#define _CRASH_REPORT_H__
#ifndef GOOGLE_CRASH_REPORT_H__
#define GOOGLE_CRASH_REPORT_H__
#include <vector>
#include <string>
#include "airbag_types.h"
#include "stack_frame.h"
#include "google/airbag_types.h"
#include "google/stack_frame.h"
namespace google_airbag {
@ -83,4 +83,4 @@ struct CrashReport {
} // namespace google_airbag
#endif // _CRASH_REPORT_H__
#endif // GOOGLE_CRASH_REPORT_H__

View file

@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef _STACK_FRAME_H__
#define _STACK_FRAME_H__
#ifndef GOOGLE_STACK_FRAME_H__
#define GOOGLE_STACK_FRAME_H__
#include <vector>
#include "airbag_types.h"
#include "google/airbag_types.h"
namespace google_airbag {
@ -55,4 +55,4 @@ typedef std::vector<StackFrame> StackFrames;
} // namespace google_airbag
#endif // _STACK_FRAME_H__
#endif // GOOGLE_STACK_FRAME_H__

View file

@ -17,7 +17,7 @@
#include <string.h>
#include <vector>
#include <utility>
#include "source_line_resolver.h"
#include "processor/source_line_resolver.h"
using std::map;
using std::vector;

View file

@ -16,8 +16,8 @@
// It uses address map files produced by a compatible writer, e.g.
// PDBSourceLineWriter.
#ifndef _SOURCE_LINE_RESOLVER_H__
#define _SOURCE_LINE_RESOLVER_H__
#ifndef PROCESSOR_SOURCE_LINE_RESOLVER_H__
#define PROCESSOR_SOURCE_LINE_RESOLVER_H__
#include "config.h"
#include <string>
@ -85,4 +85,4 @@ class SourceLineResolver {
} // namespace google_airbag
#endif // _SOLURCE_LINE_RESOLVER_H__
#endif // PROCESSOR_SOURCE_LINE_RESOLVER_H__

View file

@ -14,7 +14,7 @@
#include <stdio.h>
#include <string>
#include "source_line_resolver.h"
#include "processor/source_line_resolver.h"
using std::string;
using google_airbag::SourceLineResolver;