Chromium Code Reviews| Index: services/shape_detection/BUILD.gn |
| diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e5b3639b3a1d6736fcc347f32b0e3face040f293 |
| --- /dev/null |
| +++ b/services/shape_detection/BUILD.gn |
| @@ -0,0 +1,45 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//services/service_manager/public/cpp/service.gni") |
| +import("//services/service_manager/public/service_manifest.gni") |
| + |
| +source_set("lib") { |
| + sources = [ |
| + "face_detection_impl.cc", |
| + "face_detection_impl.h", |
| + "shape_detection_service.cc", |
| + "shape_detection_service.h", |
| + ] |
| + |
| + if (is_mac) { |
| + sources -= [ "face_detection_impl.cc" ] |
| + sources += [ |
| + "face_detection_impl_mac.h", |
| + "face_detection_impl_mac.mm", |
| + ] |
| + } |
| + |
| + deps = [ |
| + "//base", |
| + "//mojo/public/cpp/bindings", |
| + "//ui/gfx", |
| + "//ui/gfx/geometry", |
| + ] |
| + |
| + public_deps = [ |
| + "//services/service_manager/public/cpp", |
| + "//services/shape_detection/public/interfaces", |
| + "//third_party/WebKit/public:mojo_bindings__generator", |
|
yzshen1
2016/12/01 21:28:26
Could you please explain why you need to depend on
xianglu
2016/12/02 18:11:24
The bots used to fail with error like "invalid inc
|
| + ] |
| + |
| + data_deps = [ |
| + ":manifest", |
| + ] |
| +} |
| + |
| +service_manifest("manifest") { |
| + name = "shape_detection" |
| + source = "manifest.json" |
| +} |