| 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",
|
| + ]
|
| +}
|
|
|