ports/www/chromium/files/patch-gpu__config__gpu_test_config.cc
Rene Ladan b89b6a49b0 - Update to 29.0.1547.65, which fixes a bug in Google Sync.
- Add an option to run regression test, default off. [1] If this option is
  selected, an extra distribution file containing test data is downloaded
  from an upstream mastersite.
- Rename the CLANG option to GCC and flip the default to off, as clang is
  the default compiler for this port for quite some time now. [2]

Submitted by:	George Liaskos [1,2]
2013-09-03 16:06:13 +00:00

20 lines
620 B
C++

--- gpu/config/gpu_test_config.cc.orig 2013-09-02 21:22:26.000000000 +0300
+++ gpu/config/gpu_test_config.cc 2013-09-02 21:23:55.000000000 +0300
@@ -17,8 +17,6 @@
GPUTestConfig::OS GetCurrentOS() {
#if defined(OS_CHROMEOS)
return GPUTestConfig::kOsChromeOS;
-#elif defined(OS_LINUX) || defined(OS_OPENBSD)
- return GPUTestConfig::kOsLinux;
#elif defined(OS_WIN)
int32 major_version = 0;
int32 minor_version = 0;
@@ -53,6 +51,8 @@
}
#elif defined(OS_ANDROID)
return GPUTestConfig::kOsAndroid;
+#elif defined(OS_POSIX)
+ return GPUTestConfig::kOsLinux;
#endif
return GPUTestConfig::kOsUnknown;
}