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 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
8 'ozone_platform_gbm', | 8 'ozone_platform_gbm', |
9 ], | 9 ], |
10 'internal_ozone_platform_unittest_deps': [ | 10 'internal_ozone_platform_unittest_deps': [ |
11 'ozone_platform_gbm_unittests', | 11 'ozone_platform_gbm_unittests', |
12 ], | 12 ], |
13 'internal_ozone_platforms': [ | 13 'internal_ozone_platforms': [ |
14 'gbm', | 14 'gbm', |
15 ], | 15 ], |
16 'use_mesa_platform_null%': 0, | 16 'use_mesa_platform_null%': 0, |
17 | 17 |
18 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. | |
19 # crbug.com/519587 | |
20 'use_vgem_map%': 0, | |
21 | |
22 'use_drm_atomic%': 0, | 18 'use_drm_atomic%': 0, |
23 }, | 19 }, |
24 'targets': [ | 20 'targets': [ |
25 { | 21 { |
26 'target_name': 'ozone_platform_gbm', | 22 'target_name': 'ozone_platform_gbm', |
27 'type': 'static_library', | 23 'type': 'static_library', |
28 'dependencies': [ | 24 'dependencies': [ |
29 '../../base/base.gyp:base', | 25 '../../base/base.gyp:base', |
30 '../../build/linux/system.gyp:libdrm', | 26 '../../build/linux/system.gyp:libdrm', |
31 '../../third_party/minigbm/minigbm.gyp:minigbm', | 27 '../../third_party/minigbm/minigbm.gyp:minigbm', |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'host/drm_overlay_manager.h', | 125 'host/drm_overlay_manager.h', |
130 'host/drm_window_host.cc', | 126 'host/drm_window_host.cc', |
131 'host/drm_window_host.h', | 127 'host/drm_window_host.h', |
132 'host/drm_window_host_manager.cc', | 128 'host/drm_window_host_manager.cc', |
133 'host/drm_window_host_manager.h', | 129 'host/drm_window_host_manager.h', |
134 'ozone_platform_gbm.cc', | 130 'ozone_platform_gbm.cc', |
135 'ozone_platform_gbm.h', | 131 'ozone_platform_gbm.h', |
136 ], | 132 ], |
137 'conditions': [ | 133 'conditions': [ |
138 ['use_vgem_map==1', { | 134 ['use_vgem_map==1', { |
139 'defines': ['USE_VGEM_MAP'], | 135 'dependencies': [ |
| 136 '../ozone/ozone.gyp:vgem_map', |
| 137 ], |
140 'sources': [ | 138 'sources': [ |
141 'gpu/client_native_pixmap_vgem.cc', | 139 'gpu/client_native_pixmap_vgem.cc', |
142 'gpu/client_native_pixmap_vgem.h', | 140 'gpu/client_native_pixmap_vgem.h', |
143 ], | 141 ], |
144 }], | 142 }], |
145 ['use_drm_atomic == 1', { | 143 ['use_drm_atomic == 1', { |
146 'sources': [ | 144 'sources': [ |
147 'gpu/hardware_display_plane_atomic.cc', | 145 'gpu/hardware_display_plane_atomic.cc', |
148 'gpu/hardware_display_plane_atomic.h', | 146 'gpu/hardware_display_plane_atomic.h', |
149 'gpu/hardware_display_plane_manager_atomic.cc', | 147 'gpu/hardware_display_plane_manager_atomic.cc', |
(...skipping 26 matching lines...) Expand all Loading... |
176 'gpu/hardware_display_controller_unittest.cc', | 174 'gpu/hardware_display_controller_unittest.cc', |
177 'gpu/hardware_display_plane_manager_unittest.cc', | 175 'gpu/hardware_display_plane_manager_unittest.cc', |
178 'gpu/screen_manager_unittest.cc', | 176 'gpu/screen_manager_unittest.cc', |
179 'test/mock_drm_device.cc', | 177 'test/mock_drm_device.cc', |
180 'test/mock_drm_device.h', | 178 'test/mock_drm_device.h', |
181 ], | 179 ], |
182 }, | 180 }, |
183 }, | 181 }, |
184 ], | 182 ], |
185 } | 183 } |
OLD | NEW |