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