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

Unified Diff: ui/gl/BUILD.gn

Issue 1121353002: Added unittest for ui/gl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed (c) Created 5 years, 7 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 | « build/gn_migration.gypi ('k') | ui/gl/gl_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index efee0ee1c3135b13ae3d4c565a63126c54ba620b..76ed117d9024b26a1a51ffb2b98ce4745bb97f45 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -3,6 +3,8 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//testing/test.gni")
+
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
@@ -276,6 +278,19 @@ source_set("gl_unittest_utils") {
]
}
+test("gl_unittests") {
+ sources = [
+ "test/run_all_unittests.cc",
+ ]
+
+ deps = [
+ ":gl",
+ "//base",
+ "//base/test:test_support",
+ "//testing/gtest",
+ ]
+}
+
if (is_android) {
generate_jar_jni("surface_jni_headers") {
jni_package = "ui/gl"
« no previous file with comments | « build/gn_migration.gypi ('k') | ui/gl/gl_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698