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_dri', | 8 'ozone_platform_dri', |
9 ], | 9 ], |
10 'internal_ozone_platform_unittest_deps': [ | 10 'internal_ozone_platform_unittest_deps': [ |
11 'ozone_platform_dri_unittests', | 11 'ozone_platform_dri_unittests', |
12 ], | 12 ], |
13 'internal_ozone_platforms': [ | 13 'internal_ozone_platforms': [ |
14 'dri', | 14 'dri', |
15 ], | 15 ], |
| 16 'use_drm_atomic_flip%': 0, |
16 }, | 17 }, |
17 'targets': [ | 18 'targets': [ |
18 { | 19 { |
19 'target_name': 'ozone_platform_dri', | 20 'target_name': 'ozone_platform_dri', |
20 'type': 'static_library', | 21 'type': 'static_library', |
21 'dependencies': [ | 22 'dependencies': [ |
22 '../../base/base.gyp:base', | 23 '../../base/base.gyp:base', |
23 '../../build/linux/system.gyp:dridrm', | 24 '../../build/linux/system.gyp:dridrm', |
24 '../../skia/skia.gyp:skia', | 25 '../../skia/skia.gyp:skia', |
25 '../base/ui_base.gyp:ui_base', | 26 '../base/ui_base.gyp:ui_base', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'ozone_platform_dri.cc', | 62 'ozone_platform_dri.cc', |
62 'ozone_platform_dri.h', | 63 'ozone_platform_dri.h', |
63 'scoped_drm_types.cc', | 64 'scoped_drm_types.cc', |
64 'scoped_drm_types.h', | 65 'scoped_drm_types.h', |
65 'screen_manager.cc', | 66 'screen_manager.cc', |
66 'screen_manager.h', | 67 'screen_manager.h', |
67 'scanout_surface.h', | 68 'scanout_surface.h', |
68 'virtual_terminal_manager.cc', | 69 'virtual_terminal_manager.cc', |
69 'virtual_terminal_manager.h', | 70 'virtual_terminal_manager.h', |
70 ], | 71 ], |
| 72 'conditions': [ |
| 73 ['use_drm_atomic_flip==1', { |
| 74 'sources': [ |
| 75 'hardware_display_plane.cc', |
| 76 'hardware_display_plane.h', |
| 77 ], |
| 78 }], |
| 79 ], |
71 }, | 80 }, |
72 { | 81 { |
73 'target_name': 'ozone_platform_dri_unittests', | 82 'target_name': 'ozone_platform_dri_unittests', |
74 'type': 'none', | 83 'type': 'none', |
75 'dependencies': [ | 84 'dependencies': [ |
76 '../../build/linux/system.gyp:dridrm', | 85 '../../build/linux/system.gyp:dridrm', |
77 '../../skia/skia.gyp:skia', | 86 '../../skia/skia.gyp:skia', |
78 '../gfx/gfx.gyp:gfx_geometry', | 87 '../gfx/gfx.gyp:gfx_geometry', |
79 'ozone_platform_dri', | 88 'ozone_platform_dri', |
80 ], | 89 ], |
(...skipping 12 matching lines...) Expand all Loading... |
93 'test/mock_dri_surface.h', | 102 'test/mock_dri_surface.h', |
94 'test/mock_dri_wrapper.cc', | 103 'test/mock_dri_wrapper.cc', |
95 'test/mock_dri_wrapper.h', | 104 'test/mock_dri_wrapper.h', |
96 'test/mock_surface_generator.cc', | 105 'test/mock_surface_generator.cc', |
97 'test/mock_surface_generator.h', | 106 'test/mock_surface_generator.h', |
98 ], | 107 ], |
99 }, | 108 }, |
100 }, | 109 }, |
101 ], | 110 ], |
102 } | 111 } |
OLD | NEW |