Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: components/dom_distiller/android/BUILD.gn

Issue 2252963004: Remove dom_distiller core dependency on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test deps Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | components/dom_distiller/android/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | components/dom_distiller/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698