OLD | NEW |
| (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 { | |
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:common | |
18 'target_name': 'scheduler_common', | |
19 'type': 'static_library', | |
20 'include_dirs': [ | |
21 '../..', | |
22 ], | |
23 'sources': [ | |
24 '<@(scheduler_common_sources)', | |
25 ], | |
26 }, | |
27 { | |
28 # GN version: //components/scheduler:scheduler | |
29 'target_name': 'scheduler', | |
30 'type': '<(component)', | |
31 'dependencies': [ | |
32 'scheduler_common', | |
33 '../../base/base.gyp:base', | |
34 '../../cc/cc.gyp:cc', | |
35 '../../third_party/WebKit/public/blink.gyp:blink', | |
36 '../../ui/gfx/gfx.gyp:gfx', | |
37 ], | |
38 'include_dirs': [ | |
39 '../..', | |
40 ], | |
41 'defines': [ | |
42 'SCHEDULER_IMPLEMENTATION', | |
43 ], | |
44 # Disable c4267 warnings until we fix size_t to int truncations. | |
45 'msvs_disabled_warnings': [ 4267, ], | |
46 'sources': [ | |
47 '<@(scheduler_sources)', | |
48 ], | |
49 'export_dependent_settings': [ | |
50 '../../third_party/WebKit/public/blink.gyp:blink', | |
51 ], | |
52 }, | |
53 { | |
54 # GN version: //components/scheduler:test_support | |
55 'target_name': 'scheduler_test_support', | |
56 'type': 'static_library', | |
57 'dependencies': [ | |
58 '../../third_party/WebKit/public/blink.gyp:blink', | |
59 ], | |
60 'include_dirs': [ | |
61 '../..', | |
62 ], | |
63 'sources': [ | |
64 '<@(scheduler_test_support_sources)', | |
65 ], | |
66 }, | |
67 ], | |
68 } | |
OLD | NEW |