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

Unified Diff: util/util.gyp

Issue 438993002: Add TaskMemory, which can read another Mach task’s memory, and its test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback Created 6 years, 4 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 | « util/test/mac/mach_errors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/util.gyp
diff --git a/util/util.gyp b/util/util.gyp
index b25f1ff48e64f3931008c4b5c73c8517b29c2a46..23acd9376516f8a81178b960826c65523f6dcd2b 100644
--- a/util/util.gyp
+++ b/util/util.gyp
@@ -32,6 +32,8 @@
'file/file_writer.h',
'file/string_file_writer.cc',
'file/string_file_writer.h',
+ 'mach/task_memory.cc',
+ 'mach/task_memory.h',
'misc/uuid.cc',
'misc/uuid.h',
'stdlib/cxx.h',
@@ -40,10 +42,29 @@
],
},
{
+ 'target_name': 'util_test_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../compat/compat.gyp:compat',
+ '../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
+ 'util',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'test/errors.cc',
+ 'test/errors.h',
+ 'test/mac/mach_errors.cc',
+ 'test/mac/mach_errors.h',
+ ],
+ },
+ {
'target_name': 'util_test',
'type': 'executable',
'dependencies': [
'util',
+ 'util_test_lib',
'../compat/compat.gyp:compat',
'../third_party/gtest/gtest.gyp:gtest',
'../third_party/mini_chromium/mini_chromium/base/base.gyp:base',
@@ -54,6 +75,7 @@
'sources': [
'../third_party/gtest/gtest/src/gtest_main.cc',
'file/string_file_writer_test.cc',
+ 'mach/task_memory_test.cc',
'misc/uuid_test.cc',
'stdlib/strlcpy_test.cc',
],
« no previous file with comments | « util/test/mac/mach_errors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698