| 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 component("resource_coordinator_cpp") { | 5 component("resource_coordinator_cpp") { |
| 6 sources = [ | 6 sources = [ |
| 7 "coordination_unit_id.cc", | |
| 8 "coordination_unit_id.h", | |
| 9 "coordination_unit_types.h", | |
| 10 "memory/coordinator.h", | 7 "memory/coordinator.h", |
| 11 "memory/process_local_dump_manager_impl.cc", | 8 "memory/process_local_dump_manager_impl.cc", |
| 12 "memory/process_local_dump_manager_impl.h", | 9 "memory/process_local_dump_manager_impl.h", |
| 13 "resource_coordinator_interface.cc", | |
| 14 "resource_coordinator_interface.h", | |
| 15 ] | 10 ] |
| 16 | 11 |
| 17 defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION" ] | 12 defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_IMPLEMENTATION" ] |
| 18 | 13 |
| 19 deps = [ | 14 deps = [ |
| 20 ":struct_traits", | 15 ":struct_traits", |
| 21 ] | 16 ] |
| 22 | 17 |
| 23 public_deps = [ | 18 public_deps = [ |
| 24 "//base", | 19 "//base", |
| 25 "//mojo/public/cpp/bindings", | 20 "//mojo/public/cpp/bindings", |
| 26 "//services/resource_coordinator/public/interfaces:interfaces_internal", | 21 "//services/resource_coordinator/public/interfaces:interfaces_internal", |
| 27 "//services/service_manager/public/cpp", | 22 "//services/service_manager/public/cpp", |
| 28 "//third_party/smhasher:murmurhash2", | |
| 29 ] | 23 ] |
| 30 | 24 |
| 31 allow_circular_includes_from = [ "//services/resource_coordinator/public/inter
faces:interfaces_internal" ] | 25 allow_circular_includes_from = [ "//services/resource_coordinator/public/inter
faces:interfaces_internal" ] |
| 32 } | 26 } |
| 33 | 27 |
| 34 source_set("struct_traits") { | 28 source_set("struct_traits") { |
| 35 sources = [ | 29 sources = [ |
| 36 "coordination_unit_struct_traits.cc", | |
| 37 "coordination_unit_struct_traits.h", | |
| 38 "memory/memory_instrumentation_struct_traits.cc", | 30 "memory/memory_instrumentation_struct_traits.cc", |
| 39 "memory/memory_instrumentation_struct_traits.h", | 31 "memory/memory_instrumentation_struct_traits.h", |
| 40 ] | 32 ] |
| 41 | 33 |
| 42 defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION" ] | 34 defines = [ "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_IMPLEMENTATION" ] |
| 43 | 35 |
| 44 public_deps = [ | 36 public_deps = [ |
| 45 "//base", | 37 "//base", |
| 46 "//services/resource_coordinator/public/interfaces:interfaces_internal", | 38 "//services/resource_coordinator/public/interfaces:interfaces_internal", |
| 47 ] | 39 ] |
| 48 } | 40 } |
| OLD | NEW |