Fix some clang warnings with -Wmissing-braces in rlz.
[chromium-blink-merge.git] / ui / accelerated_widget_mac / accelerated_widget_mac.gyp
blob8de70684953b99695b91f9746b9e2296c118a7c6
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
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       # GN version: //ui/accelerated_widget_mac
12       'target_name': 'accelerated_widget_mac',
13       'type': '<(component)',
14       'sources': [
15         'accelerated_widget_mac.h',
16         'accelerated_widget_mac.mm',
17         'accelerated_widget_mac_export.h',
18         'display_link_mac.cc',
19         'display_link_mac.h',
20         'io_surface_context.h',
21         'io_surface_context.mm',
22         'io_surface_layer.h',
23         'io_surface_layer.mm',
24         'io_surface_texture.h',
25         'io_surface_texture.mm',
26         'software_layer.h',
27         'software_layer.mm',
28         'surface_handle_types.cc',
29         'surface_handle_types.h',
30       ],
31       'defines': [
32         'ACCELERATED_WIDGET_MAC_IMPLEMENTATION',
33       ],
34       'dependencies': [
35         '<(DEPTH)/base/base.gyp:base',
36         '<(DEPTH)/skia/skia.gyp:skia',
37         '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
38         '<(DEPTH)/ui/events/events.gyp:events_base',
39         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
40         '<(DEPTH)/ui/gl/gl.gyp:gl',
41       ],
42       'link_settings': {
43         'libraries': [
44           # Required by io_surface_texture.mm.
45           '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
46           '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
47           '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
48         ],
49       },
50     },
51   ],