Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: ui/display/display.gyp

Issue 393953008: Add ui/display, message_center, webview to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/types/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GN version: //ui/display/types
11 'target_name': 'display_types', 12 'target_name': 'display_types',
12 'type': '<(component)', 13 'type': '<(component)',
13 'dependencies': [ 14 'dependencies': [
14 '../../base/base.gyp:base', 15 '../../base/base.gyp:base',
15 '../../ui/gfx/gfx.gyp:gfx_geometry', 16 '../../ui/gfx/gfx.gyp:gfx_geometry',
16 ], 17 ],
17 'defines': [ 18 'defines': [
18 'DISPLAY_TYPES_IMPLEMENTATION', 19 'DISPLAY_TYPES_IMPLEMENTATION',
19 ], 20 ],
20 'sources': [ 21 'sources': [
22 # Note: file list duplicated in GN build.
21 'types/chromeos/display_mode.cc', 23 'types/chromeos/display_mode.cc',
22 'types/chromeos/display_mode.h', 24 'types/chromeos/display_mode.h',
23 'types/chromeos/display_snapshot.cc', 25 'types/chromeos/display_snapshot.cc',
24 'types/chromeos/display_snapshot.h', 26 'types/chromeos/display_snapshot.h',
25 'types/chromeos/native_display_delegate.h', 27 'types/chromeos/native_display_delegate.h',
26 'types/chromeos/native_display_observer.h', 28 'types/chromeos/native_display_observer.h',
27 'types/chromeos/touchscreen_device.cc', 29 'types/chromeos/touchscreen_device.cc',
28 'types/chromeos/touchscreen_device.h', 30 'types/chromeos/touchscreen_device.h',
29 'types/chromeos/touchscreen_device_manager.h', 31 'types/chromeos/touchscreen_device_manager.h',
30 'types/display_constants.h', 32 'types/display_constants.h',
31 'types/display_types_export.h', 33 'types/display_types_export.h',
32 ], 34 ],
33 }, 35 },
34 { 36 {
37 # GN version: //ui/display
35 'target_name': 'display', 38 'target_name': 'display',
36 'type': '<(component)', 39 'type': '<(component)',
37 'dependencies': [ 40 'dependencies': [
38 '../../base/base.gyp:base', 41 '../../base/base.gyp:base',
39 '../../ui/gfx/gfx.gyp:gfx', 42 '../../ui/gfx/gfx.gyp:gfx',
40 '../../ui/gfx/gfx.gyp:gfx_geometry', 43 '../../ui/gfx/gfx.gyp:gfx_geometry',
41 'display_util', 44 'display_util',
42 ], 45 ],
43 'defines': [ 46 'defines': [
44 'DISPLAY_IMPLEMENTATION', 47 'DISPLAY_IMPLEMENTATION',
45 ], 48 ],
46 'sources': [ 49 'sources': [
50 # Note: file list duplicated in GN build.
47 'chromeos/display_configurator.cc', 51 'chromeos/display_configurator.cc',
48 'chromeos/display_configurator.h', 52 'chromeos/display_configurator.h',
49 'chromeos/touchscreen_delegate_impl.cc', 53 'chromeos/touchscreen_delegate_impl.cc',
50 'chromeos/touchscreen_delegate_impl.h', 54 'chromeos/touchscreen_delegate_impl.h',
51 'chromeos/ozone/display_configurator_ozone.cc', 55 'chromeos/ozone/display_configurator_ozone.cc',
52 'chromeos/x11/display_configurator_x11.cc', 56 'chromeos/x11/display_configurator_x11.cc',
53 'chromeos/x11/display_mode_x11.cc', 57 'chromeos/x11/display_mode_x11.cc',
54 'chromeos/x11/display_mode_x11.h', 58 'chromeos/x11/display_mode_x11.h',
55 'chromeos/x11/display_snapshot_x11.cc', 59 'chromeos/x11/display_snapshot_x11.cc',
56 'chromeos/x11/display_snapshot_x11.h', 60 'chromeos/x11/display_snapshot_x11.h',
(...skipping 25 matching lines...) Expand all
82 ], 86 ],
83 }], 87 }],
84 ['use_ozone == 1', { 88 ['use_ozone == 1', {
85 'dependencies': [ 89 'dependencies': [
86 '../../ui/ozone/ozone.gyp:ozone', 90 '../../ui/ozone/ozone.gyp:ozone',
87 ], 91 ],
88 }], 92 }],
89 ], 93 ],
90 }, 94 },
91 { 95 {
96 # GN version: //ui/display/util
92 'target_name': 'display_util', 97 'target_name': 'display_util',
93 'type': '<(component)', 98 'type': '<(component)',
94 'dependencies': [ 99 'dependencies': [
95 '../../base/base.gyp:base', 100 '../../base/base.gyp:base',
96 '../../ui/gfx/gfx.gyp:gfx_geometry', 101 '../../ui/gfx/gfx.gyp:gfx_geometry',
97 ], 102 ],
98 'defines': [ 103 'defines': [
99 'DISPLAY_UTIL_IMPLEMENTATION', 104 'DISPLAY_UTIL_IMPLEMENTATION',
100 ], 105 ],
101 'sources': [ 106 'sources': [
107 # Note: file list shared with GN build.
102 'util/display_util.cc', 108 'util/display_util.cc',
103 'util/display_util.h', 109 'util/display_util.h',
104 'util/display_util_export.h', 110 'util/display_util_export.h',
105 'util/edid_parser.cc', 111 'util/edid_parser.cc',
106 'util/edid_parser.h', 112 'util/edid_parser.h',
107 'util/x11/edid_parser_x11.cc', 113 'util/x11/edid_parser_x11.cc',
108 'util/x11/edid_parser_x11.h', 114 'util/x11/edid_parser_x11.h',
109 ], 115 ],
110 'conditions': [ 116 'conditions': [
111 ['use_x11 == 1', { 117 ['use_x11 == 1', {
112 'dependencies': [ 118 'dependencies': [
113 '../../build/linux/system.gyp:xrandr', 119 '../../build/linux/system.gyp:xrandr',
114 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11', 120 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
115 ], 121 ],
116 }], 122 }],
117 ['chromeos == 1', { 123 ['chromeos == 1', {
118 'dependencies': [ 124 'dependencies': [
119 'display_types', 125 'display_types',
120 ], 126 ],
121 }], 127 }],
122 ], 128 ],
123 }, 129 },
124 { 130 {
131 # GN version: //ui/display:test_util
125 'target_name': 'display_test_util', 132 'target_name': 'display_test_util',
126 'type': '<(component)', 133 'type': '<(component)',
127 'dependencies': [ 134 'dependencies': [
128 '../../base/base.gyp:base', 135 '../../base/base.gyp:base',
129 '../../ui/gfx/gfx.gyp:gfx', 136 '../../ui/gfx/gfx.gyp:gfx',
130 '../../ui/gfx/gfx.gyp:gfx_geometry', 137 '../../ui/gfx/gfx.gyp:gfx_geometry',
131 ], 138 ],
132 'defines': [ 139 'defines': [
133 'DISPLAY_IMPLEMENTATION', 140 'DISPLAY_IMPLEMENTATION',
134 ], 141 ],
135 'sources': [ 142 'sources': [
143 # Note: file list duplicated in GN build.
136 'chromeos/test/test_display_snapshot.cc', 144 'chromeos/test/test_display_snapshot.cc',
137 'chromeos/test/test_display_snapshot.h', 145 'chromeos/test/test_display_snapshot.h',
138 ], 146 ],
139 'conditions': [ 147 'conditions': [
140 ['chromeos == 1', { 148 ['chromeos == 1', {
141 'dependencies': [ 149 'dependencies': [
142 'display_types', 150 'display_types',
143 ], 151 ],
144 }], 152 }],
145 ], 153 ],
146 }, 154 },
147 { 155 {
156 # GN version: //ui/display:display_unittests
148 'target_name': 'display_unittests', 157 'target_name': 'display_unittests',
149 'type': 'executable', 158 'type': 'executable',
150 'dependencies': [ 159 'dependencies': [
151 '../../base/base.gyp:run_all_unittests', 160 '../../base/base.gyp:run_all_unittests',
152 '../../testing/gtest.gyp:gtest', 161 '../../testing/gtest.gyp:gtest',
153 '../../ui/gfx/gfx.gyp:gfx_geometry', 162 '../../ui/gfx/gfx.gyp:gfx_geometry',
154 'display_util', 163 'display_util',
155 ], 164 ],
156 'include_dirs': [ 165 'include_dirs': [
157 '../..', 166 '../..',
(...skipping 11 matching lines...) Expand all
169 'dependencies': [ 178 'dependencies': [
170 'display', 179 'display',
171 'display_test_util', 180 'display_test_util',
172 'display_types', 181 'display_types',
173 ], 182 ],
174 }], 183 }],
175 ], 184 ],
176 }, 185 },
177 ], 186 ],
178 } 187 }
OLDNEW
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/types/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698