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

Unified Diff: chrome/browser/android/vr_shell/BUILD.gn

Issue 2335643002: Add VR Shell animation classes and unit test. (Closed)
Patch Set: Created 4 years, 3 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
Index: chrome/browser/android/vr_shell/BUILD.gn
diff --git a/chrome/browser/android/vr_shell/BUILD.gn b/chrome/browser/android/vr_shell/BUILD.gn
index 3dfc8c6fb931b7ddcce342658924f071dd373f5f..2a815e8cc054e569960e20781b2695066025b852 100644
--- a/chrome/browser/android/vr_shell/BUILD.gn
+++ b/chrome/browser/android/vr_shell/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/android/rules.gni")
import("//chrome/common/features.gni")
+import("//testing/test.gni")
assert(enable_vr_shell && android_java_ui)
@@ -39,3 +40,24 @@ generate_jni("vr_shell_jni_headers") {
]
jni_package = "vr_shell"
}
+
+test("vr_shell_unittests") {
bshe 2016/09/12 15:38:26 I assume you have a follow up CL that config bot t
cjgrant 2016/09/13 17:32:15 Will do. I'll read up on this.
+ sources = [
+ "animation.cc",
bshe 2016/09/12 15:38:26 no unittest related file should be moved to vr_she
cjgrant 2016/09/13 17:32:15 Good call. I initially liked that the unit test t
+ "animation.h",
+ "easing.cc",
+ "easing.h",
+ "ui_elements.cc",
+ "ui_elements.h",
+ "ui_elements_unittest.cc",
+ "vr_math.cc",
+ "vr_math.h",
+ ]
+
+ deps = [
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//ui/gfx/geometry",
+ ]
+}
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/animation.h » ('j') | chrome/browser/android/vr_shell/animation.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698