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