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("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 ] |
11 java_files = [ | 11 java_files = [ |
12 "java/src/org/chromium/components/dom_distiller/core/DomDistillerService.jav
a", | 12 "java/src/org/chromium/components/dom_distiller/core/DomDistillerService.jav
a", |
13 "java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.ja
va", | 13 "java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.ja
va", |
14 "java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java
", | 14 "java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java
", |
15 ] | 15 ] |
16 | 16 |
17 srcjar_deps = [ | 17 srcjar_deps = [ |
18 ":dom_distiller_core_font_family_javagen", | 18 ":dom_distiller_core_font_family_javagen", |
19 ":dom_distiller_core_theme_javagen", | 19 ":dom_distiller_core_theme_javagen", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 java_cpp_template("dom_distiller_core_font_family_javagen") { | 23 java_cpp_template("dom_distiller_core_font_family_javagen") { |
24 package_name = "org/chromium/components/dom_distiller/core" | 24 package_path = "org/chromium/components/dom_distiller/core" |
25 sources = [ | 25 sources = [ |
26 "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", | 26 "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", |
27 ] | 27 ] |
28 inputs = [ | 28 inputs = [ |
29 "../font_family_list.h", | 29 "../font_family_list.h", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 java_cpp_template("dom_distiller_core_theme_javagen") { | 33 java_cpp_template("dom_distiller_core_theme_javagen") { |
34 package_name = "org/chromium/components/dom_distiller/core" | 34 package_path = "org/chromium/components/dom_distiller/core" |
35 sources = [ | 35 sources = [ |
36 "java/src/org/chromium/components/dom_distiller/core/Theme.template", | 36 "java/src/org/chromium/components/dom_distiller/core/Theme.template", |
37 ] | 37 ] |
38 inputs = [ | 38 inputs = [ |
39 "../theme_list.h", | 39 "../theme_list.h", |
40 ] | 40 ] |
41 } | 41 } |
OLD | NEW |