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

Side by Side Diff: components/dom_distiller/core/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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 # GYP version: components/dom_distiller.gypi:dom_distiller_core 5 # GYP version: components/dom_distiller.gypi:dom_distiller_core
6 static_library("core") { 6 static_library("core") {
7 sources = [ 7 sources = [
8 "article_attachments_data.cc", 8 "article_attachments_data.cc",
9 "article_attachments_data.h", 9 "article_attachments_data.h",
10 "article_distillation_update.cc", 10 "article_distillation_update.cc",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "//components/variations", 73 "//components/variations",
74 "//net", 74 "//net",
75 "//skia", 75 "//skia",
76 "//third_party/re2", 76 "//third_party/re2",
77 "//ui/base", 77 "//ui/base",
78 "//url", 78 "//url",
79 ] 79 ]
80 80
81 if (is_android) { 81 if (is_android) {
82 sources += [ 82 sources += [
83 "android/core_jni_registrar.cc",
84 "android/core_jni_registrar.h",
83 "dom_distiller_service_android.cc", 85 "dom_distiller_service_android.cc",
84 "dom_distiller_service_android.h", 86 "dom_distiller_service_android.h",
85 ] 87 ]
86 deps += [ ":jni_headers" ] 88 deps += [ ":jni_headers" ]
87 } 89 }
88 } 90 }
89 91
90 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support 92 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support
91 static_library("test_support") { 93 static_library("test_support") {
92 testonly = true 94 testonly = true
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 "//ui/base", 161 "//ui/base",
160 "//url", 162 "//url",
161 ] 163 ]
162 } 164 }
163 165
164 if (is_android) { 166 if (is_android) {
165 import("//build/config/android/rules.gni") 167 import("//build/config/android/rules.gni")
166 168
167 generate_jni("jni_headers") { 169 generate_jni("jni_headers") {
168 sources = [ 170 sources = [
169 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java", 171 "android/java/src/org/chromium/components/dom_distiller/core/DistilledPage Prefs.java",
170 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java", 172 "android/java/src/org/chromium/components/dom_distiller/core/DomDistillerS ervice.java",
171 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java", 173 "android/java/src/org/chromium/components/dom_distiller/core/DomDistillerU rlUtils.java",
172 ] 174 ]
173 jni_package = "dom_distiller_core" 175 jni_package = "dom_distiller_core"
174 } 176 }
175 } 177 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698