Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Side by Side Diff: components/dom_distiller/core/BUILD.gn

Issue 1130703003: Show template before distiller finishes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-superclass
Patch Set: Fix flaky test Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 source_set("core") { 6 source_set("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_attachments_data.cc", 10 "article_attachments_data.cc",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support 91 # GYP version: components/dom_distiller.gypi:dom_distiller_test_support
92 source_set("test_support") { 92 source_set("test_support") {
93 testonly = true 93 testonly = true
94 sources = [ 94 sources = [
95 "dom_distiller_test_util.cc", 95 "dom_distiller_test_util.cc",
96 "dom_distiller_test_util.h", 96 "dom_distiller_test_util.h",
97 "fake_distiller.cc", 97 "fake_distiller.cc",
98 "fake_distiller.h", 98 "fake_distiller.h",
99 "fake_distiller_page.cc", 99 "fake_distiller_page.cc",
100 "fake_distiller_page.h", 100 "fake_distiller_page.h",
101 "test_request_view_handle.h",
101 ] 102 ]
102 103
103 deps = [ 104 deps = [
104 ":core", 105 ":core",
105 "//base", 106 "//base",
106 "//components/leveldb_proto:test_support", 107 "//components/leveldb_proto:test_support",
107 "//sync", 108 "//sync",
108 "//testing/gmock", 109 "//testing/gmock",
109 "//testing/gtest", 110 "//testing/gtest",
110 "//url", 111 "//url",
111 ] 112 ]
112 } 113 }
113 114
114 source_set("unit_tests") { 115 source_set("unit_tests") {
115 testonly = true 116 testonly = true
116 sources = [ 117 sources = [
117 "article_entry_unittest.cc", 118 "article_entry_unittest.cc",
118 "distilled_content_store_unittest.cc", 119 "distilled_content_store_unittest.cc",
119 "distilled_page_prefs_unittests.cc", 120 "distilled_page_prefs_unittests.cc",
120 "distiller_unittest.cc", 121 "distiller_unittest.cc",
121 "distiller_url_fetcher_unittest.cc", 122 "distiller_url_fetcher_unittest.cc",
122 "dom_distiller_model_unittest.cc", 123 "dom_distiller_model_unittest.cc",
124 "dom_distiller_request_view_base_unittest.cc",
123 "dom_distiller_service_unittest.cc", 125 "dom_distiller_service_unittest.cc",
124 "dom_distiller_store_unittest.cc", 126 "dom_distiller_store_unittest.cc",
125 "page_features_unittest.cc", 127 "page_features_unittest.cc",
126 "task_tracker_unittest.cc", 128 "task_tracker_unittest.cc",
127 "url_utils_unittest.cc", 129 "url_utils_unittest.cc",
128 "viewer_unittest.cc", 130 "viewer_unittest.cc",
129 ] 131 ]
130 132
131 deps = [ 133 deps = [
132 ":core", 134 ":core",
133 ":test_support", 135 ":test_support",
134 "//base", 136 "//base",
135 "//components/leveldb_proto:test_support", 137 "//components/leveldb_proto:test_support",
136 "//components/pref_registry:test_support", 138 "//components/pref_registry:test_support",
139 "//components/resources",
140 "//components/strings",
137 "//net:test_support", 141 "//net:test_support",
138 "//sync", 142 "//sync",
139 "//testing/gmock", 143 "//testing/gmock",
140 "//testing/gtest", 144 "//testing/gtest",
141 "//url", 145 "//url",
142 ] 146 ]
143 } 147 }
144 148
145 if (is_android) { 149 if (is_android) {
146 import("//build/config/android/rules.gni") 150 import("//build/config/android/rules.gni")
147 151
148 generate_jni("jni_headers") { 152 generate_jni("jni_headers") {
149 sources = [ 153 sources = [
150 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java", 154 "../android/java/src/org/chromium/components/dom_distiller/core/DistilledP agePrefs.java",
151 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java", 155 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erService.java",
152 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java", 156 "../android/java/src/org/chromium/components/dom_distiller/core/DomDistill erUrlUtils.java",
153 ] 157 ]
154 jni_package = "dom_distiller_core" 158 jni_package = "dom_distiller_core"
155 } 159 }
156 } 160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698