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

Unified Diff: components/memory_coordinator/android/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
Index: components/memory_coordinator/android/BUILD.gn
diff --git a/components/url_formatter/android/BUILD.gn b/components/memory_coordinator/android/BUILD.gn
similarity index 52%
copy from components/url_formatter/android/BUILD.gn
copy to components/memory_coordinator/android/BUILD.gn
index b4d97e8c1a119dae4a5d578628b7e5100bccc17a..7dc224837575d36ee0e3efc9e6062fc810f28fb3 100644
--- a/components/url_formatter/android/BUILD.gn
+++ b/components/memory_coordinator/android/BUILD.gn
@@ -4,20 +4,16 @@
import("//build/config/android/rules.gni")
-android_library("url_formatter_java") {
- deps = [
- "//base:base_java",
- ]
+_jni_sources = [ "java/src/org/chromium/components/memory_coordinator/MemoryStateListener.java" ]
- java_files = [
- "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
- ]
+generate_jni("jni_headers") {
+ sources = _jni_sources
+ jni_package = "memory_coordinator"
}
-generate_jni("jni_headers") {
- sources = [
- "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
+android_library("memory_coordinator_java") {
+ java_files = _jni_sources
+ deps = [
+ "//base:base_java",
]
-
- jni_package = "url_formatter"
}

Powered by Google App Engine
This is Rietveld 408576698