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

Side by Side Diff: components/dom_distiller/core/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 | « components/dom_distiller/core/BUILD.gn ('k') | components/dom_distiller/core/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
1 # Copyright 2014 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 # 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 23 # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java
34 java_cpp_template("dom_distiller_core_font_family_javagen") { 24 java_cpp_template("dom_distiller_core_font_family_javagen") {
35 package_name = "org/chromium/components/dom_distiller/core" 25 package_name = "org/chromium/components/dom_distiller/core"
36 sources = [ 26 sources = [
37 "java/src/org/chromium/components/dom_distiller/core/FontFamily.template", 27 "java/src/org/chromium/components/dom_distiller/core/FontFamily.template",
38 ] 28 ]
39 inputs = [ 29 inputs = [
40 "../core/font_family_list.h", 30 "../font_family_list.h",
41 ] 31 ]
42 } 32 }
43 33
44 # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java 34 # GYP: //components/dom_distiller.gypi:dom_distiller_core_font_family_java
45 java_cpp_template("dom_distiller_core_theme_javagen") { 35 java_cpp_template("dom_distiller_core_theme_javagen") {
46 package_name = "org/chromium/components/dom_distiller/core" 36 package_name = "org/chromium/components/dom_distiller/core"
47 sources = [ 37 sources = [
48 "java/src/org/chromium/components/dom_distiller/core/Theme.template", 38 "java/src/org/chromium/components/dom_distiller/core/Theme.template",
49 ] 39 ]
50 inputs = [ 40 inputs = [
51 "../core/theme_list.h", 41 "../theme_list.h",
52 ] 42 ]
53 } 43 }
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 | « components/dom_distiller/core/BUILD.gn ('k') | components/dom_distiller/core/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698