| 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",
|
| + ]
|
| + }
|
| +}
|
|
|