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

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

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: update model, functionally correct locally Created 5 years, 1 month 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 source_set("core") { 6 source_set("core") {
7 sources = [ 7 sources = [
8 "../android/component_jni_registrar.cc", 8 "../android/component_jni_registrar.cc",
9 "../android/component_jni_registrar.h", 9 "../android/component_jni_registrar.h",
10 "article_attachments_data.cc", 10 "article_attachments_data.cc",
11 "article_attachments_data.h", 11 "article_attachments_data.h",
12 "article_distillation_update.cc", 12 "article_distillation_update.cc",
13 "article_distillation_update.h", 13 "article_distillation_update.h",
14 "article_entry.cc", 14 "article_entry.cc",
15 "article_entry.h", 15 "article_entry.h",
16 "distillable_page_detector.cc", 16 "distillable_page_detector.cc",
17 "distillable_page_detector.h", 17 "distillable_page_detector.h",
18 "distilled_content_store.cc", 18 "distilled_content_store.cc",
19 "distilled_content_store.h", 19 "distilled_content_store.h",
20 "distilled_page_prefs.cc", 20 "distilled_page_prefs.cc",
21 "distilled_page_prefs.h", 21 "distilled_page_prefs.h",
22 "distilled_page_prefs_android.cc", 22 "distilled_page_prefs_android.cc",
23 "distilled_page_prefs_android.h", 23 "distilled_page_prefs_android.h",
24 "distiller.cc", 24 "distiller.cc",
25 "distiller.h", 25 "distiller.h",
26 "distiller_export.h",
26 "distiller_page.cc", 27 "distiller_page.cc",
27 "distiller_page.h", 28 "distiller_page.h",
28 "distiller_url_fetcher.cc", 29 "distiller_url_fetcher.cc",
29 "distiller_url_fetcher.h", 30 "distiller_url_fetcher.h",
30 "dom_distiller_constants.cc", 31 "dom_distiller_constants.cc",
31 "dom_distiller_constants.h", 32 "dom_distiller_constants.h",
32 "dom_distiller_features.cc", 33 "dom_distiller_features.cc",
33 "dom_distiller_features.h", 34 "dom_distiller_features.h",
34 "dom_distiller_model.cc", 35 "dom_distiller_model.cc",
35 "dom_distiller_model.h", 36 "dom_distiller_model.h",
(...skipping 17 matching lines...) Expand all
53 "url_constants.cc", 54 "url_constants.cc",
54 "url_constants.h", 55 "url_constants.h",
55 "url_utils.cc", 56 "url_utils.cc",
56 "url_utils.h", 57 "url_utils.h",
57 "url_utils_android.cc", 58 "url_utils_android.cc",
58 "url_utils_android.h", 59 "url_utils_android.h",
59 "viewer.cc", 60 "viewer.cc",
60 "viewer.h", 61 "viewer.h",
61 ] 62 ]
62 63
64 defines = [ "DISTILLER_IMPLEMENTATION" ]
65
63 public_deps = [ 66 public_deps = [
64 "//components/dom_distiller/core/proto", 67 "//components/dom_distiller/core/proto",
65 "//third_party/dom_distiller_js:proto", 68 "//third_party/dom_distiller_js:proto",
66 ] 69 ]
67 deps = [ 70 deps = [
68 "//base", 71 "//base",
69 "//base:prefs", 72 "//base:prefs",
70 "//components/leveldb_proto", 73 "//components/leveldb_proto",
71 "//components/pref_registry", 74 "//components/pref_registry",
72 "//components/resources", 75 "//components/resources",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 157
155 generate_jni("jni_headers") { 158 generate_jni("jni_headers") {
156 sources = [ 159 sources = [
157 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java", 160 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java",
158 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java", 161 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java",
159 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java", 162 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java",
160 ] 163 ]
161 jni_package = "dom_distiller_core" 164 jni_package = "dom_distiller_core"
162 } 165 }
163 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698