Add StaticMap implementation and unittest to breakpad.
StaticMap is a fundamental component class for in-memory representation of loaded symbol.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@694 4c0a9323-5329-0410-9bdc-e9ce6186880e
diff --git a/Makefile.am b/Makefile.am
index 084d981..fa49260 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -132,6 +132,10 @@
src/processor/stackwalker_sparc.h \
src/processor/stackwalker_x86.cc \
src/processor/stackwalker_x86.h \
+ src/processor/static_map_iterator-inl.h \
+ src/processor/static_map_iterator.h \
+ src/processor/static_map-inl.h \
+ src/processor/static_map.h \
src/processor/tokenize.cc \
src/processor/tokenize.h \
src/processor/udp_network.cc \
@@ -162,6 +166,7 @@
src/processor/network_source_line_resolver_unittest \
src/processor/network_source_line_resolver_server_unittest \
src/processor/network_source_line_server_unittest \
+ src/processor/static_map_unittest \
src/processor/pathname_stripper_unittest \
src/processor/postfix_evaluator_unittest \
src/processor/range_map_unittest \
@@ -399,6 +404,19 @@
src/processor/pathname_stripper.lo \
src/processor/udp_network.lo
+src_processor_static_map_unittest_SOURCES = \
+ src/processor/static_map_unittest.cc \
+ src/testing/gtest/src/gtest-all.cc \
+ src/testing/src/gmock-all.cc
+src_processor_static_map_unittest_CPPFLAGS = \
+ -I$(top_srcdir)/src/testing/include \
+ -I$(top_srcdir)/src/testing/gtest/include \
+ -I$(top_srcdir)/src/testing/gtest \
+ -I$(top_srcdir)/src/testing
+src_processor_static_map_unittest_LDADD = \
+ src/processor/logging.lo \
+ src/processor/pathname_stripper.lo
+
src_processor_pathname_stripper_unittest_SOURCES = \
src/processor/pathname_stripper_unittest.cc
src_processor_pathname_stripper_unittest_LDADD = \