summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 20:55:11 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 20:55:11 +0000
commitffe88f7578d07e1924d88abc9e4b6e3d112e6345 (patch)
tree123976c73b7f49ba66efd8e394c1797bbdef115c /sandbox
parentdb5e2d909a38d03b013a3b581e394091079b57d4 (diff)
downloadchromium_src-ffe88f7578d07e1924d88abc9e4b6e3d112e6345.zip
chromium_src-ffe88f7578d07e1924d88abc9e4b6e3d112e6345.tar.gz
chromium_src-ffe88f7578d07e1924d88abc9e4b6e3d112e6345.tar.bz2
Delete all precompiled support. It is causing more harm than good, especially when define changes.
TEST=none BUG=20889 Review URL: http://codereview.chromium.org/171118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/sandbox.gyp60
-rw-r--r--sandbox/sandbox_poc/pocdll/stdafx.cc8
-rw-r--r--sandbox/sandbox_poc/pocdll/stdafx.h12
-rw-r--r--sandbox/sandbox_poc/stdafx.cc5
-rw-r--r--sandbox/sandbox_poc/stdafx.h18
-rw-r--r--sandbox/src/stdafx.cc5
-rw-r--r--sandbox/src/stdafx.h12
-rw-r--r--sandbox/tests/integration_tests/stdafx.cc5
-rw-r--r--sandbox/tests/integration_tests/stdafx.h12
-rw-r--r--sandbox/tests/unit_tests/stdafx.cc5
-rw-r--r--sandbox/tests/unit_tests/stdafx.h12
-rw-r--r--sandbox/tests/validation_tests/stdafx.cc5
-rw-r--r--sandbox/tests/validation_tests/stdafx.h13
-rw-r--r--sandbox/tools/finder/stdafx.cc8
-rw-r--r--sandbox/tools/finder/stdafx.h19
-rw-r--r--sandbox/tools/launcher/stdafx.cc8
-rw-r--r--sandbox/tools/launcher/stdafx.h20
17 files changed, 0 insertions, 227 deletions
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__