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

Unified Diff: components/scheduler/scheduler.gyp

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/scheduler/scheduler.gni ('k') | components/scheduler/scheduler.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/scheduler.gyp
diff --git a/components/scheduler/scheduler.gyp b/components/scheduler/scheduler.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..a9c44027282635f025a5bb44ed1f1d2f6273800c
--- /dev/null
+++ b/components/scheduler/scheduler.gyp
@@ -0,0 +1,51 @@
+# 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.
+
+{
+ 'variables': {
+ # This turns on e.g. the filename-based detection of which
+ # platforms to include source files on (e.g. files ending in
+ # _mac.h or _mac.cc are only compiled on MacOSX).
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ 'scheduler.gypi',
+ ],
+ 'targets': [
+ {
+ # GN version: //components/scheduler:common
+ 'target_name': 'scheduler_common',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ '<@(scheduler_common_sources)',
+ ],
+ },
+ {
+ # GN version: //components/scheduler:scheduler
+ 'target_name': 'scheduler',
+ 'type': '<(component)',
+ 'dependencies': [
+ 'scheduler_common',
+ '../../base/base.gyp:base',
+ '../../cc/cc.gyp:cc',
+ '../../third_party/WebKit/public/blink.gyp:blink',
+ '../../ui/gfx/gfx.gyp:gfx',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'defines': [
+ 'SCHEDULER_IMPLEMENTATION',
+ ],
+ # Disable c4267 warnings until we fix size_t to int truncations.
+ 'msvs_disabled_warnings': [ 4267, ],
+ 'sources': [
+ '<@(scheduler_sources)',
+ ],
+ },
+ ],
+}
« no previous file with comments | « components/scheduler/scheduler.gni ('k') | components/scheduler/scheduler.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698