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

Unified Diff: sandbox/linux/services/build_config_functions.h

Issue 106163008: Move build/build_config_functions.h to sandbox/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/build_config_functions.h
diff --git a/build/build_config_functions.h b/sandbox/linux/services/build_config_functions.h
similarity index 74%
rename from build/build_config_functions.h
rename to sandbox/linux/services/build_config_functions.h
index bd1b385fe4dc44d06e233057a1aba70a1174e11d..4c7587cbfb2bcf7f70c9ca224735e0a5edb7697d 100644
--- a/build/build_config_functions.h
+++ b/sandbox/linux/services/build_config_functions.h
@@ -6,12 +6,12 @@
// compile without them. Thanks to compiler optimizations, the final generated
// binary should look the same when using these.
-#ifndef BUILD_BUILD_CONFIG_FUNCTIONS_H_
-#define BUILD_BUILD_CONFIG_FUNCTIONS_H_
+#ifndef SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_
+#define SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_
#include "build/build_config.h"
-namespace build {
+namespace sandbox {
namespace {
@@ -47,30 +47,6 @@ inline bool IsAndroid() {
#endif
}
-inline bool IsPOSIX() {
jww 2013/12/06 01:56:59 I assume you purposefully got rid of these functio
-#if defined(OS_POSIX)
- return true;
-#else
- return false;
-#endif
-}
-
-inline bool IsWindows() {
-#if defined(OS_WIN)
- return true;
-#else
- return false;
-#endif
-}
-
-inline bool IsMac() {
-#if defined(OS_MACOSX)
- return true;
-#else
- return false;
-#endif
-}
-
inline bool IsArchitectureX86_64() {
#if defined(ARCH_CPU_X86_64)
return true;
@@ -105,6 +81,6 @@ inline bool IsUsingToolKitGtk() {
} // namespace.
-} // namespace build.
+} // namespace sandbox.
-#endif // BUILD_BUILD_CONFIG_FUNCTIONS_H_
+#endif // SANDBOX_LINUX_SERVICES_BUILD_CONFIG_FUNCTIONS_H_
« no previous file with comments | « sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698