Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: components/memory_coordinator/common/BUILD.gn

Issue 2259743002: Add MemoryStateListenerAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix dependency and update test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW
« no previous file with comments | « components/memory_coordinator/child/child_memory_coordinator_impl_unittest.cc ('k') | content/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698