Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / scheduler / scheduler.gyp
blobaa9a15a171c34412c7a85eaadc87407276732aa3
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.
6   'variables': {
7     # This turns on e.g. the filename-based detection of which
8     # platforms to include source files on (e.g. files ending in
9     # _mac.h or _mac.cc are only compiled on MacOSX).
10     'chromium_code': 1,
11   },
12   'includes': [
13     'scheduler.gypi',
14   ],
15   'targets': [
16     {
17       # GN version: //components/scheduler:scheduler
18       'target_name': 'scheduler',
19       'type': '<(component)',
20       'dependencies': [
21         '../../base/base.gyp:base',
22         '../../cc/cc.gyp:cc',
23         '../../third_party/WebKit/public/blink.gyp:blink',
24         '../../ui/gfx/gfx.gyp:gfx',
25       ],
26       'include_dirs': [
27         '../..',
28       ],
29       'defines': [
30         'SCHEDULER_IMPLEMENTATION',
31       ],
32       # Disable c4267 warnings until we fix size_t to int truncations.
33       'msvs_disabled_warnings': [ 4267, ],
34       'sources': [
35         '<@(scheduler_sources)',
36       ],
37       'export_dependent_settings': [
38         '../../third_party/WebKit/public/blink.gyp:blink',
39       ],
40     },
41     {
42       # GN version: //components/scheduler:test_support
43       'target_name': 'scheduler_test_support',
44       'type': 'static_library',
45       'include_dirs': [
46         '../..',
47       ],
48       'sources': [
49         '<@(scheduler_test_support_sources)',
50       ],
51     },
52   ],