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

Side by Side Diff: components/scheduler/BUILD.gn

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/scheduler/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 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.
4
5 import("//components/scheduler/scheduler.gni")
6
7 # GYP version: components/scheduler.gypi:scheduler
8 component("scheduler") {
9 sources = rebase_path(scheduler_gypi_values.scheduler_sources,
10 ".",
11 "//components/scheduler")
12
13 defines = [ "SCHEDULER_IMPLEMENTATION" ]
14
15 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
16 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
17
18 deps = [
19 ":common",
20 "//base",
21 "//cc:cc",
22 "//third_party/WebKit/public:blink",
23 "//ui/gfx:gfx",
24 ]
25 }
26
27 # GYP version: components/scheduler.gypi:scheduler_common
28 source_set("common") {
29 sources = rebase_path(scheduler_gypi_values.scheduler_common_sources,
30 ".",
31 "//components/scheduler")
32 }
33
34 source_set("unit_tests") {
35 testonly = true
36
37 sources = [
38 "child/nestable_task_runner_for_test.cc",
39 "child/nestable_task_runner_for_test.h",
40 "child/prioritizing_task_queue_selector_unittest.cc",
41 "child/scheduler_helper_unittest.cc",
42 "child/task_queue_manager_unittest.cc",
43 "child/test_time_source.cc",
44 "child/test_time_source.h",
45 "child/worker_scheduler_impl_unittest.cc",
46 "renderer/deadline_task_runner_unittest.cc",
47 "renderer/renderer_scheduler_impl_unittest.cc",
48 ]
49
50 deps = [
51 ":scheduler",
52 "//cc:test_support",
53 "//testing/gmock",
54 "//testing/gtest",
55 ]
56 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/scheduler/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698