| 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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 import("//ui/ozone/ozone.gni") | 6 import("//ui/ozone/ozone.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 use_mesa_platform_null = false | 9 use_mesa_platform_null = false |
| 10 use_drm_atomic = false | 10 use_drm_atomic = false |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 129 } |
| 130 | 130 |
| 131 source_set("drm_unittests") { | 131 source_set("drm_unittests") { |
| 132 testonly = true | 132 testonly = true |
| 133 sources = [ | 133 sources = [ |
| 134 "gpu/drm_surface_unittest.cc", | 134 "gpu/drm_surface_unittest.cc", |
| 135 "gpu/drm_window_unittest.cc", | 135 "gpu/drm_window_unittest.cc", |
| 136 "gpu/hardware_display_controller_unittest.cc", | 136 "gpu/hardware_display_controller_unittest.cc", |
| 137 "gpu/hardware_display_plane_manager_unittest.cc", | 137 "gpu/hardware_display_plane_manager_unittest.cc", |
| 138 "gpu/screen_manager_unittest.cc", | 138 "gpu/screen_manager_unittest.cc", |
| 139 "test/mock_drm_wrapper.cc", | 139 "test/mock_drm_device.cc", |
| 140 "test/mock_drm_wrapper.h", | 140 "test/mock_drm_device.h", |
| 141 ] | 141 ] |
| 142 | 142 |
| 143 deps = [ | 143 deps = [ |
| 144 "//skia", | 144 "//skia", |
| 145 "//testing/gtest", | 145 "//testing/gtest", |
| 146 "//ui/ozone", | 146 "//ui/ozone", |
| 147 ] | 147 ] |
| 148 | 148 |
| 149 public_configs = [ ":libdrm" ] | 149 public_configs = [ ":libdrm" ] |
| 150 } | 150 } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 181 "//ui/events/ozone:events_ozone_layout", | 181 "//ui/events/ozone:events_ozone_layout", |
| 182 ] | 182 ] |
| 183 | 183 |
| 184 public_configs = [ ":libgbm" ] | 184 public_configs = [ ":libgbm" ] |
| 185 | 185 |
| 186 if (use_mesa_platform_null) { | 186 if (use_mesa_platform_null) { |
| 187 defines += [ "USE_MESA_PLATFORM_NULL" ] | 187 defines += [ "USE_MESA_PLATFORM_NULL" ] |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 } | 190 } |
| OLD | NEW |