Index: gpu/command_buffer/service/gpu_switches.h |
diff --git a/gpu/command_buffer/service/gpu_switches.h b/gpu/command_buffer/service/gpu_switches.h |
index 7634c571174fb2fa4170d649a0e16f05d37c80b6..3f09cf5f76376f9979480f8de37e3b60652ed2f6 100644 |
--- a/gpu/command_buffer/service/gpu_switches.h |
+++ b/gpu/command_buffer/service/gpu_switches.h |
@@ -7,8 +7,18 @@ |
#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
#define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
+#include "base/basictypes.h" |
+#include "build/build_config.h" |
#include "gpu/gpu_export.h" |
+#ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
+ |
+namespace { |
+#include "gpu/command_buffer/service/gpu_switches.cc" |
+} |
+ |
+#else |
+ |
namespace switches { |
GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[]; |
@@ -35,5 +45,5 @@ GPU_EXPORT extern const int kNumGpuSwitches; |
} // namespace switches |
+#endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
#endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
- |