| 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") |
| 6 import("//services/service_manager/public/service_manifest.gni") |
| 7 |
| 5 source_set("lib") { | 8 source_set("lib") { |
| 6 sources = [ | 9 sources = [ |
| 10 "coordination_unit.cc", |
| 11 "coordination_unit.h", |
| 12 "coordination_unit_provider.cc", |
| 13 "coordination_unit_provider.h", |
| 7 "memory/coordinator/coordinator_impl.cc", | 14 "memory/coordinator/coordinator_impl.cc", |
| 8 "memory/coordinator/coordinator_impl.h", | 15 "memory/coordinator/coordinator_impl.h", |
| 16 "resource_coordinator_service.cc", |
| 17 "resource_coordinator_service.h", |
| 9 ] | 18 ] |
| 10 | 19 |
| 11 public_deps = [ | 20 public_deps = [ |
| 12 "//base", | 21 "//base", |
| 13 "//services/resource_coordinator/public/cpp", | 22 "//services/resource_coordinator/public/cpp", |
| 14 "//services/resource_coordinator/public/interfaces", | 23 "//services/resource_coordinator/public/interfaces", |
| 15 ] | 24 ] |
| 25 |
| 26 data_deps = [ |
| 27 ":manifest", |
| 28 ] |
| 29 } |
| 30 |
| 31 service_manifest("manifest") { |
| 32 name = "resource_coordinator" |
| 33 source = "manifest.json" |
| 16 } | 34 } |
| 17 | 35 |
| 18 source_set("tests") { | 36 source_set("tests") { |
| 19 testonly = true | 37 testonly = true |
| 20 | 38 |
| 21 sources = [ | 39 sources = [ |
| 22 "memory/coordinator/coordinator_impl_unittest.cc", | 40 "memory/coordinator/coordinator_impl_unittest.cc", |
| 23 ] | 41 ] |
| 24 | 42 |
| 25 deps = [ | 43 deps = [ |
| 26 ":lib", | 44 ":lib", |
| 27 "//base", | 45 "//base", |
| 28 "//mojo/public/cpp/bindings", | 46 "//mojo/public/cpp/bindings", |
| 29 "//testing/gtest", | 47 "//testing/gtest", |
| 30 ] | 48 ] |
| 31 } | 49 } |
| OLD | NEW |