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

Unified Diff: chrome_elf/chrome_elf.gyp

Issue 138593004: Use an alternate mechanism for CreateFile calls in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CreateFile and tests only, gyp changes in separate CL Created 6 years, 11 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 | « chrome_elf/chrome_elf.def ('k') | chrome_elf/chrome_elf_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ },
+ },
+ },
+ ],
+ }],
],
}
+
« no previous file with comments | « chrome_elf/chrome_elf.def ('k') | chrome_elf/chrome_elf_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698