OLD | NEW |
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 } | |
OLD | NEW |