# Copyright 2014 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") android_library("dom_distiller_core_java") { deps = [ "//base:base_java", ] java_files = [ "java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java", "java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java", "java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java", ] srcjar_deps = [ ":dom_distiller_core_font_family_javagen", ":dom_distiller_core_theme_javagen", ] } # GYP: //components/dom_distiller.gypi:dom_distiller_java android_library("dom_distiller_content_java") { deps = [ ":dom_distiller_core_java", "//base:base_java", "//content/public/android:content_java", ] java_files = [ "java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java" ] } # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java java_cpp_template("dom_distiller_core_font_family_javagen") { package_name = "org/chromium/components/dom_distiller/core" sources = [ "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", ] inputs = [ "../core/font_family_list.h", ] } # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java java_cpp_template("dom_distiller_core_theme_javagen") { package_name = "org/chromium/components/dom_distiller/core" sources = [ "java/src/org/chromium/components/dom_distiller/core/Theme.template", ] inputs = [ "../core/theme_list.h", ] } generate_jni("jni_headers") { sources = [ "java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java", ] jni_package = "dom_distiller_content" }