| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
| 8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
| 9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
| 10 'chromium_code': 1, | 10 'chromium_code': 1, |
| 11 }, | 11 }, |
| 12 'includes': [ | 12 'includes': [ |
| 13 'scheduler.gypi', | 13 'scheduler.gypi', |
| 14 ], | 14 ], |
| 15 'targets': [ | 15 'targets': [ |
| 16 { | 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 { |
| 17 # GN version: //components/scheduler:scheduler | 28 # GN version: //components/scheduler:scheduler |
| 18 'target_name': 'scheduler', | 29 'target_name': 'scheduler', |
| 19 'type': '<(component)', | 30 'type': '<(component)', |
| 20 'dependencies': [ | 31 'dependencies': [ |
| 32 'scheduler_common', |
| 21 '../../base/base.gyp:base', | 33 '../../base/base.gyp:base', |
| 22 '../../cc/cc.gyp:cc', | 34 '../../cc/cc.gyp:cc', |
| 23 '../../third_party/WebKit/public/blink.gyp:blink', | 35 '../../third_party/WebKit/public/blink.gyp:blink', |
| 24 '../../ui/gfx/gfx.gyp:gfx', | 36 '../../ui/gfx/gfx.gyp:gfx', |
| 25 ], | 37 ], |
| 26 'include_dirs': [ | 38 'include_dirs': [ |
| 27 '../..', | 39 '../..', |
| 28 ], | 40 ], |
| 29 'defines': [ | 41 'defines': [ |
| 30 'SCHEDULER_IMPLEMENTATION', | 42 'SCHEDULER_IMPLEMENTATION', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 44 'type': 'static_library', | 56 'type': 'static_library', |
| 45 'include_dirs': [ | 57 'include_dirs': [ |
| 46 '../..', | 58 '../..', |
| 47 ], | 59 ], |
| 48 'sources': [ | 60 'sources': [ |
| 49 '<@(scheduler_test_support_sources)', | 61 '<@(scheduler_test_support_sources)', |
| 50 ], | 62 ], |
| 51 }, | 63 }, |
| 52 ], | 64 ], |
| 53 } | 65 } |
| OLD | NEW |