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': [ |
| 11 'ozone_platform_dri_unittests', |
| 12 ], |
10 'internal_ozone_platforms': [ | 13 'internal_ozone_platforms': [ |
11 'dri', | 14 'dri', |
12 ], | 15 ], |
13 }, | 16 }, |
14 'targets': [ | 17 'targets': [ |
15 { | 18 { |
16 'target_name': 'ozone_platform_dri', | 19 'target_name': 'ozone_platform_dri', |
17 'type': 'static_library', | 20 'type': 'static_library', |
18 'dependencies': [ | 21 'dependencies': [ |
19 '../../base/base.gyp:base', | 22 '../../base/base.gyp:base', |
20 '../../build/linux/system.gyp:dridrm', | 23 '../../build/linux/system.gyp:dridrm', |
21 '../../skia/skia.gyp:skia', | 24 '../../skia/skia.gyp:skia', |
22 '../base/ui_base.gyp:ui_base', | 25 '../base/ui_base.gyp:ui_base', |
23 '../display/display.gyp:display_types', | 26 '../display/display.gyp:display_types', |
24 '../display/display.gyp:display_util', | 27 '../display/display.gyp:display_util', |
25 '../events/events.gyp:events', | 28 '../events/events.gyp:events', |
26 '../events/ozone/events_ozone.gyp:events_ozone_evdev', | 29 '../events/ozone/events_ozone.gyp:events_ozone_evdev', |
27 '../gfx/gfx.gyp:gfx', | 30 '../gfx/gfx.gyp:gfx', |
28 '../gfx/gfx.gyp:gfx_geometry', | 31 '../gfx/gfx.gyp:gfx_geometry', |
| 32 '../gfx/ozone/gfx_ozone.gyp:gfx_ozone', |
29 ], | 33 ], |
30 'defines': [ | 34 'defines': [ |
31 'OZONE_IMPLEMENTATION', | 35 'OZONE_IMPLEMENTATION', |
32 ], | 36 ], |
33 'sources': [ | 37 'sources': [ |
34 'chromeos/display_mode_dri.cc', | 38 'chromeos/display_mode_dri.cc', |
35 'chromeos/display_mode_dri.h', | 39 'chromeos/display_mode_dri.h', |
36 'chromeos/display_snapshot_dri.cc', | 40 'chromeos/display_snapshot_dri.cc', |
37 'chromeos/display_snapshot_dri.h', | 41 'chromeos/display_snapshot_dri.h', |
38 'chromeos/native_display_delegate_dri.cc', | 42 'chromeos/native_display_delegate_dri.cc', |
(...skipping 14 matching lines...) Expand all Loading... |
53 'dri_wrapper.h', | 57 'dri_wrapper.h', |
54 'hardware_display_controller.cc', | 58 'hardware_display_controller.cc', |
55 'hardware_display_controller.h', | 59 'hardware_display_controller.h', |
56 'ozone_platform_dri.cc', | 60 'ozone_platform_dri.cc', |
57 'ozone_platform_dri.h', | 61 'ozone_platform_dri.h', |
58 'screen_manager.cc', | 62 'screen_manager.cc', |
59 'screen_manager.h', | 63 'screen_manager.h', |
60 'scanout_surface.h', | 64 'scanout_surface.h', |
61 ], | 65 ], |
62 }, | 66 }, |
| 67 { |
| 68 'target_name': 'ozone_platform_dri_unittests', |
| 69 'type': 'none', |
| 70 'dependencies': [ |
| 71 '../../build/linux/system.gyp:dridrm', |
| 72 '../../skia/skia.gyp:skia', |
| 73 '../gfx/gfx.gyp:gfx_geometry', |
| 74 '../gfx/ozone/gfx_ozone.gyp:gfx_ozone', |
| 75 ], |
| 76 'export_dependent_settings': [ |
| 77 '../../build/linux/system.gyp:dridrm', |
| 78 '../../skia/skia.gyp:skia', |
| 79 '../gfx/gfx.gyp:gfx_geometry', |
| 80 '../gfx/ozone/gfx_ozone.gyp:gfx_ozone', |
| 81 ], |
| 82 'direct_dependent_settings': { |
| 83 'sources': [ |
| 84 'dri_surface_factory_unittest.cc', |
| 85 'dri_surface_unittest.cc', |
| 86 'hardware_display_controller_unittest.cc', |
| 87 'screen_manager_unittest.cc', |
| 88 'test/mock_dri_surface.cc', |
| 89 'test/mock_dri_surface.h', |
| 90 'test/mock_dri_wrapper.cc', |
| 91 'test/mock_dri_wrapper.h', |
| 92 'test/mock_surface_generator.cc', |
| 93 'test/mock_surface_generator.h', |
| 94 ], |
| 95 }, |
| 96 }, |
63 ], | 97 ], |
64 } | 98 } |
OLD | NEW |