Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / dom_distiller / android / BUILD.gn
blob833b5da65134cf84c761faefc7780f06dffb140f
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.
5 import("//build/config/android/rules.gni")
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.java",
13     "java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java",
14     "java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java",
15   ]
17   srcjar_deps = [
18     ":dom_distiller_core_font_family_javagen",
19     ":dom_distiller_core_theme_javagen",
20   ]
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/DistillablePageUtils.java" ]
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   ]
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   ]