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 'ca_layer_partial_damage_tree_mac.h', |
| 19 'ca_layer_partial_damage_tree_mac.mm', |
| 20 'ca_layer_tree_mac.h', |
| 21 'ca_layer_tree_mac.mm', |
18 'display_link_mac.cc', | 22 'display_link_mac.cc', |
19 'display_link_mac.h', | 23 'display_link_mac.h', |
20 'io_surface_context.h', | 24 'io_surface_context.h', |
21 'io_surface_context.mm', | 25 'io_surface_context.mm', |
22 'window_resize_helper_mac.cc', | 26 'window_resize_helper_mac.cc', |
23 'window_resize_helper_mac.h', | 27 'window_resize_helper_mac.h', |
24 ], | 28 ], |
25 'defines': [ | 29 'defines': [ |
26 'ACCELERATED_WIDGET_MAC_IMPLEMENTATION', | 30 'ACCELERATED_WIDGET_MAC_IMPLEMENTATION', |
27 ], | 31 ], |
28 'dependencies': [ | 32 'dependencies': [ |
29 '<(DEPTH)/base/base.gyp:base', | 33 '<(DEPTH)/base/base.gyp:base', |
30 '<(DEPTH)/skia/skia.gyp:skia', | 34 '<(DEPTH)/skia/skia.gyp:skia', |
| 35 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers', |
31 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | 36 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
32 '<(DEPTH)/ui/events/events.gyp:events_base', | 37 '<(DEPTH)/ui/events/events.gyp:events_base', |
| 38 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
33 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 39 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
34 '<(DEPTH)/ui/gl/gl.gyp:gl', | 40 '<(DEPTH)/ui/gl/gl.gyp:gl', |
35 ], | 41 ], |
36 'link_settings': { | 42 'link_settings': { |
37 'libraries': [ | 43 'libraries': [ |
| 44 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
| 45 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', |
| 46 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 47 ], |
| 48 }, |
| 49 }, |
| 50 { |
| 51 # GN version: //ui/accelerated_widget_mac:accelerated_widget_mac_unittests |
| 52 'target_name': 'accelerated_widget_mac_unittests', |
| 53 'type': '<(gtest_target_type)', |
| 54 'dependencies': [ |
| 55 '<(DEPTH)/base/base.gyp:base', |
| 56 '<(DEPTH)/base/base.gyp:run_all_unittests', |
| 57 '<(DEPTH)/base/base.gyp:test_support_base', |
| 58 '<(DEPTH)/skia/skia.gyp:skia', |
| 59 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 60 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 61 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_test_support', |
| 62 'accelerated_widget_mac', |
| 63 ], |
| 64 'sources': [ |
| 65 'ca_layer_tree_unittest_mac.mm', |
| 66 ], |
| 67 'link_settings': { |
| 68 'libraries': [ |
38 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 69 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
39 ], | 70 ], |
40 }, | 71 }, |
41 }, | 72 }, |
42 ], | 73 ], |
43 } | 74 } |
OLD | NEW |