OLD | NEW |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "//components/dom_distiller/core/proto", | 62 "//components/dom_distiller/core/proto", |
63 "//third_party/dom_distiller_js:proto", | 63 "//third_party/dom_distiller_js:proto", |
64 ] | 64 ] |
65 deps = [ | 65 deps = [ |
66 "//base", | 66 "//base", |
67 "//components/leveldb_proto", | 67 "//components/leveldb_proto", |
68 "//components/pref_registry", | 68 "//components/pref_registry", |
69 "//components/prefs", | 69 "//components/prefs", |
70 "//components/resources", | 70 "//components/resources", |
71 "//components/strings", | 71 "//components/strings", |
| 72 "//components/sync", |
72 "//components/variations", | 73 "//components/variations", |
73 "//net", | 74 "//net", |
74 "//skia", | 75 "//skia", |
75 "//sync", | |
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 "dom_distiller_service_android.cc", | 83 "dom_distiller_service_android.cc", |
84 "dom_distiller_service_android.h", | 84 "dom_distiller_service_android.h", |
85 ] | 85 ] |
(...skipping 11 matching lines...) Expand all Loading... |
97 "fake_distiller.h", | 97 "fake_distiller.h", |
98 "fake_distiller_page.cc", | 98 "fake_distiller_page.cc", |
99 "fake_distiller_page.h", | 99 "fake_distiller_page.h", |
100 "test_request_view_handle.h", | 100 "test_request_view_handle.h", |
101 ] | 101 ] |
102 | 102 |
103 deps = [ | 103 deps = [ |
104 ":core", | 104 ":core", |
105 "//base", | 105 "//base", |
106 "//components/leveldb_proto:test_support", | 106 "//components/leveldb_proto:test_support", |
107 "//sync", | 107 "//components/sync", |
108 "//testing/gmock", | 108 "//testing/gmock", |
109 "//testing/gtest", | 109 "//testing/gtest", |
110 "//url", | 110 "//url", |
111 ] | 111 ] |
112 } | 112 } |
113 | 113 |
114 bundle_data("unit_tests_bundle_data") { | 114 bundle_data("unit_tests_bundle_data") { |
115 visibility = [ ":unit_tests" ] | 115 visibility = [ ":unit_tests" ] |
116 testonly = true | 116 testonly = true |
117 sources = [ | 117 sources = [ |
(...skipping 27 matching lines...) Expand all Loading... |
145 | 145 |
146 deps = [ | 146 deps = [ |
147 ":core", | 147 ":core", |
148 ":test_support", | 148 ":test_support", |
149 ":unit_tests_bundle_data", | 149 ":unit_tests_bundle_data", |
150 "//base", | 150 "//base", |
151 "//components/leveldb_proto:test_support", | 151 "//components/leveldb_proto:test_support", |
152 "//components/pref_registry:test_support", | 152 "//components/pref_registry:test_support", |
153 "//components/resources", | 153 "//components/resources", |
154 "//components/strings", | 154 "//components/strings", |
| 155 "//components/sync", |
155 "//net:test_support", | 156 "//net:test_support", |
156 "//sync", | |
157 "//testing/gmock", | 157 "//testing/gmock", |
158 "//testing/gtest", | 158 "//testing/gtest", |
159 "//ui/base", | 159 "//ui/base", |
160 "//url", | 160 "//url", |
161 ] | 161 ] |
162 } | 162 } |
163 | 163 |
164 if (is_android) { | 164 if (is_android) { |
165 import("//build/config/android/rules.gni") | 165 import("//build/config/android/rules.gni") |
166 | 166 |
167 generate_jni("jni_headers") { | 167 generate_jni("jni_headers") { |
168 sources = [ | 168 sources = [ |
169 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", | 169 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP
agePrefs.java", |
170 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erService.java", | 170 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erService.java", |
171 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erUrlUtils.java", | 171 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill
erUrlUtils.java", |
172 ] | 172 ] |
173 jni_package = "dom_distiller_core" | 173 jni_package = "dom_distiller_core" |
174 } | 174 } |
175 } | 175 } |
OLD | NEW |