Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: services/shape_detection/BUILD.gn

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: rsesek@ comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7
8 source_set("lib") { 8 source_set("lib") {
9 sources = [ 9 sources = [
10 "barcode_detection_impl.h",
10 "face_detection_provider_impl.h", 11 "face_detection_provider_impl.h",
11 "shape_detection_service.cc", 12 "shape_detection_service.cc",
12 "shape_detection_service.h", 13 "shape_detection_service.h",
13 ] 14 ]
14 15
15 if (is_mac) { 16 if (is_mac) {
16 sources += [ 17 sources += [
18 "barcode_detection_impl_mac.h",
19 "barcode_detection_impl_mac.mm",
20 "detection_utils_mac.h",
21 "detection_utils_mac.mm",
17 "face_detection_impl_mac.h", 22 "face_detection_impl_mac.h",
18 "face_detection_impl_mac.mm", 23 "face_detection_impl_mac.mm",
19 ] 24 ]
25 libs = [ "QuartzCore.framework" ]
20 } else { 26 } else {
21 sources += [ "face_detection_provider_impl.cc" ] 27 sources += [
28 "barcode_detection_impl.cc",
29 "face_detection_provider_impl.cc",
30 ]
22 } 31 }
23 32
24 deps = [ 33 deps = [
25 "//mojo/public/cpp/bindings", 34 "//mojo/public/cpp/bindings",
26 "//ui/gfx", 35 "//ui/gfx",
27 "//ui/gfx/geometry", 36 "//ui/gfx/geometry",
28 ] 37 ]
29 38
30 public_deps = [ 39 public_deps = [
31 "//base", 40 "//base",
32 "//media/capture", 41 "//media/capture",
33 "//services/service_manager/public/cpp", 42 "//services/service_manager/public/cpp",
34 "//services/shape_detection/public/interfaces", 43 "//services/shape_detection/public/interfaces",
35 ] 44 ]
36 } 45 }
37 46
38 service_manifest("manifest") { 47 service_manifest("manifest") {
39 name = "shape_detection" 48 name = "shape_detection"
40 source = "manifest.json" 49 source = "manifest.json"
41 } 50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698