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

Unified Diff: services/shape_detection/BUILD.gn

Issue 2677553003: Shape detection unittests mac (QR and Face) in GPU bots (Closed)
Patch Set: filter FaceDetectionImplMacTest 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
« no previous file with comments | « services/BUILD.gn ('k') | services/shape_detection/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shape_detection/BUILD.gn
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
index 2546fb7f580615917adca8b2c698fae2757790d7..67ae0a0c26dd9edc2e795458b3fb6cb132e3285b 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,29 @@ service_manifest("manifest") {
name = "shape_detection"
source = "manifest.json"
}
+
+source_set("tests") {
+ testonly = true
+ sources = []
+ if (is_mac) {
+ sources += [
+ "barcode_detection_impl_mac_unittest.mm",
+ "face_detection_impl_mac_unittest.mm",
+ ]
+
+ libs = [
+ "CoreFoundation.framework",
+ "CoreGraphics.framework",
+ "QuartzCore.framework",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/gfx",
+ ]
+ }
+}
« no previous file with comments | « services/BUILD.gn ('k') | services/shape_detection/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698