| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/shell/public/cpp/service.gni") | 5 import("//services/shell/public/cpp/service.gni") |
| 6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/shell/public/service_manifest.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 service("video_capture") { | 9 service("video_capture") { |
| 10 sources = [ | 10 sources = [ |
| 11 "service_configurator_impl.cc", |
| 12 "service_configurator_impl.h", |
| 11 "service_main.cc", | 13 "service_main.cc", |
| 12 "video_capture_service.cc", | 14 "video_capture_service.cc", |
| 13 "video_capture_service.h", | 15 "video_capture_service.h", |
| 14 ] | 16 ] |
| 15 | 17 |
| 16 deps = [ | 18 deps = [ |
| 17 ":lib", | 19 ":lib", |
| 18 "//mojo/public/cpp/system", | 20 "//mojo/public/cpp/system", |
| 19 "//services/shell/public/cpp", | 21 "//services/shell/public/cpp", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 data_deps = [ | 24 data_deps = [ |
| 23 ":manifest", | 25 ":manifest", |
| 24 ] | 26 ] |
| 25 } | 27 } |
| 26 | 28 |
| 27 service_manifest("manifest") { | 29 service_manifest("manifest") { |
| 28 name = "video_capture" | 30 name = "video_capture" |
| 29 source = "service_manifest.json" | 31 source = "service_manifest.json" |
| 30 } | 32 } |
| 31 | 33 |
| 32 source_set("lib") { | 34 source_set("lib") { |
| 33 sources = [ | 35 sources = [ |
| 34 "video_capture_device_client_impl.cc", | 36 "video_capture_device_access_impl.cc", |
| 35 "video_capture_device_client_impl.h", | 37 "video_capture_device_access_impl.h", |
| 36 "video_capture_device_factory_impl.cc", | 38 "video_capture_device_factory_impl.cc", |
| 37 "video_capture_device_factory_impl.h", | 39 "video_capture_device_factory_impl.h", |
| 38 "video_capture_device_impl.cc", | |
| 39 "video_capture_device_impl.h", | |
| 40 ] | 40 ] |
| 41 | 41 |
| 42 deps = [ | 42 deps = [ |
| 43 "//base", | 43 "//base", |
| 44 "//mojo/common:common_base", | 44 "//mojo/common:common_base", |
| 45 "//services/shell/public/cpp", | 45 "//services/shell/public/cpp", |
| 46 "//services/video_capture/public/interfaces", | 46 "//services/video_capture/public/interfaces", |
| 47 ] | 47 ] |
| 48 } | 48 } |
| 49 | 49 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 66 | 66 |
| 67 data_deps = [ | 67 data_deps = [ |
| 68 ":unittest_manifest", | 68 ":unittest_manifest", |
| 69 ] | 69 ] |
| 70 } | 70 } |
| 71 | 71 |
| 72 service_manifest("unittest_manifest") { | 72 service_manifest("unittest_manifest") { |
| 73 name = "video_capture_unittests" | 73 name = "video_capture_unittests" |
| 74 source = "service_unittest_manifest.json" | 74 source = "service_unittest_manifest.json" |
| 75 } | 75 } |
| OLD | NEW |