OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 '-lX11', | 114 '-lX11', |
115 '-lXi', | 115 '-lXi', |
116 '-lXfixes', | 116 '-lXfixes', |
117 '-lXrandr', | 117 '-lXrandr', |
118 ], | 118 ], |
119 }, | 119 }, |
120 }], | 120 }], |
121 ], | 121 ], |
122 }, | 122 }, |
123 { | 123 { |
124 'target_name': 'test_support_aura', | 124 'target_name': 'aura_test_support', |
125 'type': 'static_library', | 125 'type': 'static_library', |
126 'dependencies': [ | 126 'dependencies': [ |
127 '../../skia/skia.gyp:skia', | 127 '../../skia/skia.gyp:skia', |
128 '../../testing/gtest.gyp:gtest', | 128 '../../testing/gtest.gyp:gtest', |
129 '../ui.gyp:ui', | 129 '../ui.gyp:ui', |
130 '../ui.gyp:ui_test_support', | 130 '../ui.gyp:ui_test_support', |
131 'aura', | 131 'aura', |
132 'test_support_aura_pak', | 132 'aura_test_support_pak', |
133 ], | 133 ], |
134 'include_dirs': [ | 134 'include_dirs': [ |
135 '..', | 135 '..', |
136 ], | 136 ], |
137 'sources': [ | 137 'sources': [ |
138 'test/aura_test_base.cc', | 138 'test/aura_test_base.cc', |
139 'test/aura_test_base.h', | 139 'test/aura_test_base.h', |
140 'test/aura_test_helper.cc', | 140 'test/aura_test_helper.cc', |
141 'test/aura_test_helper.h', | 141 'test/aura_test_helper.h', |
142 'test/event_generator.cc', | 142 'test/event_generator.cc', |
143 'test/event_generator.h', | 143 'test/event_generator.h', |
144 'test/test_activation_client.cc', | 144 'test/test_activation_client.cc', |
145 'test/test_activation_client.h', | 145 'test/test_activation_client.h', |
146 'test/test_aura_initializer.cc', | 146 'test/test_aura_initializer.cc', |
147 'test/test_aura_initializer.h', | 147 'test/test_aura_initializer.h', |
148 'test/test_event_handler.cc', | 148 'test/test_event_handler.cc', |
149 'test/test_event_handler.h', | 149 'test/test_event_handler.h', |
150 'test/test_screen.cc', | 150 'test/test_screen.cc', |
151 'test/test_screen.h', | 151 'test/test_screen.h', |
152 'test/test_stacking_client.cc', | 152 'test/test_stacking_client.cc', |
153 'test/test_stacking_client.h', | 153 'test/test_stacking_client.h', |
154 'test/test_windows.cc', | 154 'test/test_windows.cc', |
155 'test/test_windows.h', | 155 'test/test_windows.h', |
156 'test/test_window_delegate.cc', | 156 'test/test_window_delegate.cc', |
157 'test/test_window_delegate.h', | 157 'test/test_window_delegate.h', |
158 ], | 158 ], |
159 }, | 159 }, |
160 { | 160 { |
161 # We build a minimal set of resources required for test_support_aura. | 161 # We build a minimal set of resources required for aura_test_support. |
162 'target_name': 'test_support_aura_pak', | 162 'target_name': 'aura_test_support_pak', |
163 'type': 'none', | 163 'type': 'none', |
164 'dependencies': [ | 164 'dependencies': [ |
165 '<(DEPTH)/ui/ui.gyp:ui_resources', | 165 '<(DEPTH)/ui/ui.gyp:ui_resources', |
166 ], | 166 ], |
167 'variables': { | 167 'variables': { |
168 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | 168 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', |
169 }, | 169 }, |
170 'actions': [ | 170 'actions': [ |
171 { | 171 { |
172 'action_name': 'repack_test_support_aura_pack', | 172 'action_name': 'repack_aura_test_support_pack', |
173 'variables': { | 173 'variables': { |
174 'pak_inputs': [ | 174 'pak_inputs': [ |
175 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce
nt.pak', | 175 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce
nt.pak', |
176 ], | 176 ], |
177 }, | 177 }, |
178 'inputs': [ | 178 'inputs': [ |
179 '<(repack_path)', | 179 '<(repack_path)', |
180 '<@(pak_inputs)', | 180 '<@(pak_inputs)', |
181 ], | 181 ], |
182 'outputs': [ | 182 'outputs': [ |
183 '<(PRODUCT_DIR)/test_support_aura_resources.pak', | 183 '<(PRODUCT_DIR)/aura_test_support_resources.pak', |
184 ], | 184 ], |
185 'action': ['python', '<(repack_path)', '<@(_outputs)', | 185 'action': ['python', '<(repack_path)', '<@(_outputs)', |
186 '<@(pak_inputs)'], | 186 '<@(pak_inputs)'], |
187 }, | 187 }, |
188 ], | 188 ], |
189 }, | 189 }, |
190 { | 190 { |
191 'target_name': 'aura_demo', | 191 'target_name': 'aura_demo', |
192 'type': 'executable', | 192 'type': 'executable', |
193 'dependencies': [ | 193 'dependencies': [ |
194 '../../base/base.gyp:base', | 194 '../../base/base.gyp:base', |
195 '../../base/base.gyp:base_i18n', | 195 '../../base/base.gyp:base_i18n', |
196 '../../skia/skia.gyp:skia', | 196 '../../skia/skia.gyp:skia', |
197 '../../third_party/icu/icu.gyp:icui18n', | 197 '../../third_party/icu/icu.gyp:icui18n', |
198 '../../third_party/icu/icu.gyp:icuuc', | 198 '../../third_party/icu/icu.gyp:icuuc', |
199 '../compositor/compositor.gyp:compositor', | 199 '../compositor/compositor.gyp:compositor', |
200 '../compositor/compositor.gyp:compositor_test_support', | 200 '../compositor/compositor.gyp:compositor_test_support', |
201 '../ui.gyp:ui', | 201 '../ui.gyp:ui', |
202 '../ui.gyp:ui_resources', | 202 '../ui.gyp:ui_resources', |
203 '../../ipc/ipc.gyp:ipc', | 203 '../../ipc/ipc.gyp:ipc', |
204 'aura', | 204 'aura', |
205 'test_support_aura', | 205 'aura_test_support', |
206 ], | 206 ], |
207 'include_dirs': [ | 207 'include_dirs': [ |
208 '..', | 208 '..', |
209 ], | 209 ], |
210 'sources': [ | 210 'sources': [ |
211 'demo/demo_main.cc', | 211 'demo/demo_main.cc', |
212 ], | 212 ], |
213 }, | 213 }, |
214 { | 214 { |
215 'target_name': 'aura_bench', | 215 'target_name': 'aura_bench', |
216 'type': 'executable', | 216 'type': 'executable', |
217 'dependencies': [ | 217 'dependencies': [ |
218 '../../base/base.gyp:base', | 218 '../../base/base.gyp:base', |
219 '../../base/base.gyp:base_i18n', | 219 '../../base/base.gyp:base_i18n', |
220 '../../skia/skia.gyp:skia', | 220 '../../skia/skia.gyp:skia', |
221 '../../third_party/icu/icu.gyp:icui18n', | 221 '../../third_party/icu/icu.gyp:icui18n', |
222 '../../third_party/icu/icu.gyp:icuuc', | 222 '../../third_party/icu/icu.gyp:icuuc', |
223 '../compositor/compositor.gyp:compositor', | 223 '../compositor/compositor.gyp:compositor', |
224 '../compositor/compositor.gyp:compositor_test_support', | 224 '../compositor/compositor.gyp:compositor_test_support', |
225 '../ui.gyp:ui', | 225 '../ui.gyp:ui', |
226 '../ui.gyp:ui_resources', | 226 '../ui.gyp:ui_resources', |
227 'aura', | 227 'aura', |
228 'test_support_aura', | 228 'aura_test_support', |
229 ], | 229 ], |
230 'include_dirs': [ | 230 'include_dirs': [ |
231 '..', | 231 '..', |
232 ], | 232 ], |
233 'sources': [ | 233 'sources': [ |
234 'bench/bench_main.cc', | 234 'bench/bench_main.cc', |
235 ], | 235 ], |
236 }, | 236 }, |
237 { | 237 { |
238 'target_name': 'aura_unittests', | 238 'target_name': 'aura_unittests', |
239 'type': 'executable', | 239 'type': 'executable', |
240 'dependencies': [ | 240 'dependencies': [ |
241 '../../base/base.gyp:test_support_base', | 241 '../../base/base.gyp:test_support_base', |
242 '../../chrome/chrome_resources.gyp:packed_resources', | 242 '../../chrome/chrome_resources.gyp:packed_resources', |
243 '../../skia/skia.gyp:skia', | 243 '../../skia/skia.gyp:skia', |
244 '../../testing/gtest.gyp:gtest', | 244 '../../testing/gtest.gyp:gtest', |
245 '../compositor/compositor.gyp:compositor_test_support', | 245 '../compositor/compositor.gyp:compositor_test_support', |
246 '../compositor/compositor.gyp:compositor', | 246 '../compositor/compositor.gyp:compositor', |
247 '../gl/gl.gyp:gl', | 247 '../gl/gl.gyp:gl', |
248 '../ui.gyp:ui', | 248 '../ui.gyp:ui', |
249 '../ui.gyp:ui_resources', | 249 '../ui.gyp:ui_resources', |
250 '../ui.gyp:ui_test_support', | 250 '../ui.gyp:ui_test_support', |
251 'test_support_aura', | 251 'aura_test_support', |
252 'aura', | 252 'aura', |
253 ], | 253 ], |
254 'include_dirs': [ | 254 'include_dirs': [ |
255 '..', | 255 '..', |
256 ], | 256 ], |
257 'sources': [ | 257 'sources': [ |
258 'gestures/gesture_recognizer_unittest.cc', | 258 'gestures/gesture_recognizer_unittest.cc', |
259 'test/run_all_unittests.cc', | 259 'test/run_all_unittests.cc', |
260 'test/test_suite.cc', | 260 'test/test_suite.cc', |
261 'test/test_suite.h', | 261 'test/test_suite.h', |
262 'root_window_unittest.cc', | 262 'root_window_unittest.cc', |
263 'window_unittest.cc', | 263 'window_unittest.cc', |
264 ], | 264 ], |
265 'conditions': [ | 265 'conditions': [ |
266 # osmesa GL implementation is used on linux. | 266 # osmesa GL implementation is used on linux. |
267 ['OS=="linux"', { | 267 ['OS=="linux"', { |
268 'dependencies': [ | 268 'dependencies': [ |
269 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 269 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
270 ], | 270 ], |
271 }], | 271 }], |
272 ], | 272 ], |
273 }, | 273 }, |
274 ], | 274 ], |
275 } | 275 } |
OLD | NEW |