| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//services/service_manager/public/cpp/service.gni") | |
| 6 import("//services/service_manager/public/service_manifest.gni") | |
| 7 | |
| 8 source_set("lib") { | |
| 9 sources = [ | |
| 10 "face_detection_provider_impl.h", | |
| 11 "shape_detection_service.cc", | |
| 12 "shape_detection_service.h", | |
| 13 ] | |
| 14 | |
| 15 if (is_mac) { | |
| 16 sources += [ | |
| 17 "face_detection_impl_mac.h", | |
| 18 "face_detection_impl_mac.mm", | |
| 19 ] | |
| 20 } else { | |
| 21 sources += [ "face_detection_provider_impl.cc" ] | |
| 22 } | |
| 23 | |
| 24 deps = [ | |
| 25 "//mojo/public/cpp/bindings", | |
| 26 "//ui/gfx", | |
| 27 "//ui/gfx/geometry", | |
| 28 ] | |
| 29 | |
| 30 public_deps = [ | |
| 31 "//base", | |
| 32 "//media/capture", | |
| 33 "//services/service_manager/public/cpp", | |
| 34 "//services/shape_detection/public/interfaces", | |
| 35 ] | |
| 36 | |
| 37 data_deps = [ | |
| 38 ":manifest", | |
| 39 ] | |
| 40 } | |
| 41 | |
| 42 service_manifest("manifest") { | |
| 43 name = "shape_detection" | |
| 44 source = "manifest.json" | |
| 45 } | |
| OLD | NEW |