diff options
39 files changed, 9 insertions, 619 deletions
diff --git a/chrome/browser/views/about_ipc_dialog.cc b/chrome/browser/views/about_ipc_dialog.cc index 89325ca..ea3c1c9 100644 --- a/chrome/browser/views/about_ipc_dialog.cc +++ b/chrome/browser/views/about_ipc_dialog.cc @@ -362,7 +362,7 @@ void AboutIPCDialog::Layout() { if (!message_list_.m_hWnd) { HWND parent_window = GetRootView()->GetWidget()->GetNativeView(); - CRect rect(0, 0, 10, 10); + RECT rect = {0, 0, 10, 10}; HWND list_hwnd = message_list_.Create(parent_window, rect, NULL, WS_CHILD | WS_VISIBLE | LVS_SORTASCENDING); message_list_.SetViewType(LVS_REPORT); diff --git a/chrome/browser/views/about_ipc_dialog.h b/chrome/browser/views/about_ipc_dialog.h index 2f4eaf5..c0826b6 100644 --- a/chrome/browser/views/about_ipc_dialog.h +++ b/chrome/browser/views/about_ipc_dialog.h @@ -5,13 +5,19 @@ #ifndef CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_ #define CHROME_BROWSER_VIEWS_ABOUT_IPC_DIALOG_H_ +#if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) + +#include <atlbase.h> +#include <atlapp.h> +#include <atlwin.h> +#include <atlctrls.h> + #include "base/singleton.h" #include "ipc/ipc_logging.h" #include "views/controls/button/button.h" #include "views/controls/table/table_view.h" #include "views/window/dialog_delegate.h" -#if defined(OS_WIN) && defined(IPC_MESSAGE_LOG_ENABLED) class Profile; namespace views { @@ -54,7 +60,7 @@ class AboutIPCDialog : public views::DialogDelegate, // views::ButtonListener. virtual void ButtonPressed(views::Button* button, const views::Event& event); - CListViewCtrl message_list_; + WTL::CListViewCtrl message_list_; views::TextButton* track_toggle_; views::TextButton* clear_button_; diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index f12a88c..95c587c 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -611,9 +611,6 @@ 'common/zip.cc', # Requires zlib directly. 'common/zip.h', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', - - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', ], 'direct_dependent_settings': { 'include_dirs': [ @@ -623,12 +620,6 @@ 'export_dependent_settings': [ '../app/app.gyp:app_base', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', - }, - }, 'conditions': [ ['OS=="linux"', { 'dependencies': [ @@ -2160,8 +2151,6 @@ 'browser/worker_host/worker_service.h', 'browser/zygote_host_linux.cc', 'browser/zygote_main_linux.cc', - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', # This file is generated by GRIT. '<(grit_out_dir)/grit/theme_resources_map.cc', @@ -2382,12 +2371,6 @@ 'browser/views/tabs/tab_overview_types.cc', 'browser/views/tabs/tab_overview_types.h', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, }, { # 'OS!="win" 'sources/': [ # Exclude all of hang_monitor. @@ -2745,16 +2728,7 @@ 'plugin/webplugin_delegate_stub.h', 'plugin/webplugin_proxy.cc', 'plugin/webplugin_proxy.h', - - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', - }, - }, # These are layered in conditionals in the event other platforms # end up using this module as well. 'conditions': [ @@ -2881,21 +2855,12 @@ 'renderer/webplugin_delegate_proxy.h', 'renderer/webworker_proxy.cc', 'renderer/webworker_proxy.h', - - 'tools/build/win/precompiled_wtl.cc', - 'tools/build/win/precompiled_wtl.h', ], 'link_settings': { 'mac_bundle_resources': [ 'renderer/renderer.sb', ], }, - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, 'conditions': [ # Linux-specific rules. ['OS=="linux"', { @@ -2920,9 +2885,6 @@ '../skia/skia.gyp:skia', ], 'sources': [ - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', - 'utility/utility_main.cc', 'utility/utility_thread.cc', 'utility/utility_thread.h', @@ -2930,12 +2892,6 @@ 'include_dirs': [ '..', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', - }, - }, 'conditions': [ ['OS=="linux"', { 'dependencies': [ @@ -2953,8 +2909,6 @@ '../webkit/webkit.gyp:webkit', ], 'sources': [ - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', 'worker/nativewebworker_impl.cc', 'worker/nativewebworker_impl.h', 'worker/nativewebworker_stub.cc', @@ -2970,12 +2924,6 @@ 'include_dirs': [ '..', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', - }, - }, }, { 'target_name': 'chrome', @@ -3738,21 +3686,12 @@ 'sources': [ 'test/automated_ui_tests/automated_ui_tests.cc', 'test/automated_ui_tests/automated_ui_tests.h', - - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], 'conditions': [ ['OS=="win"', { 'include_dirs': [ 'third_party/wtl/include', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, }], ], }, @@ -3823,9 +3762,6 @@ 'test/ui/sunspider_uitest.cc', 'test/ui/v8_benchmark_uitest.cc', 'worker/worker_uitest.cc', - - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], 'conditions': [ ['OS=="linux"', { @@ -3882,8 +3818,6 @@ }, 'configurations': { 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', @@ -4222,9 +4156,6 @@ 'test/v8_unit_test.cc', 'test/v8_unit_test.h', '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc', - - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], 'conditions': [ ['chromeos==0', { @@ -4349,8 +4280,6 @@ }, 'configurations': { 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', @@ -4409,8 +4338,6 @@ 'sources': [ 'test/startup/feature_startup_test.cc', 'test/startup/startup_test.cc', - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', ], 'conditions': [ ['OS=="linux"', { @@ -4525,8 +4452,6 @@ ], 'sources': [ 'test/page_cycler/page_cycler_test.cc', - 'tools/build/win/precompiled.cc', - 'tools/build/win/precompiled.h', ], 'conditions': [ ['OS=="linux"', { @@ -4620,16 +4545,6 @@ 'include_dirs': [ 'third_party/wtl/include', ], - 'sources': [ - 'tools/build/win/precompiled_wtl.cc', - 'tools/build/win/precompiled_wtl.h', - ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, }], # OS="win" ], # conditions }, @@ -5304,14 +5219,9 @@ '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', - - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], 'configurations': { 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', @@ -5583,8 +5493,6 @@ # TODO(phajdan.jr): Only temporary, to make transition easier. 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], 'sources': [ - 'tools/build/win/precompiled_wtl.cc', - 'tools/build/win/precompiled_wtl.h', 'test/live_sync/bookmark_model_verifier.cc', 'test/live_sync/bookmark_model_verifier.h', 'test/live_sync/live_bookmarks_sync_test.cc', @@ -5664,8 +5572,6 @@ ], 'configurations': { 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', @@ -5683,8 +5589,6 @@ 'app/chrome_dll.rc', 'app/chrome_dll_resource.h', 'app/chrome_dll_version.rc.version', - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', @@ -5784,15 +5688,7 @@ ], 'sources': [ 'test/plugin/plugin_test.cpp', - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, }, { 'target_name': 'reliability_tests', @@ -5849,15 +5745,7 @@ ], 'sources': [ 'test/selenium/selenium_test.cc', - 'tools/build/win/precompiled_wtl.h', - 'tools/build/win/precompiled_wtl.cc', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', - 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', - }, - }, }, { 'target_name': 'test_chrome_plugin', diff --git a/chrome/tools/build/win/precompiled.cc b/chrome/tools/build/win/precompiled.cc deleted file mode 100644 index b09ed13..0000000 --- a/chrome/tools/build/win/precompiled.cc +++ /dev/null @@ -1,2 +0,0 @@ -// This file exists purely as a means to generate precompiled.pch -#include "precompiled.h" diff --git a/chrome/tools/build/win/precompiled.h b/chrome/tools/build/win/precompiled.h deleted file mode 100644 index 4b8e79b..0000000 --- a/chrome/tools/build/win/precompiled.h +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// -// This header file is pre-compiled and added to the cl.exe command line for -// each source file. You should not include it explicitly. Instead, you -// should ensure that your source files specify all of their include files -// explicitly so they may be used without this pre-compiled header. -// -// To make use of this header file in a vcproj, just add precompiled.cc as a -// build target, and modify its build properties to enable /Yc for that file -// only. Then add the precompiled.vsprops property sheet to your vcproj. -// - -// windows headers -// TODO: when used, winsock2.h must be included before windows.h or -// the build blows up. The best fix is to define WIN32_LEAN_AND_MEAN. -// The best workaround is to define _WINSOCKAPI_. That's what winsock2.h does. -#include <winsock2.h> -#include <windows.h> -#include <shellapi.h> -#include <shlobj.h> -#include <tchar.h> - -// runtime headers -#include <cassert> -#include <climits> -#include <cstddef> -#include <cstdlib> -#include <cstring> -#include <memory.h> - -// Usual STL -#include <algorithm> -#include <list> -#include <map> -#include <string> -#include <strstream> -#include <vector> diff --git a/chrome/tools/build/win/precompiled.vsprops b/chrome/tools/build/win/precompiled.vsprops deleted file mode 100644 index 464ea32..0000000 --- a/chrome/tools/build/win/precompiled.vsprops +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="precompiled" - > - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories=""$(SolutionDir)tools\build\win"" - UsePrecompiledHeader="2" - PrecompiledHeaderThrough="precompiled.h" - PrecompiledHeaderFile="$(IntDir)\precompiled.pch" - ForcedIncludeFiles="precompiled.h" - /> -</VisualStudioPropertySheet> diff --git a/chrome/tools/build/win/precompiled_wtl.cc b/chrome/tools/build/win/precompiled_wtl.cc deleted file mode 100644 index 0f6272d..0000000 --- a/chrome/tools/build/win/precompiled_wtl.cc +++ /dev/null @@ -1,2 +0,0 @@ -// This file exists purely as a means to generate precompiled.pch -#include "precompiled_wtl.h" diff --git a/chrome/tools/build/win/precompiled_wtl.h b/chrome/tools/build/win/precompiled_wtl.h deleted file mode 100644 index 55a5664..0000000 --- a/chrome/tools/build/win/precompiled_wtl.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// See precompiled.h for info on using this file, substituting references to -// "precompiled" with "precompiled_wtl" - -#include "chrome/tools/build/win/precompiled.h" - -// ATL/WTL headers -#include <atlbase.h> -#include <atlapp.h> -#include <atlwin.h> -#include <atldlgs.h> -#include <atlframe.h> -#include <atlmisc.h> -#include <atlctrls.h> -#include <atlcrack.h> -#include <atltheme.h> diff --git a/chrome/tools/build/win/precompiled_wtl.vsprops b/chrome/tools/build/win/precompiled_wtl.vsprops deleted file mode 100644 index 1e9a915..0000000 --- a/chrome/tools/build/win/precompiled_wtl.vsprops +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioPropertySheet - ProjectType="Visual C++" - Version="8.00" - Name="precompiled_wtl" - > - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories=""$(SolutionDir)tools\build\win"" - UsePrecompiledHeader="2" - PrecompiledHeaderThrough="precompiled_wtl.h" - PrecompiledHeaderFile="$(IntDir)\precompiled_wtl.pch" - ForcedIncludeFiles="precompiled_wtl.h" - /> -</VisualStudioPropertySheet> diff --git a/net/build/precompiled_net.cc b/net/build/precompiled_net.cc deleted file mode 100644 index 75530ad..0000000 --- a/net/build/precompiled_net.cc +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Generates the precompiled file. - -#include "precompiled_net.h" diff --git a/net/build/precompiled_net.h b/net/build/precompiled_net.h deleted file mode 100644 index eb5179e..0000000 --- a/net/build/precompiled_net.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Header used to generate the precompiled file. - -#ifndef WIN32_LEAN_AND_MEAN -#define WIN32_LEAN_AND_MEAN -#endif -#include <windows.h> -#include <wincrypt.h> -#include <winsock2.h> - -#include <algorithm> -#include <hash_map> -#include <hash_set> -#include <list> -#include <set> -#include <string> -#include <vector> - -#include <assert.h> -#include <limits.h> -#include <stddef.h> -#include <string.h> diff --git a/net/net.gyp b/net/net.gyp index c7eaf8b..532c351 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -143,8 +143,6 @@ 'base/x509_certificate_mac.cc', 'base/x509_certificate_nss.cc', 'base/x509_certificate_win.cc', - 'build/precompiled_net.cc', - 'build/precompiled_net.h', 'disk_cache/addr.cc', 'disk_cache/addr.h', 'disk_cache/backend_impl.cc', @@ -362,10 +360,6 @@ 'url_request/url_request_view_net_internal_job.cc', 'url_request/url_request_view_net_internal_job.h', ], - 'sources!': [ - 'build/precompiled_net.h', - 'build/precompiled_net.cc', - ], 'export_dependent_settings': [ '../base/base.gyp:base', ], @@ -390,12 +384,6 @@ 'dependencies': [ 'tld_cleanup', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'build/precompiled_net.h', - 'msvs_precompiled_source': 'build/precompiled_net.cc', - }, - }, }, { # else: OS != "win" 'sources!': [ diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index e389171..bc7c054 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -198,10 +198,6 @@ 'src/win_utils.h', 'src/window.h', 'src/window.cc', - - # Precompiled headers. - 'src/stdafx.cc', - 'src/stdafx.h', ], 'include_dirs': [ '..', @@ -215,12 +211,6 @@ ], }, ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'src/stdafx.h', - 'msvs_precompiled_source': 'src/stdafx.cc', - }, - }, 'direct_dependent_settings': { 'include_dirs': [ 'src', @@ -250,17 +240,7 @@ 'src/registry_policy_test.cc', 'src/sync_policy_test.cc', 'src/unload_dll_test.cc', - - # Precompiled headers. - 'tests/integration_tests/stdafx.cc', - 'tests/integration_tests/stdafx.h', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tests/integration_tests/stdafx.h', - 'msvs_precompiled_source': 'tests/integration_tests/stdafx.cc', - }, - }, }, { 'target_name': 'sbox_validation_tests', @@ -276,17 +256,7 @@ 'tests/validation_tests/commands.cc', 'tests/validation_tests/commands.h', 'tests/validation_tests/suite.cc', - - # Precompiled headers. - 'tests/validation_tests/stdafx.cc', - 'tests/validation_tests/stdafx.h', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tests/validation_tests/stdafx.h', - 'msvs_precompiled_source': 'tests/validation_tests/stdafx.cc', - }, - }, }, { 'target_name': 'sbox_unittests', @@ -308,17 +278,7 @@ 'src/policy_opcodes_unittest.cc', 'src/ipc_unittest.cc', 'src/threadpool_unittest.cc', - - # Precompiled headers. - 'tests/unit_tests/stdafx.cc', - 'tests/unit_tests/stdafx.h', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'tests/unit_tests/stdafx.h', - 'msvs_precompiled_source': 'tests/unit_tests/stdafx.cc', - }, - }, }, { 'target_name': 'sandbox_poc', @@ -335,10 +295,6 @@ 'sandbox_poc/sandbox.h', 'sandbox_poc/sandbox.ico', 'sandbox_poc/sandbox.rc', - - # Precompiled headers. - 'sandbox_poc/stdafx.cc', - 'sandbox_poc/stdafx.h', ], 'link_settings': { 'libraries': [ @@ -350,12 +306,6 @@ 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS }, }, - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'sandbox_poc/stdafx.h', - 'msvs_precompiled_source': 'sandbox_poc/stdafx.cc', - }, - }, }, { 'target_name': 'pocdll', @@ -371,10 +321,6 @@ 'sandbox_poc/pocdll/registry.cc', 'sandbox_poc/pocdll/spyware.cc', 'sandbox_poc/pocdll/utils.h', - - # Precompiled headers. - 'sandbox_poc/pocdll/stdafx.cc', - 'sandbox_poc/pocdll/stdafx.h', ], 'defines': [ 'POCDLL_EXPORTS', @@ -382,12 +328,6 @@ 'include_dirs': [ '..', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'sandbox_poc/pocdll/stdafx.h', - 'msvs_precompiled_source': 'sandbox_poc/pocdll/stdafx.cc', - }, - }, }, ], }], diff --git a/sandbox/sandbox_poc/pocdll/stdafx.cc b/sandbox/sandbox_poc/pocdll/stdafx.cc deleted file mode 100644 index a06f0d1..0000000 --- a/sandbox/sandbox_poc/pocdll/stdafx.cc +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/sandbox_poc/pocdll/stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/sandbox/sandbox_poc/pocdll/stdafx.h b/sandbox/sandbox_poc/pocdll/stdafx.h deleted file mode 100644 index a473564..0000000 --- a/sandbox/sandbox_poc/pocdll/stdafx.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_SANDBOX_POC_POCDLL_STDAFX_H__ -#define SANDBOX_SANDBOX_POC_POCDLL_STDAFX_H__ - -#include <stdio.h> -#include <tchar.h> -#include <windows.h> - -#endif // SANDBOX_SANDBOX_POC_POCDLL_STDAFX_H__ diff --git a/sandbox/sandbox_poc/stdafx.cc b/sandbox/sandbox_poc/stdafx.cc deleted file mode 100644 index 606e8e8..0000000 --- a/sandbox/sandbox_poc/stdafx.cc +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/sandbox_poc/stdafx.h" diff --git a/sandbox/sandbox_poc/stdafx.h b/sandbox/sandbox_poc/stdafx.h deleted file mode 100644 index 8bf7354..0000000 --- a/sandbox/sandbox_poc/stdafx.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_SANDBOX_POC_STDAFX_H__ -#define SANDBOX_SANDBOX_POC_STDAFX_H__ - -#include <windows.h> -#include <stdlib.h> -#include <malloc.h> -#include <memory.h> -#include <tchar.h> - -#define _ATL_NO_EXCEPTIONS -#include <atlbase.h> -#include <atlsecurity.h> - -#endif // SANDBOX_SANDBOX_POC_STDAFX_H__ diff --git a/sandbox/src/stdafx.cc b/sandbox/src/stdafx.cc deleted file mode 100644 index b1da090..0000000 --- a/sandbox/src/stdafx.cc +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/src/stdafx.h" diff --git a/sandbox/src/stdafx.h b/sandbox/src/stdafx.h deleted file mode 100644 index e575344..0000000 --- a/sandbox/src/stdafx.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_SRC_STDAFX_H__ -#define SANDBOX_SRC_STDAFX_H__ - -#include <windows.h> -#include <stdio.h> -#include <stdlib.h> - -#endif // SANDBOX_SRC_STDAFX_H__ diff --git a/sandbox/tests/integration_tests/stdafx.cc b/sandbox/tests/integration_tests/stdafx.cc deleted file mode 100644 index e557e72..0000000 --- a/sandbox/tests/integration_tests/stdafx.cc +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/tests/integration_tests/stdafx.h" diff --git a/sandbox/tests/integration_tests/stdafx.h b/sandbox/tests/integration_tests/stdafx.h deleted file mode 100644 index e7877cf..0000000 --- a/sandbox/tests/integration_tests/stdafx.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_TESTS_INTEGRATION_TESTS_STDAFX_H__ -#define SANDBOX_TESTS_INTEGRATION_TESTS_STDAFX_H__ - -#include <windows.h> -#include <stdio.h> -#include <stdlib.h> - -#endif // SANDBOX_TESTS_INTEGRATION_TESTS_STDAFX_H__ diff --git a/sandbox/tests/unit_tests/stdafx.cc b/sandbox/tests/unit_tests/stdafx.cc deleted file mode 100644 index f0b684b..0000000 --- a/sandbox/tests/unit_tests/stdafx.cc +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/tests/unit_tests/stdafx.h" diff --git a/sandbox/tests/unit_tests/stdafx.h b/sandbox/tests/unit_tests/stdafx.h deleted file mode 100644 index 05397e0..0000000 --- a/sandbox/tests/unit_tests/stdafx.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_TESTS_UNIT_TESTS_STDAFX_H__ -#define SANDBOX_TESTS_UNIT_TESTS_STDAFX_H__ - -#include <windows.h> -#include <stdio.h> -#include <stdlib.h> - -#endif // SANDBOX_TESTS_UNIT_TESTS_STDAFX_H__ diff --git a/sandbox/tests/validation_tests/stdafx.cc b/sandbox/tests/validation_tests/stdafx.cc deleted file mode 100644 index fcce090..0000000 --- a/sandbox/tests/validation_tests/stdafx.cc +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/tests/validation_tests/stdafx.h" diff --git a/sandbox/tests/validation_tests/stdafx.h b/sandbox/tests/validation_tests/stdafx.h deleted file mode 100644 index 9df7b84..0000000 --- a/sandbox/tests/validation_tests/stdafx.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_TESTS_VALIDATION_TESTS_STDAFX_H_ -#define SANDBOX_TESTS_VALIDATION_TESTS_STDAFX_H_ - -#include <windows.h> -#include <stdio.h> -#include <stdlib.h> -#include <shlwapi.h> - -#endif // SANDBOX_TESTS_VALIDATION_TESTS_STDAFX_H_ diff --git a/sandbox/tools/finder/stdafx.cc b/sandbox/tools/finder/stdafx.cc deleted file mode 100644 index 407f549..0000000 --- a/sandbox/tools/finder/stdafx.cc +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/tools/finder/stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/sandbox/tools/finder/stdafx.h b/sandbox/tools/finder/stdafx.h deleted file mode 100644 index f5b821b..0000000 --- a/sandbox/tools/finder/stdafx.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_TOOLS_FINDER_STDAFX_H__ -#define SANDBOX_TOOLS_FINDER_STDAFX_H__ - -#ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0501 -#endif - -#include <stdio.h> -#include <tchar.h> -#include <windows.h> -#define _ATL_NO_EXCEPTIONS -#include <atlbase.h> -#include <atlsecurity.h> - -#endif // SANDBOX_TOOLS_FINDER_STDAFX_H__ diff --git a/sandbox/tools/launcher/stdafx.cc b/sandbox/tools/launcher/stdafx.cc deleted file mode 100644 index 3b4ef15..0000000 --- a/sandbox/tools/launcher/stdafx.cc +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sandbox/tools/launcher/stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/sandbox/tools/launcher/stdafx.h b/sandbox/tools/launcher/stdafx.h deleted file mode 100644 index 297195c..0000000 --- a/sandbox/tools/launcher/stdafx.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef SANDBOX_TOOLS_LAUNCHER_STDAFX_H__ -#define SANDBOX_TOOLS_LAUNCHER_STDAFX_H__ - -#ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0501 -#endif - -#include <stdio.h> -#include <tchar.h> -#include <windows.h> -#define _ATL_NO_EXCEPTIONS -#include <atlbase.h> -#include <atlsecurity.h> -#include <conio.h> - -#endif // SANDBOX_TOOLS_LAUNCHER_STDAFX_H__ diff --git a/skia/precompiled.cc b/skia/precompiled.cc deleted file mode 100644 index c0b706c..0000000 --- a/skia/precompiled.cc +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Used to generate the precompiled header. -#include "third_party/skia/include/core/SkTypes.h" - diff --git a/skia/skia.gyp b/skia/skia.gyp index f90bd28..67d1079 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -12,7 +12,6 @@ 'type': '<(library)', 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', 'sources': [ - 'precompiled.cc', #'../third_party/skia/src/animator/SkAnimate.h', #'../third_party/skia/src/animator/SkAnimateActive.cpp', #'../third_party/skia/src/animator/SkAnimateActive.h', @@ -559,7 +558,6 @@ ], 'sources!': [ '../third_party/skia/include/core/SkTypes.h', - 'precompiled.cc', ], 'conditions': [ [ 'OS != "mac"', { @@ -628,12 +626,6 @@ '../third_party/skia/src/ports/SkThread_pthread.cpp', '../third_party/skia/src/ports/SkTime_Unix.cc', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'include/core/SkTypes.h', - 'msvs_precompiled_source': 'precompiled.cc', - }, - }, 'include_dirs': [ 'config/win', ], diff --git a/tools/measure_page_load_time/ie_bho/stdafx.cpp b/tools/measure_page_load_time/ie_bho/stdafx.cpp deleted file mode 100644 index c67b429..0000000 --- a/tools/measure_page_load_time/ie_bho/stdafx.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// MeasurePageLoadTime.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" diff --git a/tools/measure_page_load_time/ie_bho/stdafx.h b/tools/measure_page_load_time/ie_bho/stdafx.h deleted file mode 100644 index a2727ce..0000000 --- a/tools/measure_page_load_time/ie_bho/stdafx.h +++ /dev/null @@ -1,39 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#ifndef STRICT -#define STRICT -#endif - -// Modify the following defines if you have to target a platform prior to the ones specified below. -// Refer to MSDN for the latest info on corresponding values for different platforms. -#ifndef WINVER // Allow use of features specific to Windows XP or later. -#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. -#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. -#endif - -#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. -#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. -#endif - -#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later. -#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE. -#endif - -#define _ATL_APARTMENT_THREADED -#define _ATL_NO_AUTOMATIC_NAMESPACE - -#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit - - -#include "resource.h" -#include <atlbase.h> -#include <atlcom.h> - -using namespace ATL; diff --git a/webkit/build/V8Bindings/precompiled_v8bindings.cpp b/webkit/build/V8Bindings/precompiled_v8bindings.cpp deleted file mode 100644 index b9f79a7..0000000 --- a/webkit/build/V8Bindings/precompiled_v8bindings.cpp +++ /dev/null @@ -1,3 +0,0 @@ -// Copyright 2008 Google Inc. All Rights Reserved. - -#include "precompiled_v8bindings.h" diff --git a/webkit/build/V8Bindings/precompiled_v8bindings.h b/webkit/build/V8Bindings/precompiled_v8bindings.h deleted file mode 100644 index e1a8217..0000000 --- a/webkit/build/V8Bindings/precompiled_v8bindings.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "config.h" -#include "v8_proxy.h" -#include "v8_binding.h" - -#include <assert.h> -#include <math.h> -#include <time.h> - -#include <hash_map> -#include <string> -#include <vector> diff --git a/webkit/build/precompiled_webkit.cc b/webkit/build/precompiled_webkit.cc deleted file mode 100644 index e8b969b..0000000 --- a/webkit/build/precompiled_webkit.cc +++ /dev/null @@ -1,8 +0,0 @@ -// There is no need to include anything here. You may ask: Why? Well that's a -// valid question. -// -// The answer is that since we are using the /FI compiler option, not including -// the PCH file here asserts that the /FI option is indeed correctly set. -// -// "/FI [header file]" means force include. The specified include file will be -// included before each compilation unit (.c/.cc file). diff --git a/webkit/build/precompiled_webkit.h b/webkit/build/precompiled_webkit.h deleted file mode 100644 index 44ccfe4..0000000 --- a/webkit/build/precompiled_webkit.h +++ /dev/null @@ -1,29 +0,0 @@ -#include "config.h" - -#include <assert.h> -#include <ctype.h> -#include <fcntl.h> -#include <float.h> -#include <locale.h> -#include <math.h> -#include <sys/types.h> -#include <setjmp.h> -#include <signal.h> -#include <stdarg.h> -#include <stddef.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> - -#ifdef __cplusplus - -#include <algorithm> -#include <cstddef> -#include <list> -#include <new> -#include <typeinfo> - -#endif - -#define __PRETTY_FUNCTION__ __FUNCTION__ diff --git a/webkit/build/precompiled_webkit_c.c b/webkit/build/precompiled_webkit_c.c deleted file mode 100644 index b20420c..0000000 --- a/webkit/build/precompiled_webkit_c.c +++ /dev/null @@ -1,13 +0,0 @@ -// There is no need to include anything here. You may ask: Why? Well that's a -// valid question. -// -// The answer is that since we are using the /FI compiler option, not including -// the PCH file here asserts that the /FI option is indeed correctly set. -// -// "/FI [header file]" means force include. The specified include file will be -// included before each compilation unit (.c/.cc file). -// -// Why a second .c file (in addition to a .cc file) ? Well, PCH for C and C++ -// are not intermixable and it happens that some projects have a lot of C files. -// Also, the base name of the file must be different because MSVC has some -// trouble with having more than one source file with the same base name. diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 809506b..a493546 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -245,8 +245,6 @@ ], 'sources': [ '<@(javascriptcore_files)', - 'build/precompiled_webkit.cc', - 'build/precompiled_webkit.h', ], 'sources/': [ # First exclude everything ... @@ -268,12 +266,6 @@ '../third_party/icu38/icu38.gyp:icui18n', '../third_party/icu38/icu38.gyp:icuuc', ], - 'configurations': { - 'Debug': { - 'msvs_precompiled_header': 'build/precompiled_webkit.h', - 'msvs_precompiled_source': 'build/precompiled_webkit.cc', - }, - }, 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706], 'conditions': [ ['OS=="win"', { @@ -295,11 +287,6 @@ 'include_dirs!': [ '<(SHARED_INTERMEDIATE_DIR)/webkit', ], - }, { # OS != "win" - 'sources!': [ - 'build/precompiled_webkit.cc', - 'build/precompiled_webkit.h', - ], }], ['OS=="linux"', { 'defines': ['WTF_USE_PTHREADS=1'], |