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

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: native 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/BUILD.gn ('k') | components/memory_coordinator/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/memory_coordinator/android/BUILD.gn
diff --git a/components/memory_coordinator/android/BUILD.gn b/components/memory_coordinator/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..1a2f7a654c7b57873b2a36ad85fc14c3b2d4dd36
--- /dev/null
+++ b/components/memory_coordinator/android/BUILD.gn
@@ -0,0 +1,37 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+
+_jni_sources = [ "java/src/org/chromium/components/memory_coordinator/MemoryStateListener.java" ]
+
+generate_jni("jni_headers") {
+ sources = _jni_sources
+ jni_package = "memory_coordinator"
+}
+
+android_library("memory_coordinator_java") {
+ java_files = _jni_sources
+ deps = [
+ "//base:base_java",
+ ]
+}
+
+component("android") {
+ output_name = "memory_coordinator_android"
+
+ sources = [
+ "component_jni_registrar.cc",
+ "component_jni_registrar.h",
+ "memory_state_listener_android.cc",
+ "memory_state_listener_android.h",
+ ]
+
+ defines = [ "MEMORY_COORDINATOR_IMPLEMENTATION" ]
+
+ deps = [
+ ":jni_headers",
+ "//base",
+ ]
+}
« no previous file with comments | « components/BUILD.gn ('k') | components/memory_coordinator/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698