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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/memory_coordinator/common/BUILD.gn
diff --git a/components/memory_coordinator/common/BUILD.gn b/components/memory_coordinator/common/BUILD.gn
index 856fc60c1c85aac0b09640c3dc9d55e9ff123b04..037c37b1108da4cdecd591b6da03b50134057019 100644
--- a/components/memory_coordinator/common/BUILD.gn
+++ b/components/memory_coordinator/common/BUILD.gn
@@ -23,4 +23,14 @@ component("common") {
public_deps = [
"//components/memory_coordinator/public/interfaces",
]
+
+ if (is_android) {
+ sources += [
+ "//components/memory_coordinator/android/component_jni_registrar.cc",
+ "//components/memory_coordinator/android/component_jni_registrar.h",
+ "//components/memory_coordinator/android/memory_state_listener_android.cc",
+ "//components/memory_coordinator/android/memory_state_listener_android.h",
+ ]
+ deps += [ "//components/memory_coordinator/android:jni_headers" ]
+ }
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.
}
« 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