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
3 # found in the LICENSE file.
7 ['android_webview_build == 0', {
10 'target_name': 'dom_distiller_webui',
11 'type': 'static_library',
13 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser',
15 '../skia/skia.gyp:skia',
16 '../sync/sync.gyp:sync',
17 'components_resources.gyp:components_resources',
18 'components_strings.gyp:components_strings',
19 'distilled_page_proto',
26 'dom_distiller/webui/dom_distiller_handler.cc',
27 'dom_distiller/webui/dom_distiller_handler.h',
28 'dom_distiller/webui/dom_distiller_ui.cc',
29 'dom_distiller/webui/dom_distiller_ui.h',
33 'target_name': 'dom_distiller_core',
34 'type': 'static_library',
36 '../base/base.gyp:base',
37 '../skia/skia.gyp:skia',
38 '../sync/sync.gyp:sync',
39 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_proto',
40 'components.gyp:leveldb_proto',
41 'components_resources.gyp:components_resources',
42 'components_strings.gyp:components_strings',
43 'distilled_page_proto',
48 'export_dependent_settings': [
49 'distilled_page_proto',
50 '../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_proto',
53 'dom_distiller/android/component_jni_registrar.cc',
54 'dom_distiller/android/component_jni_registrar.h',
55 'dom_distiller/core/article_distillation_update.cc',
56 'dom_distiller/core/article_distillation_update.h',
57 'dom_distiller/core/article_entry.cc',
58 'dom_distiller/core/article_entry.h',
59 'dom_distiller/core/distilled_content_store.cc',
60 'dom_distiller/core/distilled_content_store.h',
61 'dom_distiller/core/distiller.cc',
62 'dom_distiller/core/distiller.h',
63 'dom_distiller/core/distiller_page.cc',
64 'dom_distiller/core/distiller_page.h',
65 'dom_distiller/core/distiller_url_fetcher.cc',
66 'dom_distiller/core/distiller_url_fetcher.h',
67 'dom_distiller/core/dom_distiller_constants.cc',
68 'dom_distiller/core/dom_distiller_constants.h',
69 'dom_distiller/core/dom_distiller_model.cc',
70 'dom_distiller/core/dom_distiller_model.h',
71 'dom_distiller/core/dom_distiller_observer.h',
72 'dom_distiller/core/dom_distiller_service.cc',
73 'dom_distiller/core/dom_distiller_service.h',
74 'dom_distiller/core/dom_distiller_store.cc',
75 'dom_distiller/core/dom_distiller_store.h',
76 'dom_distiller/core/feedback_reporter.cc',
77 'dom_distiller/core/feedback_reporter.h',
78 'dom_distiller/core/task_tracker.cc',
79 'dom_distiller/core/task_tracker.h',
80 'dom_distiller/core/url_constants.cc',
81 'dom_distiller/core/url_constants.h',
82 'dom_distiller/core/url_utils_android.cc',
83 'dom_distiller/core/url_utils_android.h',
84 'dom_distiller/core/url_utils.cc',
85 'dom_distiller/core/url_utils.h',
86 'dom_distiller/core/viewer.cc',
87 'dom_distiller/core/viewer.h',
92 'dom_distiller_core_jni_headers',
98 'target_name': 'dom_distiller_test_support',
99 'type': 'static_library',
101 'dom_distiller_core',
102 'components.gyp:leveldb_proto_test_support',
103 '../sync/sync.gyp:sync',
104 '../testing/gmock.gyp:gmock',
110 'dom_distiller/core/dom_distiller_test_util.cc',
111 'dom_distiller/core/dom_distiller_test_util.h',
112 'dom_distiller/core/fake_distiller.cc',
113 'dom_distiller/core/fake_distiller.h',
114 'dom_distiller/core/fake_distiller_page.cc',
115 'dom_distiller/core/fake_distiller_page.h',
119 'target_name': 'distilled_page_proto',
120 'type': 'static_library',
122 'dom_distiller/core/proto/distilled_article.proto',
123 'dom_distiller/core/proto/distilled_page.proto',
126 'proto_in_dir': 'dom_distiller/core/proto',
127 'proto_out_dir': 'components/dom_distiller/core/proto',
129 'includes': [ '../build/protoc.gypi' ]
136 'target_name': 'dom_distiller_content',
137 'type': 'static_library',
139 '../content/content.gyp:content_browser',
140 '../net/net.gyp:net',
141 '../skia/skia.gyp:skia',
142 '../sync/sync.gyp:sync',
143 'components_resources.gyp:components_resources',
144 'components_strings.gyp:components_strings',
145 'dom_distiller_core',
151 'dom_distiller/content/distiller_page_web_contents.cc',
152 'dom_distiller/content/distiller_page_web_contents.h',
153 'dom_distiller/content/dom_distiller_viewer_source.cc',
154 'dom_distiller/content/dom_distiller_viewer_source.h',
155 'dom_distiller/content/web_contents_main_frame_observer.cc',
156 'dom_distiller/content/web_contents_main_frame_observer.h',
164 'target_name': 'dom_distiller_core_java',
167 '../base/base.gyp:base',
170 'java_in_dir': 'dom_distiller/android/java',
172 'includes': [ '../build/java.gypi' ],
175 'target_name': 'dom_distiller_core_jni_headers',
178 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java',
181 'jni_gen_package': 'dom_distiller_core',
183 'includes': [ '../build/jni_generator.gypi' ],