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

Unified Diff: content/test/gpu/gpu_test_config.cc

Issue 10815027: Fix GPUTestConfigTest.LoadCurrentConfig on Android (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 5 months 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 | « content/test/gpu/gpu_test_config.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_test_config.cc
diff --git a/content/test/gpu/gpu_test_config.cc b/content/test/gpu/gpu_test_config.cc
index b6744ce38a69f4154868248ea0bda06941be65e3..44d085a68f023bd58da991cde6007c142bf3ce6d 100644
--- a/content/test/gpu/gpu_test_config.cc
+++ b/content/test/gpu/gpu_test_config.cc
@@ -45,6 +45,8 @@ GPUTestConfig::OS GetCurrentOS() {
return GPUTestConfig::kOsMacLion;
}
}
+#elif defined(OS_ANDROID)
+ return GPUTestConfig::kOsAndroid;
#endif
return GPUTestConfig::kOsUnknown;
}
@@ -61,7 +63,7 @@ GPUTestConfig::~GPUTestConfig() {
}
void GPUTestConfig::set_os(int32 os) {
- DCHECK_EQ(0, os & ~(kOsWin | kOsMac | kOsLinux | kOsChromeOS));
+ DCHECK_EQ(0, os & ~(kOsAndroid | kOsWin | kOsMac | kOsLinux | kOsChromeOS));
os_ = os;
}
@@ -147,6 +149,7 @@ bool GPUTestBotConfig::IsValid() const {
case kOsMacLion:
case kOsLinux:
case kOsChromeOS:
+ case kOsAndroid:
break;
default:
return false;
« no previous file with comments | « content/test/gpu/gpu_test_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698