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

Unified Diff: services/shape_detection/BUILD.gn

Issue 2677553003: Shape detection unittests mac (QR and Face) in GPU bots (Closed)
Patch Set: Using GPU bots, removed software rendering parts Created 3 years, 10 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: services/shape_detection/BUILD.gn
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
index 2546fb7f580615917adca8b2c698fae2757790d7..31ea9a30bda2e964a589a0e2f97e563adbefca58 100644
--- a/services/shape_detection/BUILD.gn
+++ b/services/shape_detection/BUILD.gn
@@ -4,6 +4,7 @@
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
+import("//testing/test.gni")
source_set("lib") {
sources = [
@@ -48,3 +49,28 @@ service_manifest("manifest") {
name = "shape_detection"
source = "manifest.json"
}
+
+test("shape_detection_unittests") {
+ if (is_mac) {
Robert Sesek 2017/02/10 20:24:37 This may complain on non-Mac about an empty target
mcasas 2017/02/10 21:05:06 Done.
+ sources = [
+ "barcode_detection_impl_mac_unittest.mm",
+ "face_detection_impl_mac_unittest.mm",
+ ]
+
+ libs = [
+ "CoreFoundation.framework",
+ "CoreGraphics.framework",
+ "QuartzCore.framework",
+ ]
+ }
+
+ deps = [
+ ":lib",
+ "//base",
+ "//mojo/edk/test:run_all_unittests",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/gfx",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698