Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 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_impl.cc", | |
| 11 "face_detection_impl.h", | |
| 12 "shape_detection_service.cc", | |
| 13 "shape_detection_service.h", | |
| 14 ] | |
| 15 | |
| 16 if (is_mac) { | |
| 17 sources -= [ "face_detection_impl.cc" ] | |
| 18 sources += [ | |
| 19 "face_detection_impl_mac.h", | |
| 20 "face_detection_impl_mac.mm", | |
| 21 ] | |
| 22 } | |
|
Ken Rockot(use gerrit already)
2016/12/05 20:56:52
nit: Instead of subtracting face_detection_impl.cc
xianglu
2016/12/05 22:13:22
Done.
| |
| 23 | |
| 24 deps = [ | |
| 25 "//base", | |
| 26 "//mojo/public/cpp/bindings", | |
| 27 "//ui/gfx", | |
| 28 "//ui/gfx/geometry", | |
| 29 ] | |
| 30 | |
| 31 public_deps = [ | |
|
Ken Rockot(use gerrit already)
2016/12/05 20:56:52
nit: //base should be in public_deps too (technica
xianglu
2016/12/05 22:13:22
Done.
| |
| 32 "//services/service_manager/public/cpp", | |
| 33 "//services/shape_detection/public/interfaces", | |
| 34 "//third_party/WebKit/public:mojo_bindings", | |
| 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 |