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 # GN version: //ui/accelerated_widget_mac | 11 # GN version: //ui/accelerated_widget_mac |
12 'target_name': 'accelerated_widget_mac', | 12 'target_name': 'accelerated_widget_mac', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'sources': [ | 14 'sources': [ |
15 'accelerated_widget_mac.h', | 15 'accelerated_widget_mac.h', |
16 'accelerated_widget_mac.mm', | 16 'accelerated_widget_mac.mm', |
17 'accelerated_widget_mac_export.h', | 17 'accelerated_widget_mac_export.h', |
18 'display_link_mac.cc', | 18 'display_link_mac.cc', |
19 'display_link_mac.h', | 19 'display_link_mac.h', |
20 'io_surface_context.h', | 20 'io_surface_context.h', |
21 'io_surface_context.mm', | 21 'io_surface_context.mm', |
22 'io_surface_layer.h', | 22 'io_surface_layer.h', |
23 'io_surface_layer.mm', | 23 'io_surface_layer.mm', |
24 'io_surface_texture.h', | 24 'io_surface_texture.h', |
25 'io_surface_texture.mm', | 25 'io_surface_texture.mm', |
26 'software_layer.h', | 26 'software_layer.h', |
27 'software_layer.mm', | 27 'software_layer.mm', |
28 'surface_handle_types.cc', | 28 'surface_handle_types.cc', |
29 'surface_handle_types.h', | 29 'surface_handle_types.h', |
| 30 'window_resize_helper_mac.cc', |
| 31 'window_resize_helper_mac.h', |
30 ], | 32 ], |
31 'defines': [ | 33 'defines': [ |
32 'ACCELERATED_WIDGET_MAC_IMPLEMENTATION', | 34 'ACCELERATED_WIDGET_MAC_IMPLEMENTATION', |
33 ], | 35 ], |
34 'dependencies': [ | 36 'dependencies': [ |
35 '<(DEPTH)/base/base.gyp:base', | 37 '<(DEPTH)/base/base.gyp:base', |
36 '<(DEPTH)/skia/skia.gyp:skia', | 38 '<(DEPTH)/skia/skia.gyp:skia', |
37 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | 39 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
38 '<(DEPTH)/ui/events/events.gyp:events_base', | 40 '<(DEPTH)/ui/events/events.gyp:events_base', |
39 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 41 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
40 '<(DEPTH)/ui/gl/gl.gyp:gl', | 42 '<(DEPTH)/ui/gl/gl.gyp:gl', |
41 ], | 43 ], |
42 'link_settings': { | 44 'link_settings': { |
43 'libraries': [ | 45 'libraries': [ |
44 # Required by io_surface_texture.mm. | 46 # Required by io_surface_texture.mm. |
45 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', | 47 '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', |
46 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 48 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
47 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 49 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
48 ], | 50 ], |
49 }, | 51 }, |
50 }, | 52 }, |
51 ], | 53 ], |
52 } | 54 } |
OLD | NEW |