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

Unified Diff: gpu/config/gpu_driver_bug_list_unittest.cc

Issue 2823503002: Only generate GPU json data entries related to a given platform at build time. (Closed)
Patch Set: update Created 3 years, 8 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 | « gpu/config/gpu_driver_bug_list.json ('k') | gpu/config/process_json.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_driver_bug_list_unittest.cc
diff --git a/gpu/config/gpu_driver_bug_list_unittest.cc b/gpu/config/gpu_driver_bug_list_unittest.cc
index 5ed55ecdd4aaa208e5bfa01cfcf418432af708c8..99cbe08e50eccdc00d2938892aa0ee8bf348417e 100644
--- a/gpu/config/gpu_driver_bug_list_unittest.cc
+++ b/gpu/config/gpu_driver_bug_list_unittest.cc
@@ -16,6 +16,7 @@ class GpuDriverBugListTest : public testing::Test {
~GpuDriverBugListTest() override {}
};
+#if defined(OS_ANDROID)
TEST_F(GpuDriverBugListTest, CurrentListForARM) {
std::unique_ptr<GpuDriverBugList> list = GpuDriverBugList::Create();
GPUInfo gpu_info;
@@ -35,6 +36,7 @@ TEST_F(GpuDriverBugListTest, CurrentListForImagination) {
GpuControlList::kOsAndroid, "4.1", gpu_info);
EXPECT_EQ(1u, bugs.count(USE_CLIENT_SIDE_ARRAYS_FOR_STREAM_BUFFERS));
}
+#endif // OS_ANDROID
TEST_F(GpuDriverBugListTest, AppendSingleWorkaround) {
base::CommandLine command_line(0, NULL);
« no previous file with comments | « gpu/config/gpu_driver_bug_list.json ('k') | gpu/config/process_json.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698