OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [{ | 9 'targets': [{ |
| 10 'target_name': 'platform_window_types', |
| 11 'type': '<(component)', |
| 12 'sources': [ |
| 13 'types/platform_window.h', |
| 14 'types/platform_window_delegate.h', |
| 15 ], |
| 16 }, { |
10 'target_name': 'platform_window', | 17 'target_name': 'platform_window', |
11 'type': '<(component)', | 18 'type': '<(component)', |
| 19 'dependencies': [ |
| 20 '../../base/base.gyp:base', |
| 21 '../events/platform/events_platform.gyp:events_platform', |
| 22 'platform_window_types', |
| 23 ], |
12 'defines': [ 'PLATFORM_WINDOW_IMPLEMENTATION' ], | 24 'defines': [ 'PLATFORM_WINDOW_IMPLEMENTATION' ], |
13 'sources': [ | 25 'sources': [ |
14 'platform_window.h', | |
15 'platform_window_delegate.h', | |
16 'platform_window_export.h', | 26 'platform_window_export.h', |
| 27 'platform_window_factory.cc', |
| 28 'platform_window_factory.h', |
| 29 ], |
| 30 'conditions': [ |
| 31 ['OS=="win"', { |
| 32 'dependencies': [ |
| 33 '../gfx/gfx.gyp:gfx', |
| 34 'win/win_window.gyp:win_window', |
| 35 ], |
| 36 }], |
| 37 ['use_x11==1', { |
| 38 'dependencies': [ 'x11/x11_window.gyp:x11_window', ], |
| 39 }], |
| 40 ['use_ozone==1', { |
| 41 'dependencies': [ '../ozone/ozone.gyp:ozone', ], |
| 42 }], |
17 ], | 43 ], |
18 }], | 44 }], |
19 } | 45 } |
OLD | NEW |