OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("dom_distiller_core_java") { | 7 android_library("dom_distiller_core_java") { |
8 deps = [ | 8 deps = [ |
9 "//base:base_java", | 9 "//base:base_java", |
10 ] | 10 ] |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 java_cpp_template("dom_distiller_core_theme_javagen") { | 45 java_cpp_template("dom_distiller_core_theme_javagen") { |
46 package_name = "org/chromium/components/dom_distiller/core" | 46 package_name = "org/chromium/components/dom_distiller/core" |
47 sources = [ | 47 sources = [ |
48 "java/src/org/chromium/components/dom_distiller/core/Theme.template", | 48 "java/src/org/chromium/components/dom_distiller/core/Theme.template", |
49 ] | 49 ] |
50 inputs = [ | 50 inputs = [ |
51 "../core/theme_list.h", | 51 "../core/theme_list.h", |
52 ] | 52 ] |
53 } | 53 } |
54 | 54 |
55 source_set("jni_registrar") { | 55 generate_jni("jni_headers") { |
56 sources = [ | 56 sources = [ |
57 "component_jni_registrar.cc", | 57 "java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils
.java", |
58 "component_jni_registrar.h", | |
59 ] | 58 ] |
60 | 59 jni_package = "dom_distiller_content" |
61 deps = [ | |
62 "//base", | |
63 "//components/dom_distiller/content:content_browser", | |
64 ] | |
65 } | 60 } |
OLD | NEW |