Index: chrome_elf/chrome_elf.gyp |
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp |
index 83514e73670541d8b6ddb75b63a8d780da09a97a..1c89001ed1661b5cebed6792ab6a894de1989c24 100644 |
--- a/chrome_elf/chrome_elf.gyp |
+++ b/chrome_elf/chrome_elf.gyp |
@@ -24,6 +24,7 @@ |
], |
'dependencies': [ |
'blacklist', |
+ 'chrome_elf_breakpad', |
'chrome_elf_lib', |
], |
'msvs_settings': { |
@@ -46,6 +47,7 @@ |
'type': 'executable', |
'sources': [ |
'blacklist/test/blacklist_test.cc', |
+ 'chrome_elf_util_unittest.cc', |
'create_file/chrome_create_file_unittest.cc', |
'elf_imports_unittest.cc', |
'ntdll_cache_unittest.cc', |
@@ -87,14 +89,45 @@ |
'..', |
], |
'sources': [ |
- 'chrome_elf_constants.cc', |
- 'chrome_elf_constants.h', |
- 'chrome_elf_types.h', |
'create_file/chrome_create_file.cc', |
'create_file/chrome_create_file.h', |
'ntdll_cache.cc', |
'ntdll_cache.h', |
], |
+ 'dependencies': [ |
+ 'chrome_elf_common', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'chrome_elf_common', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'chrome_elf_constants.cc', |
+ 'chrome_elf_constants.h', |
+ 'chrome_elf_types.h', |
+ 'chrome_elf_util.cc', |
+ 'chrome_elf_util.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'chrome_elf_breakpad', |
grt (UTC plus 2)
2014/02/17 20:49:39
why is this its own target?
Cait (Slow)
2014/02/18 23:03:12
This is because it needs to be used by the blackli
|
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ '..', |
+ '<(SHARED_INTERMEDIATE_DIR)', |
+ ], |
+ 'sources': [ |
+ 'breakpad.cc', |
+ 'breakpad.h', |
+ ], |
+ 'dependencies': [ |
+ 'chrome_elf_common', |
+ '../breakpad/breakpad.gyp:breakpad_handler', |
+ '../chrome/chrome.gyp:chrome_version_header', |
+ ], |
}, |
], # targets |
'conditions': [ |