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") | |
8 | 7 |
9 source_set("lib") { | 8 source_set("lib") { |
10 sources = [ | 9 sources = [ |
11 "barcode_detection_impl.h", | 10 "barcode_detection_impl.h", |
12 "face_detection_provider_impl.h", | 11 "face_detection_provider_impl.h", |
13 "shape_detection_service.cc", | 12 "shape_detection_service.cc", |
14 "shape_detection_service.h", | 13 "shape_detection_service.h", |
15 ] | 14 ] |
16 | 15 |
17 if (is_mac) { | 16 if (is_mac) { |
(...skipping 24 matching lines...) Expand all Loading... |
42 "//media/capture", | 41 "//media/capture", |
43 "//services/service_manager/public/cpp", | 42 "//services/service_manager/public/cpp", |
44 "//services/shape_detection/public/interfaces", | 43 "//services/shape_detection/public/interfaces", |
45 ] | 44 ] |
46 } | 45 } |
47 | 46 |
48 service_manifest("manifest") { | 47 service_manifest("manifest") { |
49 name = "shape_detection" | 48 name = "shape_detection" |
50 source = "manifest.json" | 49 source = "manifest.json" |
51 } | 50 } |
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 ] | |
76 } | |
77 } | |
OLD | NEW |