OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
| 8 # GN version: //components/dom_distiller/content:content_common |
| 9 'target_name': 'dom_distiller_content_common', |
| 10 'type': 'static_library', |
| 11 'include_dirs': [ |
| 12 '..', |
| 13 ], |
| 14 'dependencies': [ |
| 15 '../base/base.gyp:base', |
| 16 '../content/content.gyp:content_common', |
| 17 '../ipc/ipc.gyp:ipc', |
| 18 '../url/url.gyp:url_lib', |
| 19 ], |
| 20 'sources': [ |
| 21 'dom_distiller/content/common/distiller_messages.cc', |
| 22 'dom_distiller/content/common/distiller_messages.h', |
| 23 ], |
| 24 }, |
| 25 { |
8 # GN version: //components/dom_distiller/webui | 26 # GN version: //components/dom_distiller/webui |
9 'target_name': 'dom_distiller_webui', | 27 'target_name': 'dom_distiller_webui', |
10 'type': 'static_library', | 28 'type': 'static_library', |
11 'dependencies': [ | 29 'dependencies': [ |
12 '../base/base.gyp:base', | 30 '../base/base.gyp:base', |
13 '../content/content.gyp:content_browser', | 31 '../content/content.gyp:content_browser', |
14 '../net/net.gyp:net', | 32 '../net/net.gyp:net', |
15 '../skia/skia.gyp:skia', | 33 '../skia/skia.gyp:skia', |
16 '../sync/sync.gyp:sync', | 34 '../sync/sync.gyp:sync', |
17 '../url/url.gyp:url_lib', | 35 '../url/url.gyp:url_lib', |
(...skipping 19 matching lines...) Expand all Loading... |
37 'dependencies': [ | 55 'dependencies': [ |
38 '../base/base.gyp:base', | 56 '../base/base.gyp:base', |
39 '../base/base.gyp:base_prefs', | 57 '../base/base.gyp:base_prefs', |
40 '../skia/skia.gyp:skia', | 58 '../skia/skia.gyp:skia', |
41 '../sync/sync.gyp:sync', | 59 '../sync/sync.gyp:sync', |
42 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_p
roto', | 60 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_p
roto', |
43 '../third_party/re2/re2.gyp:re2', | 61 '../third_party/re2/re2.gyp:re2', |
44 'components.gyp:leveldb_proto', | 62 'components.gyp:leveldb_proto', |
45 'components_resources.gyp:components_resources', | 63 'components_resources.gyp:components_resources', |
46 'components_strings.gyp:components_strings', | 64 'components_strings.gyp:components_strings', |
47 'dom_distiller_protos', | |
48 'pref_registry', | 65 'pref_registry', |
49 'variations', | 66 'variations', |
50 ], | 67 ], |
| 68 'defines': [ |
| 69 'DISTILLER_IMPLEMENTATION=1', |
| 70 ], |
51 'include_dirs': [ | 71 'include_dirs': [ |
52 '..', | 72 '..', |
53 ], | 73 ], |
54 'export_dependent_settings': [ | 74 'export_dependent_settings': [ |
55 'dom_distiller_protos', | |
56 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_p
roto', | 75 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_p
roto', |
57 ], | 76 ], |
58 'sources': [ | 77 'sources': [ |
59 'dom_distiller/android/component_jni_registrar.cc', | 78 'dom_distiller/android/component_jni_registrar.cc', |
60 'dom_distiller/android/component_jni_registrar.h', | 79 'dom_distiller/android/component_jni_registrar.h', |
61 'dom_distiller/core/article_attachments_data.cc', | 80 'dom_distiller/core/article_attachments_data.cc', |
62 'dom_distiller/core/article_attachments_data.h', | 81 'dom_distiller/core/article_attachments_data.h', |
63 'dom_distiller/core/article_distillation_update.cc', | 82 'dom_distiller/core/article_distillation_update.cc', |
64 'dom_distiller/core/article_distillation_update.h', | 83 'dom_distiller/core/article_distillation_update.h', |
65 'dom_distiller/core/article_entry.cc', | 84 'dom_distiller/core/article_entry.cc', |
66 'dom_distiller/core/article_entry.h', | 85 'dom_distiller/core/article_entry.h', |
67 'dom_distiller/core/distillable_page_detector.cc', | 86 'dom_distiller/core/distillable_page_detector.cc', |
68 'dom_distiller/core/distillable_page_detector.h', | 87 'dom_distiller/core/distillable_page_detector.h', |
69 'dom_distiller/core/distilled_content_store.cc', | 88 'dom_distiller/core/distilled_content_store.cc', |
70 'dom_distiller/core/distilled_content_store.h', | 89 'dom_distiller/core/distilled_content_store.h', |
71 'dom_distiller/core/distilled_page_prefs.cc', | 90 'dom_distiller/core/distilled_page_prefs.cc', |
72 'dom_distiller/core/distilled_page_prefs.h', | 91 'dom_distiller/core/distilled_page_prefs.h', |
73 'dom_distiller/core/distilled_page_prefs_android.cc', | 92 'dom_distiller/core/distilled_page_prefs_android.cc', |
74 'dom_distiller/core/distilled_page_prefs_android.h', | 93 'dom_distiller/core/distilled_page_prefs_android.h', |
75 'dom_distiller/core/distiller.cc', | 94 'dom_distiller/core/distiller.cc', |
76 'dom_distiller/core/distiller.h', | 95 'dom_distiller/core/distiller.h', |
| 96 'dom_distiller/core/distiller_export.h', |
77 'dom_distiller/core/distiller_page.cc', | 97 'dom_distiller/core/distiller_page.cc', |
78 'dom_distiller/core/distiller_page.h', | 98 'dom_distiller/core/distiller_page.h', |
79 'dom_distiller/core/distiller_url_fetcher.cc', | 99 'dom_distiller/core/distiller_url_fetcher.cc', |
80 'dom_distiller/core/distiller_url_fetcher.h', | 100 'dom_distiller/core/distiller_url_fetcher.h', |
81 'dom_distiller/core/dom_distiller_constants.cc', | 101 'dom_distiller/core/dom_distiller_constants.cc', |
82 'dom_distiller/core/dom_distiller_constants.h', | 102 'dom_distiller/core/dom_distiller_constants.h', |
83 'dom_distiller/core/dom_distiller_features.cc', | 103 'dom_distiller/core/dom_distiller_features.cc', |
84 'dom_distiller/core/dom_distiller_features.h', | 104 'dom_distiller/core/dom_distiller_features.h', |
85 'dom_distiller/core/dom_distiller_model.cc', | 105 'dom_distiller/core/dom_distiller_model.cc', |
86 'dom_distiller/core/dom_distiller_model.h', | 106 'dom_distiller/core/dom_distiller_model.h', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 }, | 195 }, |
176 ], | 196 ], |
177 'conditions': [ | 197 'conditions': [ |
178 ['OS != "ios"', { | 198 ['OS != "ios"', { |
179 'targets': [ | 199 'targets': [ |
180 { | 200 { |
181 # GN version: //components/dom_distiller/content:content_browser | 201 # GN version: //components/dom_distiller/content:content_browser |
182 'target_name': 'dom_distiller_content_browser', | 202 'target_name': 'dom_distiller_content_browser', |
183 'type': 'static_library', | 203 'type': 'static_library', |
184 'dependencies': [ | 204 'dependencies': [ |
| 205 'dom_distiller_content_common', |
185 'dom_distiller_core', | 206 'dom_distiller_core', |
186 'dom_distiller_mojo_bindings', | 207 'dom_distiller_mojo_bindings', |
187 'dom_distiller_protos', | 208 'dom_distiller_protos', |
188 '../base/base.gyp:base', | 209 '../base/base.gyp:base', |
189 '../content/content.gyp:content_browser', | 210 '../content/content.gyp:content_browser', |
190 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 211 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
191 '../net/net.gyp:net', | 212 '../net/net.gyp:net', |
192 '../skia/skia.gyp:skia', | 213 '../skia/skia.gyp:skia', |
193 '../sync/sync.gyp:sync', | 214 '../sync/sync.gyp:sync', |
194 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 215 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
195 '../ui/gfx/gfx.gyp:gfx', | 216 '../ui/gfx/gfx.gyp:gfx', |
196 '../url/url.gyp:url_lib', | 217 '../url/url.gyp:url_lib', |
197 'components_resources.gyp:components_resources', | 218 'components_resources.gyp:components_resources', |
198 'components_strings.gyp:components_strings', | 219 'components_strings.gyp:components_strings', |
199 ], | 220 ], |
200 'include_dirs': [ | 221 'include_dirs': [ |
201 '..', | 222 '..', |
202 ], | 223 ], |
203 'sources': [ | 224 'sources': [ |
| 225 'dom_distiller/content/browser/distillability_driver.cc', |
| 226 'dom_distiller/content/browser/distillability_driver.h', |
204 'dom_distiller/content/browser/distillable_page_utils.cc', | 227 'dom_distiller/content/browser/distillable_page_utils.cc', |
205 'dom_distiller/content/browser/distillable_page_utils.h', | 228 'dom_distiller/content/browser/distillable_page_utils.h', |
206 'dom_distiller/content/browser/distillable_page_utils_android.cc', | 229 'dom_distiller/content/browser/distillable_page_utils_android.cc', |
207 'dom_distiller/content/browser/distillable_page_utils_android.h', | 230 'dom_distiller/content/browser/distillable_page_utils_android.h', |
208 'dom_distiller/content/browser/distiller_javascript_service_impl.cc'
, | 231 'dom_distiller/content/browser/distiller_javascript_service_impl.cc'
, |
209 'dom_distiller/content/browser/distiller_javascript_service_impl.h', | 232 'dom_distiller/content/browser/distiller_javascript_service_impl.h', |
210 'dom_distiller/content/browser/distiller_javascript_utils.cc', | 233 'dom_distiller/content/browser/distiller_javascript_utils.cc', |
211 'dom_distiller/content/browser/distiller_javascript_utils.h', | 234 'dom_distiller/content/browser/distiller_javascript_utils.h', |
212 'dom_distiller/content/browser/distiller_page_web_contents.cc', | 235 'dom_distiller/content/browser/distiller_page_web_contents.cc', |
213 'dom_distiller/content/browser/distiller_page_web_contents.h', | 236 'dom_distiller/content/browser/distiller_page_web_contents.h', |
(...skipping 10 matching lines...) Expand all Loading... |
224 'dom_distiller_core_jni_headers', | 247 'dom_distiller_core_jni_headers', |
225 ], | 248 ], |
226 }], | 249 }], |
227 ], | 250 ], |
228 }, | 251 }, |
229 { | 252 { |
230 # GN version: //components/dom_distiller/content:content_renderer | 253 # GN version: //components/dom_distiller/content:content_renderer |
231 'target_name': 'dom_distiller_content_renderer', | 254 'target_name': 'dom_distiller_content_renderer', |
232 'type': 'static_library', | 255 'type': 'static_library', |
233 'dependencies': [ | 256 'dependencies': [ |
| 257 'dom_distiller_content_common', |
234 'dom_distiller_mojo_bindings', | 258 'dom_distiller_mojo_bindings', |
| 259 'dom_distiller_protos', |
235 '../base/base.gyp:base', | 260 '../base/base.gyp:base', |
236 '../content/content.gyp:content_browser', | 261 '../content/content.gyp:content_browser', |
237 '../gin/gin.gyp:gin', | 262 '../gin/gin.gyp:gin', |
238 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 263 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
239 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 264 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
240 ], | 265 ], |
241 'include_dirs': [ | 266 'include_dirs': [ |
242 '..', | 267 '..', |
243 ], | 268 ], |
| 269 'export_dependent_settings': [ |
| 270 'dom_distiller_protos', |
| 271 ], |
244 'sources': [ | 272 'sources': [ |
| 273 'dom_distiller/content/renderer/distillability_agent.cc', |
| 274 'dom_distiller/content/renderer/distillability_agent.h', |
245 'dom_distiller/content/renderer/distiller_js_render_frame_observer.c
c', | 275 'dom_distiller/content/renderer/distiller_js_render_frame_observer.c
c', |
246 'dom_distiller/content/renderer/distiller_js_render_frame_observer.h
', | 276 'dom_distiller/content/renderer/distiller_js_render_frame_observer.h
', |
247 'dom_distiller/content/renderer/distiller_native_javascript.cc', | 277 'dom_distiller/content/renderer/distiller_native_javascript.cc', |
248 'dom_distiller/content/renderer/distiller_native_javascript.h', | 278 'dom_distiller/content/renderer/distiller_native_javascript.h', |
249 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.cc', | 279 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.cc', |
250 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.h', | 280 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.h', |
251 ], | 281 ], |
252 }, | 282 }, |
253 | 283 |
254 ], | 284 ], |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 'variables': { | 379 'variables': { |
350 'package_name': 'org/chromium/components/dom_distiller/core', | 380 'package_name': 'org/chromium/components/dom_distiller/core', |
351 'template_deps': ['dom_distiller/core/theme_list.h'], | 381 'template_deps': ['dom_distiller/core/theme_list.h'], |
352 }, | 382 }, |
353 'includes': [ '../build/android/java_cpp_template.gypi' ], | 383 'includes': [ '../build/android/java_cpp_template.gypi' ], |
354 }, | 384 }, |
355 ], | 385 ], |
356 }], | 386 }], |
357 ], | 387 ], |
358 } | 388 } |
OLD | NEW |