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