Index: chrome_elf/chrome_elf.gyp |
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp |
index d011bbb701c1472d6ab790d3ae64dba3c9604e54..83514e73670541d8b6ddb75b63a8d780da09a97a 100644 |
--- a/chrome_elf/chrome_elf.gyp |
+++ b/chrome_elf/chrome_elf.gyp |
@@ -29,7 +29,7 @@ |
'msvs_settings': { |
'VCLinkerTool': { |
'BaseAddress': '0x01c20000', |
- # Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency). |
+ # Set /SUBSYSTEM:WINDOWS. |
'SubSystem': '2', |
'AdditionalDependencies!': [ |
'user32.lib', |
@@ -46,6 +46,7 @@ |
'type': 'executable', |
'sources': [ |
'blacklist/test/blacklist_test.cc', |
+ 'create_file/chrome_create_file_unittest.cc', |
'elf_imports_unittest.cc', |
'ntdll_cache_unittest.cc', |
], |
@@ -86,10 +87,41 @@ |
'..', |
], |
'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', |
], |
}, |
+ ], # targets |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'chrome_redirects', |
+ 'type': 'shared_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'chrome_redirects.def', |
+ ], |
+ 'dependencies': [ |
+ 'chrome_elf_lib', |
+ ], |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'BaseAddress': '0x01c10000', |
+ # Set /SUBSYSTEM:WINDOWS. |
+ 'SubSystem': '2', |
+ }, |
+ }, |
+ }, |
+ ], |
+ }], |
], |
} |
+ |