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

Side by Side 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, 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 android_library("url_formatter_java") { 7 _jni_sources = [ "java/src/org/chromium/components/memory_coordinator/MemoryStat eListener.java" ]
8
9 generate_jni("jni_headers") {
10 sources = _jni_sources
11 jni_package = "memory_coordinator"
12 }
13
14 android_library("memory_coordinator_java") {
15 java_files = _jni_sources
8 deps = [ 16 deps = [
9 "//base:base_java", 17 "//base:base_java",
10 ] 18 ]
11
12 java_files = [
13 "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
14 ]
15 } 19 }
16
17 generate_jni("jni_headers") {
18 sources = [
19 "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
20 ]
21
22 jni_package = "url_formatter"
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698