Skip to content

Commit

Permalink
Revert 245464 "Use an alternate mechanism for CreateFile calls i..."
Browse files Browse the repository at this point in the history
ChromeCreateFileTest.CheckWriteAndReadParams crashes on Vista

> Use an alternate mechanism for CreateFile calls in Chrome
> 
> BUG=334379
> 
> Review URL: https://codereview.chromium.org/138593004

TBR=caitkp@chromium.org

Review URL: https://codereview.chromium.org/140783009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245501 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jochen@chromium.org committed Jan 17, 2014
1 parent 37f6edb commit c44b59f
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 713 deletions.
7 changes: 0 additions & 7 deletions build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -2478,13 +2478,6 @@
['enable_ipc_fuzzer==1', {
'defines': ['ENABLE_IPC_FUZZER=1'],
}],
['OS=="win" and component=="shared_library"', {
'dependencies': [
# All targets in a component build must depend on chrome_redirects,
# to ensure that certain calls go through it.
'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects',
],
}],
], # conditions for 'target_defaults'
'target_conditions': [
['enable_wexit_time_destructors==1', {
Expand Down
12 changes: 0 additions & 12 deletions chrome/chrome_dll.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
'../content/content.gyp:content_app_browser',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
],
}],
['use_aura==1', {
'dependencies': [
'../ui/compositor/compositor.gyp:compositor',
Expand Down Expand Up @@ -366,13 +361,6 @@
'app/chrome_main_delegate.cc',
'app/chrome_main_delegate.h',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
],
}],
],
}, # target chrome_child_dll
],
}],
Expand Down
1 change: 0 additions & 1 deletion chrome/chrome_exe.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@
'../base/base.gyp:base',
'../breakpad/breakpad.gyp:breakpad_handler',
'../breakpad/breakpad.gyp:breakpad_sender',
'../chrome_elf/chrome_elf.gyp:chrome_elf',
'../components/components.gyp:breakpad_component',
'../components/components.gyp:policy',
'../chrome_elf/chrome_elf.gyp:chrome_elf',
Expand Down
1 change: 0 additions & 1 deletion chrome_elf/chrome_elf.def
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
LIBRARY "chrome_elf.dll"

EXPORTS
CreateFileW=chrome_redirects.CreateFileW
SignalChromeElf
46 changes: 1 addition & 45 deletions chrome_elf/chrome_elf.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,6 @@
'blacklist.gypi',
],
'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',
},
},
'conditions': [
['component=="shared_library"', {
# In component builds, all targets depend on chrome_redirects by
# default. Remove it here to avoid a circular dependency.
'dependencies!': [
'../chrome_elf/chrome_elf.gyp:chrome_redirects',
],
}],
],
},
{
'target_name': 'chrome_elf',
'type': 'shared_library',
Expand All @@ -54,12 +25,11 @@
'dependencies': [
'blacklist',
'chrome_elf_lib',
'chrome_redirects',
],
'msvs_settings': {
'VCLinkerTool': {
'BaseAddress': '0x01c20000',
# Set /SUBSYSTEM:WINDOWS.
# Set /SUBSYSTEM:WINDOWS for chrome_elf.dll (for consistency).
'SubSystem': '2',
'AdditionalDependencies!': [
'user32.lib',
Expand All @@ -75,7 +45,6 @@
'type': 'executable',
'sources': [
'blacklist/test/blacklist_test.cc',
'create_file/chrome_create_file_unittest.cc',
'elf_imports_unittest.cc',
'ntdll_cache_unittest.cc',
],
Expand Down Expand Up @@ -104,23 +73,10 @@
'..',
],
'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',
],
'conditions': [
['component=="shared_library"', {
# In component builds, all targets depend on chrome_redirects by
# default. Remove it here to avoid a circular dependency.
'dependencies!': [
'../chrome_elf/chrome_elf.gyp:chrome_redirects',
],
}],
],
},
],
}
13 changes: 0 additions & 13 deletions chrome_elf/chrome_elf_constants.cc

This file was deleted.

14 changes: 0 additions & 14 deletions chrome_elf/chrome_elf_constants.h

This file was deleted.

8 changes: 0 additions & 8 deletions chrome_elf/chrome_redirects.def

This file was deleted.

Loading

0 comments on commit c44b59f

Please sign in to comment.