OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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': 'gfx_geometry', |
| 12 'type': '<(component)', |
| 13 'dependencies': [ |
| 14 '<(DEPTH)/base/base.gyp:base', |
| 15 ], |
| 16 'defines': [ |
| 17 'GFX_IMPLEMENTATION', |
| 18 ], |
| 19 'sources': [ |
| 20 'geometry/box_f.cc', |
| 21 'geometry/box_f.h', |
| 22 'geometry/insets.cc', |
| 23 'geometry/insets.h', |
| 24 'geometry/insets_base.h', |
| 25 'geometry/insets_f.cc', |
| 26 'geometry/insets_f.h', |
| 27 'geometry/matrix3_f.cc', |
| 28 'geometry/matrix3_f.h', |
| 29 'geometry/point.cc', |
| 30 'geometry/point.h', |
| 31 'geometry/point3_f.cc', |
| 32 'geometry/point3_f.h', |
| 33 'geometry/point_base.h', |
| 34 'geometry/point_conversions.cc', |
| 35 'geometry/point_conversions.h', |
| 36 'geometry/point_f.cc', |
| 37 'geometry/point_f.h', |
| 38 'geometry/quad_f.cc', |
| 39 'geometry/quad_f.h', |
| 40 'geometry/rect.cc', |
| 41 'geometry/rect.h', |
| 42 'geometry/rect_base.h', |
| 43 'geometry/rect_base_impl.h', |
| 44 'geometry/rect_conversions.cc', |
| 45 'geometry/rect_conversions.h', |
| 46 'geometry/rect_f.cc', |
| 47 'geometry/rect_f.h', |
| 48 'geometry/safe_integer_conversions.h', |
| 49 'geometry/size.cc', |
| 50 'geometry/size.h', |
| 51 'geometry/size_base.h', |
| 52 'geometry/size_conversions.cc', |
| 53 'geometry/size_conversions.h', |
| 54 'geometry/size_f.cc', |
| 55 'geometry/size_f.h', |
| 56 'geometry/vector2d.cc', |
| 57 'geometry/vector2d.h', |
| 58 'geometry/vector2d_conversions.cc', |
| 59 'geometry/vector2d_conversions.h', |
| 60 'geometry/vector2d_f.cc', |
| 61 'geometry/vector2d_f.h', |
| 62 'geometry/vector3d_f.cc', |
| 63 'geometry/vector3d_f.h', |
| 64 ], |
| 65 }, |
| 66 # TODO(beng): This should either generate its own executable or be part of |
| 67 # a gfx_unittests executable. Currently it's built as part of |
| 68 # ui_unittests. |
| 69 { |
| 70 'target_name': 'gfx_geometry_unittests', |
| 71 'type': 'static_library', |
| 72 'dependencies': [ |
| 73 '<(DEPTH)/base/base.gyp:base', |
| 74 '<(DEPTH)/base/base.gyp:test_support_base', |
| 75 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 76 'gfx_geometry', |
| 77 ], |
| 78 'sources': [ |
| 79 'geometry/box_unittest.cc', |
| 80 'geometry/insets_unittest.cc', |
| 81 'geometry/matrix3_unittest.cc', |
| 82 'geometry/point_unittest.cc', |
| 83 'geometry/point3_unittest.cc', |
| 84 'geometry/quad_unittest.cc', |
| 85 'geometry/rect_unittest.cc', |
| 86 'geometry/safe_integer_conversions_unittest.cc', |
| 87 'geometry/size_unittest.cc', |
| 88 'geometry/vector2d_unittest.cc', |
| 89 'geometry/vector3d_unittest.cc', |
| 90 ], |
| 91 }, |
| 92 { |
11 'target_name': 'gfx', | 93 'target_name': 'gfx', |
12 'type': '<(component)', | 94 'type': '<(component)', |
13 'dependencies': [ | 95 'dependencies': [ |
14 '<(DEPTH)/base/base.gyp:base', | 96 '<(DEPTH)/base/base.gyp:base', |
15 '<(DEPTH)/base/base.gyp:base_i18n', | 97 '<(DEPTH)/base/base.gyp:base_i18n', |
16 '<(DEPTH)/base/base.gyp:base_static', | 98 '<(DEPTH)/base/base.gyp:base_static', |
17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 99 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
18 '<(DEPTH)/net/net.gyp:net', | 100 '<(DEPTH)/net/net.gyp:net', |
19 '<(DEPTH)/skia/skia.gyp:skia', | 101 '<(DEPTH)/skia/skia.gyp:skia', |
20 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 102 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
21 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 103 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
22 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 104 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
23 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 105 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
24 '<(DEPTH)/url/url.gyp:url_lib', | 106 '<(DEPTH)/url/url.gyp:url_lib', |
| 107 'gfx_geometry', |
25 ], | 108 ], |
26 # text_elider.h includes ICU headers. | 109 # text_elider.h includes ICU headers. |
27 'export_dependent_settings': [ | 110 'export_dependent_settings': [ |
28 '<(DEPTH)/skia/skia.gyp:skia', | 111 '<(DEPTH)/skia/skia.gyp:skia', |
29 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 112 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
30 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 113 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
31 ], | 114 ], |
32 'defines': [ | 115 'defines': [ |
33 'GFX_IMPLEMENTATION', | 116 'GFX_IMPLEMENTATION', |
34 ], | 117 ], |
(...skipping 20 matching lines...) Expand all Loading... |
55 'animation/multi_animation.cc', | 138 'animation/multi_animation.cc', |
56 'animation/multi_animation.h', | 139 'animation/multi_animation.h', |
57 'animation/slide_animation.cc', | 140 'animation/slide_animation.cc', |
58 'animation/slide_animation.h', | 141 'animation/slide_animation.h', |
59 'animation/throb_animation.cc', | 142 'animation/throb_animation.cc', |
60 'animation/throb_animation.h', | 143 'animation/throb_animation.h', |
61 'animation/tween.cc', | 144 'animation/tween.cc', |
62 'animation/tween.h', | 145 'animation/tween.h', |
63 'blit.cc', | 146 'blit.cc', |
64 'blit.h', | 147 'blit.h', |
65 'box_f.cc', | |
66 'box_f.h', | |
67 'break_list.h', | 148 'break_list.h', |
68 'canvas.cc', | 149 'canvas.cc', |
69 'canvas.h', | 150 'canvas.h', |
70 'canvas_android.cc', | 151 'canvas_android.cc', |
71 'canvas_paint_gtk.cc', | 152 'canvas_paint_gtk.cc', |
72 'canvas_paint_gtk.h', | 153 'canvas_paint_gtk.h', |
73 'canvas_paint_mac.h', | 154 'canvas_paint_mac.h', |
74 'canvas_paint_mac.mm', | 155 'canvas_paint_mac.mm', |
75 'canvas_paint_win.cc', | 156 'canvas_paint_win.cc', |
76 'canvas_paint_win.h', | 157 'canvas_paint_win.h', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 'image/image_skia_rep.cc', | 209 'image/image_skia_rep.cc', |
129 'image/image_skia_rep.h', | 210 'image/image_skia_rep.h', |
130 'image/image_skia_source.h', | 211 'image/image_skia_source.h', |
131 'image/image_skia_util_ios.h', | 212 'image/image_skia_util_ios.h', |
132 'image/image_skia_util_ios.mm', | 213 'image/image_skia_util_ios.mm', |
133 'image/image_skia_util_mac.h', | 214 'image/image_skia_util_mac.h', |
134 'image/image_skia_util_mac.mm', | 215 'image/image_skia_util_mac.mm', |
135 'image/image_util.cc', | 216 'image/image_util.cc', |
136 'image/image_util.h', | 217 'image/image_util.h', |
137 'image/image_util_ios.mm', | 218 'image/image_util_ios.mm', |
138 'insets.cc', | |
139 'insets.h', | |
140 'insets_base.h', | |
141 'insets_f.cc', | |
142 'insets_f.h', | |
143 'interpolated_transform.cc', | 219 'interpolated_transform.cc', |
144 'interpolated_transform.h', | 220 'interpolated_transform.h', |
145 'mac/scoped_ns_disable_screen_updates.h', | 221 'mac/scoped_ns_disable_screen_updates.h', |
146 'matrix3_f.cc', | |
147 'matrix3_f.h', | |
148 'native_widget_types.h', | 222 'native_widget_types.h', |
149 'ozone/dri/dri_skbitmap.cc', | 223 'ozone/dri/dri_skbitmap.cc', |
150 'ozone/dri/dri_skbitmap.h', | 224 'ozone/dri/dri_skbitmap.h', |
151 'ozone/dri/dri_surface.cc', | 225 'ozone/dri/dri_surface.cc', |
152 'ozone/dri/dri_surface.h', | 226 'ozone/dri/dri_surface.h', |
153 'ozone/dri/dri_surface_factory.cc', | 227 'ozone/dri/dri_surface_factory.cc', |
154 'ozone/dri/dri_surface_factory.h', | 228 'ozone/dri/dri_surface_factory.h', |
155 'ozone/dri/dri_vsync_provider.cc', | 229 'ozone/dri/dri_vsync_provider.cc', |
156 'ozone/dri/dri_vsync_provider.h', | 230 'ozone/dri/dri_vsync_provider.h', |
157 'ozone/dri/dri_wrapper.cc', | 231 'ozone/dri/dri_wrapper.cc', |
(...skipping 18 matching lines...) Expand all Loading... |
176 'platform_font_android.cc', | 250 'platform_font_android.cc', |
177 'platform_font_ios.h', | 251 'platform_font_ios.h', |
178 'platform_font_ios.mm', | 252 'platform_font_ios.mm', |
179 'platform_font_mac.h', | 253 'platform_font_mac.h', |
180 'platform_font_mac.mm', | 254 'platform_font_mac.mm', |
181 'platform_font_ozone.cc', | 255 'platform_font_ozone.cc', |
182 'platform_font_pango.cc', | 256 'platform_font_pango.cc', |
183 'platform_font_pango.h', | 257 'platform_font_pango.h', |
184 'platform_font_win.cc', | 258 'platform_font_win.cc', |
185 'platform_font_win.h', | 259 'platform_font_win.h', |
186 'point.cc', | |
187 'point.h', | |
188 'point3_f.cc', | |
189 'point3_f.h', | |
190 'point_base.h', | |
191 'point_conversions.cc', | |
192 'point_conversions.h', | |
193 'point_f.cc', | |
194 'point_f.h', | |
195 'quad_f.cc', | |
196 'quad_f.h', | |
197 'range/range.cc', | 260 'range/range.cc', |
198 'range/range.h', | 261 'range/range.h', |
199 'range/range_mac.mm', | 262 'range/range_mac.mm', |
200 'range/range_win.cc', | 263 'range/range_win.cc', |
201 'rect.cc', | |
202 'rect.h', | |
203 'rect_base.h', | |
204 'rect_base_impl.h', | |
205 'rect_conversions.cc', | |
206 'rect_conversions.h', | |
207 'rect_f.cc', | |
208 'rect_f.h', | |
209 'render_text.cc', | 264 'render_text.cc', |
210 'render_text.h', | 265 'render_text.h', |
211 'render_text_mac.cc', | 266 'render_text_mac.cc', |
212 'render_text_mac.h', | 267 'render_text_mac.h', |
213 'render_text_ozone.cc', | 268 'render_text_ozone.cc', |
214 'render_text_pango.cc', | 269 'render_text_pango.cc', |
215 'render_text_pango.h', | 270 'render_text_pango.h', |
216 'render_text_win.cc', | 271 'render_text_win.cc', |
217 'render_text_win.h', | 272 'render_text_win.h', |
218 'safe_integer_conversions.h', | |
219 'scoped_canvas.h', | 273 'scoped_canvas.h', |
220 'scoped_cg_context_save_gstate_mac.h', | 274 'scoped_cg_context_save_gstate_mac.h', |
221 'scoped_ns_graphics_context_save_gstate_mac.h', | 275 'scoped_ns_graphics_context_save_gstate_mac.h', |
222 'scoped_ns_graphics_context_save_gstate_mac.mm', | 276 'scoped_ns_graphics_context_save_gstate_mac.mm', |
223 'scoped_ui_graphics_push_context_ios.h', | 277 'scoped_ui_graphics_push_context_ios.h', |
224 'scoped_ui_graphics_push_context_ios.mm', | 278 'scoped_ui_graphics_push_context_ios.mm', |
225 'screen.cc', | 279 'screen.cc', |
226 'screen.h', | 280 'screen.h', |
227 'screen_android.cc', | 281 'screen_android.cc', |
228 'screen_aura.cc', | 282 'screen_aura.cc', |
229 'screen_gtk.cc', | 283 'screen_gtk.cc', |
230 'screen_ios.mm', | 284 'screen_ios.mm', |
231 'screen_mac.mm', | 285 'screen_mac.mm', |
232 'screen_win.cc', | 286 'screen_win.cc', |
233 'screen_win.h', | 287 'screen_win.h', |
234 'scrollbar_size.cc', | 288 'scrollbar_size.cc', |
235 'scrollbar_size.h', | 289 'scrollbar_size.h', |
236 'selection_model.cc', | 290 'selection_model.cc', |
237 'selection_model.h', | 291 'selection_model.h', |
238 'sequential_id_generator.cc', | 292 'sequential_id_generator.cc', |
239 'sequential_id_generator.h', | 293 'sequential_id_generator.h', |
240 'shadow_value.cc', | 294 'shadow_value.cc', |
241 'shadow_value.h', | 295 'shadow_value.h', |
242 'size.cc', | |
243 'size.h', | |
244 'size_base.h', | |
245 'size_conversions.cc', | |
246 'size_conversions.h', | |
247 'size_f.cc', | |
248 'size_f.h', | |
249 'skbitmap_operations.cc', | 296 'skbitmap_operations.cc', |
250 'skbitmap_operations.h', | 297 'skbitmap_operations.h', |
251 'skia_util.cc', | 298 'skia_util.cc', |
252 'skia_util.h', | 299 'skia_util.h', |
253 'skia_utils_gtk.cc', | 300 'skia_utils_gtk.cc', |
254 'skia_utils_gtk.h', | 301 'skia_utils_gtk.h', |
255 'switches.cc', | 302 'switches.cc', |
256 'switches.h', | 303 'switches.h', |
257 'sys_color_change_listener.cc', | 304 'sys_color_change_listener.cc', |
258 'sys_color_change_listener.h', | 305 'sys_color_change_listener.h', |
259 'text_constants.h', | 306 'text_constants.h', |
260 'text_elider.cc', | 307 'text_elider.cc', |
261 'text_elider.h', | 308 'text_elider.h', |
262 'text_utils.cc', | 309 'text_utils.cc', |
263 'text_utils.h', | 310 'text_utils.h', |
264 'text_utils_android.cc', | 311 'text_utils_android.cc', |
265 'text_utils_ios.mm', | 312 'text_utils_ios.mm', |
266 'text_utils_skia.cc', | 313 'text_utils_skia.cc', |
267 'transform.cc', | 314 'transform.cc', |
268 'transform.h', | 315 'transform.h', |
269 'transform_util.cc', | 316 'transform_util.cc', |
270 'transform_util.h', | 317 'transform_util.h', |
271 'ui_gfx_exports.cc', | 318 'ui_gfx_exports.cc', |
272 'utf16_indexing.cc', | 319 'utf16_indexing.cc', |
273 'utf16_indexing.h', | 320 'utf16_indexing.h', |
274 'vector2d.cc', | |
275 'vector2d.h', | |
276 'vector2d_conversions.cc', | |
277 'vector2d_conversions.h', | |
278 'vector2d_f.cc', | |
279 'vector2d_f.h', | |
280 'vector3d_f.cc', | |
281 'vector3d_f.h', | |
282 'vsync_provider.h', | 321 'vsync_provider.h', |
283 'win/dpi.cc', | 322 'win/dpi.cc', |
284 'win/dpi.h', | 323 'win/dpi.h', |
285 'win/hwnd_util.cc', | 324 'win/hwnd_util.cc', |
286 'win/hwnd_util.h', | 325 'win/hwnd_util.h', |
287 'win/scoped_set_map_mode.h', | 326 'win/scoped_set_map_mode.h', |
288 'win/singleton_hwnd.cc', | 327 'win/singleton_hwnd.cc', |
289 'win/singleton_hwnd.h', | 328 'win/singleton_hwnd.h', |
290 'win/window_impl.cc', | 329 'win/window_impl.cc', |
291 'win/window_impl.h', | 330 'win/window_impl.h', |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 'variables': { | 465 'variables': { |
427 'jni_gen_package': 'ui/gfx', | 466 'jni_gen_package': 'ui/gfx', |
428 'jni_generator_ptr_type': 'long' | 467 'jni_generator_ptr_type': 'long' |
429 }, | 468 }, |
430 'includes': [ '../../build/jni_generator.gypi' ], | 469 'includes': [ '../../build/jni_generator.gypi' ], |
431 }, | 470 }, |
432 ], | 471 ], |
433 }], | 472 }], |
434 ], | 473 ], |
435 } | 474 } |
OLD | NEW |