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