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 { | 10 { |
| 11 'target_name': 'display_types', |
| 12 'type': '<(component)', |
| 13 'dependencies': [ |
| 14 '../../base/base.gyp:base', |
| 15 '../../ui/gfx/gfx.gyp:gfx_geometry', |
| 16 ], |
| 17 'defines': [ |
| 18 'DISPLAY_TYPES_IMPLEMENTATION', |
| 19 ], |
| 20 'sources': [ |
| 21 'types/chromeos/display_mode.cc', |
| 22 'types/chromeos/display_mode.h', |
| 23 'types/chromeos/display_snapshot.cc', |
| 24 'types/chromeos/display_snapshot.h', |
| 25 'types/chromeos/native_display_delegate.h', |
| 26 'types/chromeos/native_display_observer', |
| 27 'types/display_constants.h', |
| 28 'types/display_types_export.h', |
| 29 ], |
| 30 }, |
| 31 { |
11 'target_name': 'display', | 32 'target_name': 'display', |
12 'type': '<(component)', | 33 'type': '<(component)', |
13 'dependencies': [ | 34 'dependencies': [ |
14 '../../base/base.gyp:base', | 35 '../../base/base.gyp:base', |
15 '../../ui/gfx/gfx.gyp:gfx', | 36 '../../ui/gfx/gfx.gyp:gfx', |
16 '../../ui/gfx/gfx.gyp:gfx_geometry', | 37 '../../ui/gfx/gfx.gyp:gfx_geometry', |
17 ], | 38 ], |
18 'defines': [ | 39 'defines': [ |
19 'DISPLAY_IMPLEMENTATION', | 40 'DISPLAY_IMPLEMENTATION', |
20 ], | 41 ], |
21 'sources': [ | 42 'sources': [ |
22 'chromeos/display_configurator.cc', | 43 'chromeos/display_configurator.cc', |
23 'chromeos/display_configurator.h', | 44 'chromeos/display_configurator.h', |
24 'chromeos/display_mode.cc', | 45 'chromeos/ozone/display_configurator_ozone.cc', |
25 'chromeos/display_mode.h', | |
26 'chromeos/display_snapshot.cc', | |
27 'chromeos/display_snapshot.h', | |
28 'chromeos/native_display_delegate.h', | |
29 'chromeos/native_display_observer.h', | |
30 'chromeos/ozone/native_display_delegate_ozone.cc', | |
31 'chromeos/ozone/native_display_delegate_ozone.h', | |
32 'chromeos/ozone/touchscreen_delegate_ozone.cc', | 46 'chromeos/ozone/touchscreen_delegate_ozone.cc', |
33 'chromeos/ozone/touchscreen_delegate_ozone.h', | 47 'chromeos/ozone/touchscreen_delegate_ozone.h', |
| 48 'chromeos/x11/display_configurator_x11.cc', |
34 'chromeos/x11/display_mode_x11.cc', | 49 'chromeos/x11/display_mode_x11.cc', |
35 'chromeos/x11/display_mode_x11.h', | 50 'chromeos/x11/display_mode_x11.h', |
36 'chromeos/x11/display_snapshot_x11.cc', | 51 'chromeos/x11/display_snapshot_x11.cc', |
37 'chromeos/x11/display_snapshot_x11.h', | 52 'chromeos/x11/display_snapshot_x11.h', |
38 'chromeos/x11/display_util_x11.cc', | 53 'chromeos/x11/display_util_x11.cc', |
39 'chromeos/x11/display_util_x11.h', | 54 'chromeos/x11/display_util_x11.h', |
40 'chromeos/x11/native_display_delegate_x11.cc', | 55 'chromeos/x11/native_display_delegate_x11.cc', |
41 'chromeos/x11/native_display_delegate_x11.h', | 56 'chromeos/x11/native_display_delegate_x11.h', |
42 'chromeos/x11/native_display_event_dispatcher_x11.cc', | 57 'chromeos/x11/native_display_event_dispatcher_x11.cc', |
43 'chromeos/x11/native_display_event_dispatcher_x11.h', | 58 'chromeos/x11/native_display_event_dispatcher_x11.h', |
44 'chromeos/x11/touchscreen_delegate_x11.cc', | 59 'chromeos/x11/touchscreen_delegate_x11.cc', |
45 'chromeos/x11/touchscreen_delegate_x11.h', | 60 'chromeos/x11/touchscreen_delegate_x11.h', |
46 'display_constants.h', | |
47 'display_export.h', | 61 'display_export.h', |
48 'display_switches.cc', | 62 'display_switches.cc', |
49 'display_switches.h', | 63 'display_switches.h', |
50 'display_util.cc', | 64 'display_util.cc', |
51 'display_util.h', | 65 'display_util.h', |
52 'edid_parser.cc', | 66 'edid_parser.cc', |
53 'edid_parser.h', | 67 'edid_parser.h', |
54 'x11/edid_parser_x11.cc', | 68 'x11/edid_parser_x11.cc', |
55 'x11/edid_parser_x11.h', | 69 'x11/edid_parser_x11.h', |
56 ], | 70 ], |
57 'conditions': [ | 71 'conditions': [ |
58 ['use_x11 == 1', { | 72 ['use_x11 == 1', { |
59 'dependencies': [ | 73 'dependencies': [ |
60 '../../build/linux/system.gyp:x11', | 74 '../../build/linux/system.gyp:x11', |
61 '../../build/linux/system.gyp:xext', | 75 '../../build/linux/system.gyp:xext', |
62 '../../build/linux/system.gyp:xi', | 76 '../../build/linux/system.gyp:xi', |
63 '../../build/linux/system.gyp:xrandr', | 77 '../../build/linux/system.gyp:xrandr', |
64 ], | 78 ], |
65 }], | 79 }], |
| 80 ['chromeos == 1', { |
| 81 'dependencies': [ |
| 82 'display_types', |
| 83 ], |
| 84 }], |
66 ], | 85 ], |
67 }, | 86 }, |
68 { | 87 { |
69 'target_name': 'display_test_util', | 88 'target_name': 'display_test_util', |
70 'type': '<(component)', | 89 'type': '<(component)', |
71 'dependencies': [ | 90 'dependencies': [ |
72 '../../base/base.gyp:base', | 91 '../../base/base.gyp:base', |
73 '../../ui/gfx/gfx.gyp:gfx', | 92 '../../ui/gfx/gfx.gyp:gfx', |
74 '../../ui/gfx/gfx.gyp:gfx_geometry', | 93 '../../ui/gfx/gfx.gyp:gfx_geometry', |
75 'display', | |
76 ], | 94 ], |
77 'defines': [ | 95 'defines': [ |
78 'DISPLAY_IMPLEMENTATION', | 96 'DISPLAY_IMPLEMENTATION', |
79 ], | 97 ], |
80 'sources': [ | 98 'sources': [ |
81 'chromeos/test/test_display_snapshot.cc', | 99 'chromeos/test/test_display_snapshot.cc', |
82 'chromeos/test/test_display_snapshot.h', | 100 'chromeos/test/test_display_snapshot.h', |
83 ], | 101 ], |
| 102 'conditions': [ |
| 103 ['chromeos == 1', { |
| 104 'dependencies': [ |
| 105 'display_types', |
| 106 ], |
| 107 }], |
| 108 ], |
84 }, | 109 }, |
85 ], | 110 ], |
86 } | 111 } |
OLD | NEW |