| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 # GYP version: components/dom_distiller.gypi:dom_distiller_core | 5 # GYP version: components/dom_distiller.gypi:dom_distiller_core |
| 6 static_library("core") { | 6 static_library("core") { |
| 7 sources = [ | 7 sources = [ |
| 8 "../android/component_jni_registrar.cc", | 8 "../android/component_jni_registrar.cc", |
| 9 "../android/component_jni_registrar.h", | 9 "../android/component_jni_registrar.h", |
| 10 "article_distillation_update.cc", | 10 "article_distillation_update.cc", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 "//third_party/dom_distiller_js:proto", | 65 "//third_party/dom_distiller_js:proto", |
| 66 ] | 66 ] |
| 67 | 67 |
| 68 if (is_android) { | 68 if (is_android) { |
| 69 #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP) | 69 #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP) |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 | 72 |
| 73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support | 73 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support |
| 74 static_library("test_support") { | 74 static_library("test_support") { |
| 75 testonly = true |
| 75 sources = [ | 76 sources = [ |
| 76 "dom_distiller_test_util.cc", | 77 "dom_distiller_test_util.cc", |
| 77 "dom_distiller_test_util.h", | 78 "dom_distiller_test_util.h", |
| 78 "fake_distiller.cc", | 79 "fake_distiller.cc", |
| 79 "fake_distiller.h", | 80 "fake_distiller.h", |
| 80 "fake_distiller_page.cc", | 81 "fake_distiller_page.cc", |
| 81 "fake_distiller_page.h", | 82 "fake_distiller_page.h", |
| 82 ] | 83 ] |
| 83 | 84 |
| 84 deps = [ | 85 deps = [ |
| 85 ":core", | 86 ":core", |
| 86 "//components/leveldb_proto:test_support", | 87 "//components/leveldb_proto:test_support", |
| 87 "//sync", | 88 "//sync", |
| 88 "//testing/gmock", | 89 "//testing/gmock", |
| 89 "//testing/gtest", | 90 "//testing/gtest", |
| 90 ] | 91 ] |
| 91 } | 92 } |
| 92 | 93 |
| 93 source_set("unit_tests") { | 94 source_set("unit_tests") { |
| 95 testonly = true |
| 94 sources = [ | 96 sources = [ |
| 95 "article_entry_unittest.cc", | 97 "article_entry_unittest.cc", |
| 96 "distilled_content_store_unittest.cc", | 98 "distilled_content_store_unittest.cc", |
| 97 "distilled_page_prefs_unittests.cc", | 99 "distilled_page_prefs_unittests.cc", |
| 98 "distiller_unittest.cc", | 100 "distiller_unittest.cc", |
| 99 "distiller_url_fetcher_unittest.cc", | 101 "distiller_url_fetcher_unittest.cc", |
| 100 "dom_distiller_model_unittest.cc", | 102 "dom_distiller_model_unittest.cc", |
| 101 "dom_distiller_service_unittest.cc", | 103 "dom_distiller_service_unittest.cc", |
| 102 "dom_distiller_store_unittest.cc", | 104 "dom_distiller_store_unittest.cc", |
| 103 "task_tracker_unittest.cc", | 105 "task_tracker_unittest.cc", |
| 104 "url_utils_unittest.cc", | 106 "url_utils_unittest.cc", |
| 105 "viewer_unittest.cc", | 107 "viewer_unittest.cc", |
| 106 ] | 108 ] |
| 107 | 109 |
| 108 deps = [ | 110 deps = [ |
| 109 ":core", | 111 ":core", |
| 110 ":test_support", | 112 ":test_support", |
| 111 "//testing/gmock", | 113 "//testing/gmock", |
| 112 "//testing/gtest", | 114 "//testing/gtest", |
| 113 ] | 115 ] |
| 114 } | 116 } |
| OLD | NEW |