| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//services/service_manager/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
| 6 import("//services/service_manager/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
| 7 import("//testing/test.gni") |
| 7 | 8 |
| 8 source_set("lib") { | 9 source_set("lib") { |
| 9 sources = [ | 10 sources = [ |
| 10 "barcode_detection_impl.h", | 11 "barcode_detection_impl.h", |
| 11 "face_detection_provider_impl.h", | 12 "face_detection_provider_impl.h", |
| 12 "shape_detection_service.cc", | 13 "shape_detection_service.cc", |
| 13 "shape_detection_service.h", | 14 "shape_detection_service.h", |
| 14 ] | 15 ] |
| 15 | 16 |
| 16 if (is_mac) { | 17 if (is_mac) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 41 "//media/capture", | 42 "//media/capture", |
| 42 "//services/service_manager/public/cpp", | 43 "//services/service_manager/public/cpp", |
| 43 "//services/shape_detection/public/interfaces", | 44 "//services/shape_detection/public/interfaces", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 service_manifest("manifest") { | 48 service_manifest("manifest") { |
| 48 name = "shape_detection" | 49 name = "shape_detection" |
| 49 source = "manifest.json" | 50 source = "manifest.json" |
| 50 } | 51 } |
| 52 |
| 53 source_set("tests") { |
| 54 testonly = true |
| 55 sources = [] |
| 56 if (is_mac) { |
| 57 sources += [ |
| 58 "barcode_detection_impl_mac_unittest.mm", |
| 59 "face_detection_impl_mac_unittest.mm", |
| 60 ] |
| 61 |
| 62 libs = [ |
| 63 "CoreFoundation.framework", |
| 64 "CoreGraphics.framework", |
| 65 "QuartzCore.framework", |
| 66 ] |
| 67 |
| 68 deps = [ |
| 69 ":lib", |
| 70 "//base", |
| 71 "//skia", |
| 72 "//testing/gmock", |
| 73 "//testing/gtest", |
| 74 "//ui/gfx", |
| 75 "//ui/gl", |
| 76 ] |
| 77 } |
| 78 } |
| OLD | NEW |