| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/android/rules.gni") | |
| 6 | |
| 7 android_library("dom_distiller_core_java") { | |
| 8 deps = [ | |
| 9 "//base:base_java", | |
| 10 ] | |
| 11 java_files = [ | |
| 12 "java/src/org/chromium/components/dom_distiller/core/DomDistillerService.jav
a", | |
| 13 "java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.ja
va", | |
| 14 "java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java
", | |
| 15 ] | |
| 16 | |
| 17 srcjar_deps = [ | |
| 18 ":dom_distiller_core_font_family_javagen", | |
| 19 ":dom_distiller_core_theme_javagen", | |
| 20 ] | |
| 21 } | |
| 22 | |
| 23 # GYP: //components/dom_distiller.gypi:dom_distiller_java | |
| 24 android_library("dom_distiller_content_java") { | |
| 25 deps = [ | |
| 26 ":dom_distiller_core_java", | |
| 27 "//base:base_java", | |
| 28 "//content/public/android:content_java", | |
| 29 ] | |
| 30 java_files = [ "java/src/org/chromium/components/dom_distiller/content/Distill
ablePageUtils.java" ] | |
| 31 } | |
| 32 | |
| 33 # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java | |
| 34 java_cpp_template("dom_distiller_core_font_family_javagen") { | |
| 35 package_name = "org/chromium/components/dom_distiller/core" | |
| 36 sources = [ | |
| 37 "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", | |
| 38 ] | |
| 39 inputs = [ | |
| 40 "../core/font_family_list.h", | |
| 41 ] | |
| 42 } | |
| 43 | |
| 44 # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java | |
| 45 java_cpp_template("dom_distiller_core_theme_javagen") { | |
| 46 package_name = "org/chromium/components/dom_distiller/core" | |
| 47 sources = [ | |
| 48 "java/src/org/chromium/components/dom_distiller/core/Theme.template", | |
| 49 ] | |
| 50 inputs = [ | |
| 51 "../core/theme_list.h", | |
| 52 ] | |
| 53 } | |
| 54 | |
| 55 generate_jni("jni_headers") { | |
| 56 sources = [ | |
| 57 "java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils
.java", | |
| 58 ] | |
| 59 jni_package = "dom_distiller_content" | |
| 60 } | |
| OLD | NEW |