Chromium Code Reviews| 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") | |
| 7 | 8 |
| 8 source_set("lib") { | 9 source_set("lib") { |
| 9 sources = [ | 10 sources = [ |
| 10 "barcode_detection_impl.h", | 11 "barcode_detection_impl.h", |
| 11 "face_detection_provider_impl.h", | 12 "face_detection_provider_impl.h", |
| 12 "shape_detection_service.cc", | 13 "shape_detection_service.cc", |
| 13 "shape_detection_service.h", | 14 "shape_detection_service.h", |
| 14 ] | 15 ] |
| 15 | 16 |
| 16 if (is_mac) { | 17 if (is_mac) { |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 41 "//media/capture", | 42 "//media/capture", |
| 42 "//services/service_manager/public/cpp", | 43 "//services/service_manager/public/cpp", |
| 43 "//services/shape_detection/public/interfaces", | 44 "//services/shape_detection/public/interfaces", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 service_manifest("manifest") { | 48 service_manifest("manifest") { |
| 48 name = "shape_detection" | 49 name = "shape_detection" |
| 49 source = "manifest.json" | 50 source = "manifest.json" |
| 50 } | 51 } |
| 52 | |
| 53 test("shape_detection_unittests") { | |
| 54 if (is_mac) { | |
|
Robert Sesek
2017/02/10 20:24:37
This may complain on non-Mac about an empty target
mcasas
2017/02/10 21:05:06
Done.
| |
| 55 sources = [ | |
| 56 "barcode_detection_impl_mac_unittest.mm", | |
| 57 "face_detection_impl_mac_unittest.mm", | |
| 58 ] | |
| 59 | |
| 60 libs = [ | |
| 61 "CoreFoundation.framework", | |
| 62 "CoreGraphics.framework", | |
| 63 "QuartzCore.framework", | |
| 64 ] | |
| 65 } | |
| 66 | |
| 67 deps = [ | |
| 68 ":lib", | |
| 69 "//base", | |
| 70 "//mojo/edk/test:run_all_unittests", | |
| 71 "//skia", | |
| 72 "//testing/gmock", | |
| 73 "//testing/gtest", | |
| 74 "//ui/gfx", | |
| 75 ] | |
| 76 } | |
| OLD | NEW |