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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/BUILD.gn

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 source_set("scheduler") { 5 import("//build/config/jumbo.gni")
6
7 jumbo_source_set("scheduler") {
6 sources = [ 8 sources = [
7 "base/cancelable_closure_holder.cc", 9 "base/cancelable_closure_holder.cc",
8 "base/cancelable_closure_holder.h", 10 "base/cancelable_closure_holder.h",
9 "base/enqueue_order.cc", 11 "base/enqueue_order.cc",
10 "base/enqueue_order.h", 12 "base/enqueue_order.h",
11 "base/intrusive_heap.h", 13 "base/intrusive_heap.h",
12 "base/lazy_now.cc", 14 "base/lazy_now.cc",
13 "base/lazy_now.h", 15 "base/lazy_now.h",
14 "base/moveable_auto_lock.h", 16 "base/moveable_auto_lock.h",
15 "base/pollable_thread_safe_flag.cc", 17 "base/pollable_thread_safe_flag.cc",
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "//third_party/WebKit/Source/platform/instrumentation", 130 "//third_party/WebKit/Source/platform/instrumentation",
129 "//third_party/WebKit/Source/platform/wtf", 131 "//third_party/WebKit/Source/platform/wtf",
130 ] 132 ]
131 133
132 configs += [ 134 configs += [
133 "//third_party/WebKit/Source/platform:blink_platform_config", 135 "//third_party/WebKit/Source/platform:blink_platform_config",
134 "//third_party/WebKit/Source/platform:blink_platform_implementation", 136 "//third_party/WebKit/Source/platform:blink_platform_implementation",
135 ] 137 ]
136 } 138 }
137 139
138 source_set("test_support") { 140 jumbo_source_set("test_support") {
139 testonly = true 141 testonly = true
140 142
141 sources = [ 143 sources = [
142 "base/task_queue_manager_delegate_for_test.cc", 144 "base/task_queue_manager_delegate_for_test.cc",
143 "base/task_queue_manager_delegate_for_test.h", 145 "base/task_queue_manager_delegate_for_test.h",
144 "base/test_task_time_observer.h", 146 "base/test_task_time_observer.h",
145 "base/test_time_source.cc", 147 "base/test_time_source.cc",
146 "base/test_time_source.h", 148 "base/test_time_source.h",
147 "child/scheduler_tqm_delegate_for_test.cc", 149 "child/scheduler_tqm_delegate_for_test.cc",
148 "child/scheduler_tqm_delegate_for_test.h", 150 "child/scheduler_tqm_delegate_for_test.h",
149 "test/fake_renderer_scheduler.cc", 151 "test/fake_renderer_scheduler.cc",
150 "test/fake_web_task_runner.cc", 152 "test/fake_web_task_runner.cc",
151 "test/fake_web_task_runner.h", 153 "test/fake_web_task_runner.h",
152 "test/lazy_scheduler_message_loop_delegate_for_tests.cc", 154 "test/lazy_scheduler_message_loop_delegate_for_tests.cc",
153 "test/lazy_scheduler_message_loop_delegate_for_tests.h", 155 "test/lazy_scheduler_message_loop_delegate_for_tests.h",
154 "test/renderer_scheduler_test_support.cc", 156 "test/renderer_scheduler_test_support.cc",
155 "test/test_task_queue.cc", 157 "test/test_task_queue.cc",
156 "test/test_task_queue.h", 158 "test/test_task_queue.h",
157 ] 159 ]
158 160
159 deps = [ 161 deps = [
160 "//base", 162 "//base",
161 "//base/test:test_support", 163 "//base/test:test_support",
162 "//skia", 164 "//skia",
163 ] 165 ]
164 166
165 configs += [ "//third_party/WebKit/Source/platform:blink_platform_config" ] 167 configs += [ "//third_party/WebKit/Source/platform:blink_platform_config" ]
166 } 168 }
167 169
168 source_set("unit_tests") { 170 jumbo_source_set("unit_tests") {
169 testonly = true 171 testonly = true
170 172
171 sources = [ 173 sources = [
172 "base/intrusive_heap_unittest.cc", 174 "base/intrusive_heap_unittest.cc",
173 "base/queueing_time_estimator_unittest.cc", 175 "base/queueing_time_estimator_unittest.cc",
174 "base/task_queue_manager_unittest.cc", 176 "base/task_queue_manager_unittest.cc",
175 "base/task_queue_selector_unittest.cc", 177 "base/task_queue_selector_unittest.cc",
176 "base/test_count_uses_time_source.cc", 178 "base/test_count_uses_time_source.cc",
177 "base/test_count_uses_time_source.h", 179 "base/test_count_uses_time_source.h",
178 "base/thread_load_tracker_unittest.cc", 180 "base/thread_load_tracker_unittest.cc",
(...skipping 16 matching lines...) Expand all
195 "renderer/renderer_scheduler_impl_unittest.cc", 197 "renderer/renderer_scheduler_impl_unittest.cc",
196 "renderer/task_cost_estimator_unittest.cc", 198 "renderer/task_cost_estimator_unittest.cc",
197 "renderer/task_duration_metric_reporter_unittest.cc", 199 "renderer/task_duration_metric_reporter_unittest.cc",
198 "renderer/task_queue_throttler_unittest.cc", 200 "renderer/task_queue_throttler_unittest.cc",
199 "renderer/user_model_unittest.cc", 201 "renderer/user_model_unittest.cc",
200 "renderer/web_frame_scheduler_impl_unittest.cc", 202 "renderer/web_frame_scheduler_impl_unittest.cc",
201 "renderer/web_view_scheduler_impl_unittest.cc", 203 "renderer/web_view_scheduler_impl_unittest.cc",
202 "renderer/webthread_impl_for_renderer_scheduler_unittest.cc", 204 "renderer/webthread_impl_for_renderer_scheduler_unittest.cc",
203 ] 205 ]
204 206
207 jumbo_excluded_sources = [
208 # Something with base::Bind types.
209 "child/idle_helper_unittest.cc",
210 "renderer/auto_advancing_virtual_time_domain_unittest.cc",
211 "renderer/task_queue_throttler_unittest.cc",
212 "renderer/renderer_scheduler_impl_unittest.cc",
213
214 # Too many MockTaskObserver
215 "child/scheduler_helper_unittest.cc",
216
217 # Too many AppendToVectorTestTask
218 "child/worker_scheduler_impl_unittest.cc",
219 "child/worker_global_scope_scheduler_unittest.cc",
220
221 # Too many MockObserver
222 "renderer/render_widget_signals_unittest.cc",
223
224 # Too many MakeRepeatingTask and RunRepeatingTask
225 "renderer/web_view_scheduler_impl_unittest.cc",
226
227 # Too many MockTask
228 "renderer/webthread_impl_for_renderer_scheduler_unittest.cc",
229 ]
230
205 deps = [ 231 deps = [
206 "//base", 232 "//base",
207 "//base/test:test_support", 233 "//base/test:test_support",
208 "//components/viz/common", 234 "//components/viz/common",
209 "//components/viz/test:test_support", 235 "//components/viz/test:test_support",
210 "//skia", 236 "//skia",
211 "//testing/gmock", 237 "//testing/gmock",
212 "//testing/gtest", 238 "//testing/gtest",
213 ] 239 ]
214 240
(...skipping 11 matching lines...) Expand all
226 "//base", 252 "//base",
227 "//base/test:test_support", 253 "//base/test:test_support",
228 "//skia", 254 "//skia",
229 "//testing/gmock", 255 "//testing/gmock",
230 "//testing/gtest", 256 "//testing/gtest",
231 "//testing/perf", 257 "//testing/perf",
232 ] 258 ]
233 259
234 configs += [ "//third_party/WebKit/Source/platform:blink_platform_config" ] 260 configs += [ "//third_party/WebKit/Source/platform:blink_platform_config" ]
235 } 261 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/wtf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698