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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/scheduler/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/BUILD.gn
diff --git a/components/scheduler/BUILD.gn b/components/scheduler/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2d00aeff26b4c720dfe728c1b7ca491a388c3835
--- /dev/null
+++ b/components/scheduler/BUILD.gn
@@ -0,0 +1,56 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//components/scheduler/scheduler.gni")
+
+# GYP version: components/scheduler.gypi:scheduler
+component("scheduler") {
+ sources = rebase_path(scheduler_gypi_values.scheduler_sources,
+ ".",
+ "//components/scheduler")
+
+ defines = [ "SCHEDULER_IMPLEMENTATION" ]
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ deps = [
+ ":common",
+ "//base",
+ "//cc:cc",
+ "//third_party/WebKit/public:blink",
+ "//ui/gfx:gfx",
+ ]
+}
+
+# GYP version: components/scheduler.gypi:scheduler_common
+source_set("common") {
+ sources = rebase_path(scheduler_gypi_values.scheduler_common_sources,
+ ".",
+ "//components/scheduler")
+}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "child/nestable_task_runner_for_test.cc",
+ "child/nestable_task_runner_for_test.h",
+ "child/prioritizing_task_queue_selector_unittest.cc",
+ "child/scheduler_helper_unittest.cc",
+ "child/task_queue_manager_unittest.cc",
+ "child/test_time_source.cc",
+ "child/test_time_source.h",
+ "child/worker_scheduler_impl_unittest.cc",
+ "renderer/deadline_task_runner_unittest.cc",
+ "renderer/renderer_scheduler_impl_unittest.cc",
+ ]
+
+ deps = [
+ ":scheduler",
+ "//cc:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
« 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