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

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

Issue 1042053003: Add calculation of derived features for distillable page model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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/DEPS ('k') | components/dom_distiller/core/page_features.h » ('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 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",
(...skipping 18 matching lines...) Expand all
29 "dom_distiller_constants.h", 29 "dom_distiller_constants.h",
30 "dom_distiller_model.cc", 30 "dom_distiller_model.cc",
31 "dom_distiller_model.h", 31 "dom_distiller_model.h",
32 "dom_distiller_observer.h", 32 "dom_distiller_observer.h",
33 "dom_distiller_service.cc", 33 "dom_distiller_service.cc",
34 "dom_distiller_service.h", 34 "dom_distiller_service.h",
35 "dom_distiller_store.cc", 35 "dom_distiller_store.cc",
36 "dom_distiller_store.h", 36 "dom_distiller_store.h",
37 "feedback_reporter.cc", 37 "feedback_reporter.cc",
38 "feedback_reporter.h", 38 "feedback_reporter.h",
39 "page_features.cc",
40 "page_features.h",
39 "task_tracker.cc", 41 "task_tracker.cc",
40 "task_tracker.h", 42 "task_tracker.h",
41 "url_constants.cc", 43 "url_constants.cc",
42 "url_constants.h", 44 "url_constants.h",
43 "url_utils.cc", 45 "url_utils.cc",
44 "url_utils.h", 46 "url_utils.h",
45 "url_utils_android.cc", 47 "url_utils_android.cc",
46 "url_utils_android.h", 48 "url_utils_android.h",
47 "viewer.cc", 49 "viewer.cc",
48 "viewer.h", 50 "viewer.h",
49 ] 51 ]
50 52
51 public_deps = [ 53 public_deps = [
52 "//components/dom_distiller/core/proto", 54 "//components/dom_distiller/core/proto",
53 "//third_party/dom_distiller_js:proto", 55 "//third_party/dom_distiller_js:proto",
54 ] 56 ]
55 deps = [ 57 deps = [
56 "//base", 58 "//base",
57 "//base:prefs", 59 "//base:prefs",
58 "//components/leveldb_proto", 60 "//components/leveldb_proto",
59 "//components/pref_registry", 61 "//components/pref_registry",
60 "//components/resources", 62 "//components/resources",
61 "//components/strings", 63 "//components/strings",
62 "//net", 64 "//net",
63 "//skia", 65 "//skia",
64 "//sync", 66 "//sync",
67 "//third_party/re2",
65 "//ui/base", 68 "//ui/base",
66 "//url", 69 "//url",
67 ] 70 ]
68 71
69 if (is_android) { 72 if (is_android) {
70 sources += [ 73 sources += [
71 "dom_distiller_service_android.cc", 74 "dom_distiller_service_android.cc",
72 "dom_distiller_service_android.h", 75 "dom_distiller_service_android.h",
73 ] 76 ]
74 deps += [ ":jni_headers" ] 77 deps += [ ":jni_headers" ]
(...skipping 27 matching lines...) Expand all
102 testonly = true 105 testonly = true
103 sources = [ 106 sources = [
104 "article_entry_unittest.cc", 107 "article_entry_unittest.cc",
105 "distilled_content_store_unittest.cc", 108 "distilled_content_store_unittest.cc",
106 "distilled_page_prefs_unittests.cc", 109 "distilled_page_prefs_unittests.cc",
107 "distiller_unittest.cc", 110 "distiller_unittest.cc",
108 "distiller_url_fetcher_unittest.cc", 111 "distiller_url_fetcher_unittest.cc",
109 "dom_distiller_model_unittest.cc", 112 "dom_distiller_model_unittest.cc",
110 "dom_distiller_service_unittest.cc", 113 "dom_distiller_service_unittest.cc",
111 "dom_distiller_store_unittest.cc", 114 "dom_distiller_store_unittest.cc",
115 "page_features_unittest.cc",
112 "task_tracker_unittest.cc", 116 "task_tracker_unittest.cc",
113 "url_utils_unittest.cc", 117 "url_utils_unittest.cc",
114 "viewer_unittest.cc", 118 "viewer_unittest.cc",
115 ] 119 ]
116 120
117 deps = [ 121 deps = [
118 ":core", 122 ":core",
119 ":test_support", 123 ":test_support",
120 "//base", 124 "//base",
121 "//components/leveldb_proto:test_support", 125 "//components/leveldb_proto:test_support",
(...skipping 11 matching lines...) Expand all
133 137
134 generate_jni("jni_headers") { 138 generate_jni("jni_headers") {
135 sources = [ 139 sources = [
136 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java", 140 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java",
137 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java", 141 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java",
138 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java", 142 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java",
139 ] 143 ]
140 jni_package = "dom_distiller_core" 144 jni_package = "dom_distiller_core"
141 } 145 }
142 } 146 }
OLDNEW
« no previous file with comments | « components/dom_distiller/DEPS ('k') | components/dom_distiller/core/page_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698