Add CreatePlatformGLTestContext_none.cpp for Google3 build

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1847923002

Review URL: https://codereview.chromium.org/1847923002
This commit is contained in:
bsalomon 2016-04-01 04:50:45 -07:00 committed by Commit bot
parent 49c4c22b37
commit e5adad4141
2 changed files with 20 additions and 0 deletions

View File

@ -85,6 +85,9 @@
],
},
}],
['skia_os in ["linux", "win", "mac", "chromeos", "android", "ios"]', {
'sources/': [ ['exclude', '_none\.(h|cpp)$'],],
}],
['skia_os != "win"', {
'sources/': [ ['exclude', '_win\.(h|cpp)$'],],
}],

View File

@ -0,0 +1,17 @@
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gl/GLTestContext.h"
namespace sk_gpu_test {
GLTestContext* CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI,
GLTestContext *shareContext) {
return nullptr;
}
} // namespace sk_gpu_test