aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-05-05 17:07:23 +0000
committerjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-05-05 17:07:23 +0000
commit6c9780161755f5a215d11de1e29a4a8fc583fa81 (patch)
treecb25fe8c259a62fa8ff6f84ede944fc881afc079 /src/tools
parentReplacing solutions with gyp files. Moving tests for windows clients in unitt... (diff)
downloadbreakpad-6c9780161755f5a215d11de1e29a4a8fc583fa81.tar.xz
Breakpad symbol dumper: Define the ByteBuffer and ByteCursor classes.
The ByteBuffer and ByteCursor classes are utility classes for reading binary files, handling endianness and word size issues in a portable way. a=jimblandy, r=thestig git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@582 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/linux/dump_syms/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tools/linux/dump_syms/Makefile b/src/tools/linux/dump_syms/Makefile
index 3f8684d2..4d50c3aa 100644
--- a/src/tools/linux/dump_syms/Makefile
+++ b/src/tools/linux/dump_syms/Makefile
@@ -333,6 +333,25 @@ clean::
+### Unit tests for google_breakpad::ByteBuffer and google_breakpad::ByteCursor.
+check: check-byte_cursor_unittest
+check-byte_cursor_unittest: byte_cursor_unittest
+byte_cursor_unittest: \
+ gmock-all.o \
+ gtest-all.o \
+ gtest_main.o \
+ $(empty)
+CPP_EXECUTABLES += byte_cursor_unittest
+VPATH += $(SRC)/common
+byte_cursor_unittest.o: byte_cursor_unittest.cc
+byte_cursor_unittest.o: override CPPFLAGS += $(GTEST_CPPFLAGS) \
+ $(GMOCK_CPPFLAGS)
+COVERAGE_SOURCES += byte_cursor_unittest.cc
+clean::
+ rm -f byte_cursor_unittest
+
+
+
### Generic compilation rules.
# Link C++ executables using the C++ compiler; see CPP_EXECUTABLES above.