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

Side by Side Diff: components/dom_distiller.gypi

Issue 1891643002: Reader Mode distillability uses Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add web contents check Created 4 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 | « no previous file | components/dom_distiller/content/browser/BUILD.gn » ('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 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/core 8 # GN version: //components/dom_distiller/core
9 'target_name': 'dom_distiller_core', 9 'target_name': 'dom_distiller_core',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'proto_in_dir': 'dom_distiller/core/proto', 133 'proto_in_dir': 'dom_distiller/core/proto',
134 'proto_out_dir': 'components/dom_distiller/core/proto', 134 'proto_out_dir': 'components/dom_distiller/core/proto',
135 }, 135 },
136 'includes': [ '../build/protoc.gypi' ] 136 'includes': [ '../build/protoc.gypi' ]
137 }, 137 },
138 { 138 {
139 # GN version: //components/dom_distiller/content:mojo_bindings 139 # GN version: //components/dom_distiller/content:mojo_bindings
140 'target_name': 'dom_distiller_mojo_bindings', 140 'target_name': 'dom_distiller_mojo_bindings',
141 'type': 'static_library', 141 'type': 'static_library',
142 'sources': [ 142 'sources': [
143 'dom_distiller/content/common/distillability_service.mojom',
143 'dom_distiller/content/common/distiller_javascript_service.mojom', 144 'dom_distiller/content/common/distiller_javascript_service.mojom',
144 'dom_distiller/content/common/distiller_page_notifier_service.mojom', 145 'dom_distiller/content/common/distiller_page_notifier_service.mojom',
145 ], 146 ],
146 'includes': [ 147 'includes': [
147 '../mojo/mojom_bindings_generator.gypi', 148 '../mojo/mojom_bindings_generator.gypi',
148 ], 149 ],
149 }, 150 },
150 ], 151 ],
151 'conditions': [ 152 'conditions': [
152 ['OS != "ios"', { 153 ['OS != "ios"', {
153 'targets': [ 154 'targets': [
154 { 155 {
155 # GN version: //components/dom_distiller/content/browser 156 # GN version: //components/dom_distiller/content/browser
156 'target_name': 'dom_distiller_content_browser', 157 'target_name': 'dom_distiller_content_browser',
157 'type': 'static_library', 158 'type': 'static_library',
158 'dependencies': [ 159 'dependencies': [
159 'dom_distiller_content_common',
160 'dom_distiller_core', 160 'dom_distiller_core',
161 'dom_distiller_mojo_bindings', 161 'dom_distiller_mojo_bindings',
162 'dom_distiller_protos', 162 'dom_distiller_protos',
163 '../base/base.gyp:base', 163 '../base/base.gyp:base',
164 '../content/content.gyp:content_browser', 164 '../content/content.gyp:content_browser',
165 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 165 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
166 '../net/net.gyp:net', 166 '../net/net.gyp:net',
167 '../skia/skia.gyp:skia', 167 '../skia/skia.gyp:skia',
168 '../sync/sync.gyp:sync', 168 '../sync/sync.gyp:sync',
169 '../ui/gfx/gfx.gyp:gfx', 169 '../ui/gfx/gfx.gyp:gfx',
(...skipping 30 matching lines...) Expand all
200 'dom_distiller_core_jni_headers', 200 'dom_distiller_core_jni_headers',
201 ], 201 ],
202 }], 202 }],
203 ], 203 ],
204 }, 204 },
205 { 205 {
206 # GN version: //components/dom_distiller/content/renderer 206 # GN version: //components/dom_distiller/content/renderer
207 'target_name': 'dom_distiller_content_renderer', 207 'target_name': 'dom_distiller_content_renderer',
208 'type': 'static_library', 208 'type': 'static_library',
209 'dependencies': [ 209 'dependencies': [
210 'dom_distiller_content_common',
211 'dom_distiller_mojo_bindings', 210 'dom_distiller_mojo_bindings',
212 'dom_distiller_protos', 211 'dom_distiller_protos',
213 '../base/base.gyp:base', 212 '../base/base.gyp:base',
214 '../content/content.gyp:content_browser', 213 '../content/content.gyp:content_browser',
215 '../gin/gin.gyp:gin', 214 '../gin/gin.gyp:gin',
216 '../mojo/mojo_public.gyp:mojo_cpp_bindings', 215 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
217 ], 216 ],
218 'include_dirs': [ 217 'include_dirs': [
219 '..', 218 '..',
220 ], 219 ],
221 'export_dependent_settings': [ 220 'export_dependent_settings': [
222 'dom_distiller_protos', 221 'dom_distiller_protos',
223 ], 222 ],
224 'sources': [ 223 'sources': [
225 'dom_distiller/content/renderer/distillability_agent.cc', 224 'dom_distiller/content/renderer/distillability_agent.cc',
226 'dom_distiller/content/renderer/distillability_agent.h', 225 'dom_distiller/content/renderer/distillability_agent.h',
227 'dom_distiller/content/renderer/distiller_js_render_frame_observer.c c', 226 'dom_distiller/content/renderer/distiller_js_render_frame_observer.c c',
228 'dom_distiller/content/renderer/distiller_js_render_frame_observer.h ', 227 'dom_distiller/content/renderer/distiller_js_render_frame_observer.h ',
229 'dom_distiller/content/renderer/distiller_native_javascript.cc', 228 'dom_distiller/content/renderer/distiller_native_javascript.cc',
230 'dom_distiller/content/renderer/distiller_native_javascript.h', 229 'dom_distiller/content/renderer/distiller_native_javascript.h',
231 'dom_distiller/content/renderer/distiller_page_notifier_service_impl .cc', 230 'dom_distiller/content/renderer/distiller_page_notifier_service_impl .cc',
232 'dom_distiller/content/renderer/distiller_page_notifier_service_impl .h', 231 'dom_distiller/content/renderer/distiller_page_notifier_service_impl .h',
233 ], 232 ],
234 }, 233 },
235 { 234 {
236 # GN version: //components/dom_distiller/content/common
237 'target_name': 'dom_distiller_content_common',
238 'type': 'static_library',
239 'include_dirs': [
240 '..',
241 ],
242 'dependencies': [
243 '../base/base.gyp:base',
244 '../content/content.gyp:content_common',
245 '../ipc/ipc.gyp:ipc',
246 '../url/url.gyp:url_lib',
247 ],
248 'sources': [
249 'dom_distiller/content/common/distiller_messages.cc',
250 'dom_distiller/content/common/distiller_messages.h',
251 ],
252 },
253 {
254 # GN version: //components/dom_distiller/webui 235 # GN version: //components/dom_distiller/webui
255 'target_name': 'dom_distiller_webui', 236 'target_name': 'dom_distiller_webui',
256 'type': 'static_library', 237 'type': 'static_library',
257 'dependencies': [ 238 'dependencies': [
258 '../base/base.gyp:base', 239 '../base/base.gyp:base',
259 '../content/content.gyp:content_browser', 240 '../content/content.gyp:content_browser',
260 '../net/net.gyp:net', 241 '../net/net.gyp:net',
261 '../skia/skia.gyp:skia', 242 '../skia/skia.gyp:skia',
262 '../sync/sync.gyp:sync', 243 '../sync/sync.gyp:sync',
263 '../url/url.gyp:url_lib', 244 '../url/url.gyp:url_lib',
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 'variables': { 356 'variables': {
376 'package_name': 'org/chromium/components/dom_distiller/core', 357 'package_name': 'org/chromium/components/dom_distiller/core',
377 'template_deps': ['dom_distiller/core/theme_list.h'], 358 'template_deps': ['dom_distiller/core/theme_list.h'],
378 }, 359 },
379 'includes': [ '../build/android/java_cpp_template.gypi' ], 360 'includes': [ '../build/android/java_cpp_template.gypi' ],
380 }, 361 },
381 ], 362 ],
382 }], 363 }],
383 ], 364 ],
384 } 365 }
OLDNEW
« no previous file with comments | « no previous file | components/dom_distiller/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698