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