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/webui | 8 # GN version: //components/dom_distiller/webui |
9 'target_name': 'dom_distiller_webui', | 9 'target_name': 'dom_distiller_webui', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 'dom_distiller/core/proto/adaboost.proto', | 151 'dom_distiller/core/proto/adaboost.proto', |
152 'dom_distiller/core/proto/distilled_article.proto', | 152 'dom_distiller/core/proto/distilled_article.proto', |
153 'dom_distiller/core/proto/distilled_page.proto', | 153 'dom_distiller/core/proto/distilled_page.proto', |
154 ], | 154 ], |
155 'variables': { | 155 'variables': { |
156 'proto_in_dir': 'dom_distiller/core/proto', | 156 'proto_in_dir': 'dom_distiller/core/proto', |
157 'proto_out_dir': 'components/dom_distiller/core/proto', | 157 'proto_out_dir': 'components/dom_distiller/core/proto', |
158 }, | 158 }, |
159 'includes': [ '../build/protoc.gypi' ] | 159 'includes': [ '../build/protoc.gypi' ] |
160 }, | 160 }, |
| 161 { |
| 162 # GN version: //components/dom_distiller/content:mojo_bindings |
| 163 'target_name': 'dom_distiller_mojo_bindings', |
| 164 'type': 'static_library', |
| 165 'sources': [ |
| 166 'dom_distiller/content/common/distiller_javascript_service.mojom', |
| 167 'dom_distiller/content/common/distiller_page_notifier_service.mojom', |
| 168 ], |
| 169 'includes': [ |
| 170 '../third_party/mojo/mojom_bindings_generator.gypi', |
| 171 ], |
| 172 }, |
161 ], | 173 ], |
162 'conditions': [ | 174 'conditions': [ |
163 ['OS != "ios"', { | 175 ['OS != "ios"', { |
164 'targets': [ | 176 'targets': [ |
165 { | 177 { |
166 # GN version: //components/dom_distiller/content:content_browser | 178 # GN version: //components/dom_distiller/content:content_browser |
167 'target_name': 'dom_distiller_content_browser', | 179 'target_name': 'dom_distiller_content_browser', |
168 'type': 'static_library', | 180 'type': 'static_library', |
169 'dependencies': [ | 181 'dependencies': [ |
170 '../base/base.gyp:base', | 182 '../base/base.gyp:base', |
171 '../content/content.gyp:content_browser', | 183 '../content/content.gyp:content_browser', |
| 184 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
172 '../net/net.gyp:net', | 185 '../net/net.gyp:net', |
173 '../skia/skia.gyp:skia', | 186 '../skia/skia.gyp:skia', |
174 '../sync/sync.gyp:sync', | 187 '../sync/sync.gyp:sync', |
| 188 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
175 '../ui/gfx/gfx.gyp:gfx', | 189 '../ui/gfx/gfx.gyp:gfx', |
176 '../url/url.gyp:url_lib', | 190 '../url/url.gyp:url_lib', |
177 'components_resources.gyp:components_resources', | 191 'components_resources.gyp:components_resources', |
178 'components_strings.gyp:components_strings', | 192 'components_strings.gyp:components_strings', |
179 'dom_distiller_core', | 193 'dom_distiller_core', |
| 194 'dom_distiller_mojo_bindings', |
180 'dom_distiller_protos', | 195 'dom_distiller_protos', |
181 ], | 196 ], |
182 'include_dirs': [ | 197 'include_dirs': [ |
183 '..', | 198 '..', |
184 ], | 199 ], |
185 'sources': [ | 200 'sources': [ |
186 'dom_distiller/content/browser/distillable_page_utils.cc', | 201 'dom_distiller/content/browser/distillable_page_utils.cc', |
187 'dom_distiller/content/browser/distillable_page_utils.h', | 202 'dom_distiller/content/browser/distillable_page_utils.h', |
188 'dom_distiller/content/browser/distillable_page_utils_android.cc', | 203 'dom_distiller/content/browser/distillable_page_utils_android.cc', |
189 'dom_distiller/content/browser/distillable_page_utils_android.h', | 204 'dom_distiller/content/browser/distillable_page_utils_android.h', |
| 205 'dom_distiller/content/browser/distiller_javascript_service_impl.cc'
, |
| 206 'dom_distiller/content/browser/distiller_javascript_service_impl.h', |
190 'dom_distiller/content/browser/distiller_javascript_utils.cc', | 207 'dom_distiller/content/browser/distiller_javascript_utils.cc', |
191 'dom_distiller/content/browser/distiller_javascript_utils.h', | 208 'dom_distiller/content/browser/distiller_javascript_utils.h', |
192 'dom_distiller/content/browser/distiller_page_web_contents.cc', | 209 'dom_distiller/content/browser/distiller_page_web_contents.cc', |
193 'dom_distiller/content/browser/distiller_page_web_contents.h', | 210 'dom_distiller/content/browser/distiller_page_web_contents.h', |
194 'dom_distiller/content/browser/dom_distiller_viewer_source.cc', | 211 'dom_distiller/content/browser/dom_distiller_viewer_source.cc', |
195 'dom_distiller/content/browser/dom_distiller_viewer_source.h', | 212 'dom_distiller/content/browser/dom_distiller_viewer_source.h', |
196 'dom_distiller/content/browser/external_feedback_reporter.h', | 213 'dom_distiller/content/browser/external_feedback_reporter.h', |
197 'dom_distiller/content/browser/web_contents_main_frame_observer.cc', | 214 'dom_distiller/content/browser/web_contents_main_frame_observer.cc', |
198 'dom_distiller/content/browser/web_contents_main_frame_observer.h', | 215 'dom_distiller/content/browser/web_contents_main_frame_observer.h', |
199 ], | 216 ], |
200 'conditions': [ | 217 'conditions': [ |
201 ['OS == "android"', { | 218 ['OS == "android"', { |
202 'dependencies': [ | 219 'dependencies': [ |
203 'dom_distiller_content_jni_headers', | 220 'dom_distiller_content_jni_headers', |
204 'dom_distiller_core_jni_headers', | 221 'dom_distiller_core_jni_headers', |
205 ], | 222 ], |
206 }], | 223 }], |
207 ], | 224 ], |
208 }, | 225 }, |
| 226 { |
| 227 # GN version: //components/dom_distiller/content:content_renderer |
| 228 'target_name': 'dom_distiller_content_renderer', |
| 229 'type': 'static_library', |
| 230 'dependencies': [ |
| 231 '../content/content.gyp:content_browser', |
| 232 '../base/base.gyp:base', |
| 233 '../gin/gin.gyp:gin', |
| 234 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 235 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 236 'dom_distiller_mojo_bindings', |
| 237 ], |
| 238 'include_dirs': [ |
| 239 '..', |
| 240 ], |
| 241 'sources': [ |
| 242 'dom_distiller/content/renderer/distiller_js_render_frame_observer.c
c', |
| 243 'dom_distiller/content/renderer/distiller_js_render_frame_observer.h
', |
| 244 'dom_distiller/content/renderer/distiller_native_javascript.cc', |
| 245 'dom_distiller/content/renderer/distiller_native_javascript.h', |
| 246 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.cc', |
| 247 'dom_distiller/content/renderer/distiller_page_notifier_service_impl
.h', |
| 248 ], |
| 249 }, |
| 250 |
209 ], | 251 ], |
210 }], | 252 }], |
211 ['OS=="ios"', { | 253 ['OS=="ios"', { |
212 'targets': [ | 254 'targets': [ |
213 { | 255 { |
214 'target_name': 'dom_distiller_ios', | 256 'target_name': 'dom_distiller_ios', |
215 'type': 'static_library', | 257 'type': 'static_library', |
216 'dependencies': [ | 258 'dependencies': [ |
217 '../ios/provider/ios_provider_web.gyp:ios_provider_web', | 259 '../ios/provider/ios_provider_web.gyp:ios_provider_web', |
218 'dom_distiller_protos', | 260 'dom_distiller_protos', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 'variables': { | 346 'variables': { |
305 'package_name': 'org/chromium/components/dom_distiller/core', | 347 'package_name': 'org/chromium/components/dom_distiller/core', |
306 'template_deps': ['dom_distiller/core/theme_list.h'], | 348 'template_deps': ['dom_distiller/core/theme_list.h'], |
307 }, | 349 }, |
308 'includes': [ '../build/android/java_cpp_template.gypi' ], | 350 'includes': [ '../build/android/java_cpp_template.gypi' ], |
309 }, | 351 }, |
310 ], | 352 ], |
311 }], | 353 }], |
312 ], | 354 ], |
313 } | 355 } |
OLD | NEW |