OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("common") { | 5 component("common") { |
6 output_name = "memory_coordinator_common" | 6 output_name = "memory_coordinator_common" |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "client_registry.cc", | 9 "client_registry.cc", |
10 "client_registry.h", | 10 "client_registry.h", |
11 "memory_coordinator_client.h", | 11 "memory_coordinator_client.h", |
12 "memory_coordinator_export.h", | 12 "memory_coordinator_export.h", |
13 "memory_coordinator_features.cc", | 13 "memory_coordinator_features.cc", |
14 "memory_coordinator_features.h", | 14 "memory_coordinator_features.h", |
15 ] | 15 ] |
16 | 16 |
17 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] | 17 defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 ] | 21 ] |
22 | 22 |
23 public_deps = [ | 23 public_deps = [ |
24 "//components/memory_coordinator/public/interfaces", | 24 "//components/memory_coordinator/public/interfaces", |
25 ] | 25 ] |
26 | |
27 if (is_android) { | |
28 sources += [ | |
29 "//components/memory_coordinator/android/component_jni_registrar.cc", | |
30 "//components/memory_coordinator/android/component_jni_registrar.h", | |
31 "//components/memory_coordinator/android/memory_state_listener_android.cc" , | |
32 "//components/memory_coordinator/android/memory_state_listener_android.h", | |
33 ] | |
34 deps += [ "//components/memory_coordinator/android:jni_headers" ] | |
35 } | |
michaelbai
2016/08/29 16:43:23
Since all those files is Android specific, It is b
bashi
2016/08/30 00:47:31
Done.
| |
26 } | 36 } |
OLD | NEW |