1 # Copyright 2014 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.
5 # GYP version: components/dom_distiller.gypi:dom_distiller_core
6 static_library("core") {
8 "../android/component_jni_registrar.cc",
9 "../android/component_jni_registrar.h",
10 "article_distillation_update.cc",
11 "article_distillation_update.h",
14 "distilled_content_store.cc",
15 "distilled_content_store.h",
20 "distilled_page_prefs.cc",
21 "distilled_page_prefs.h",
22 "distilled_page_prefs_android.cc",
23 "distilled_page_prefs_android.h",
24 "distiller_url_fetcher.cc",
25 "distiller_url_fetcher.h",
26 "dom_distiller_constants.cc",
27 "dom_distiller_constants.h",
28 "dom_distiller_model.cc",
29 "dom_distiller_model.h",
30 "dom_distiller_observer.h",
31 "dom_distiller_service.cc",
32 "dom_distiller_service.h",
33 "dom_distiller_store.cc",
34 "dom_distiller_store.h",
35 "feedback_reporter.cc",
36 "feedback_reporter.h",
41 "url_utils_android.cc",
42 "url_utils_android.h",
51 "//components/dom_distiller/core/proto",
52 "//components/leveldb_proto",
53 "//components/resources",
54 "//components/strings",
58 "//third_party/dom_distiller_js/package/proto",
63 forward_dependent_configs_from = [
64 "//components/dom_distiller/core/proto",
65 "//third_party/dom_distiller_js/package/proto",
69 #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP)
73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support
74 static_library("test_support") {
76 "dom_distiller_test_util.cc",
77 "dom_distiller_test_util.h",
80 "fake_distiller_page.cc",
81 "fake_distiller_page.h",
86 "//components/leveldb_proto:test_support",
93 source_set("unit_tests") {
95 "article_entry_unittest.cc",
96 "distilled_content_store_unittest.cc",
97 "distilled_page_prefs_unittests.cc",
98 "distiller_unittest.cc",
99 "distiller_url_fetcher_unittest.cc",
100 "dom_distiller_model_unittest.cc",
101 "dom_distiller_service_unittest.cc",
102 "dom_distiller_store_unittest.cc",
103 "task_tracker_unittest.cc",
104 "url_utils_unittest.cc",
105 "viewer_unittest.cc",