Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1345)

Unified Diff: ui/ozone/platform/dri/BUILD.gn

Issue 886323004: ozone: dri: Fix undefined references in DRI platform GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also fix gyp build Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/dri/crtc_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/BUILD.gn
diff --git a/ui/ozone/platform/dri/BUILD.gn b/ui/ozone/platform/dri/BUILD.gn
index b2f047629441d09a84f42d5e4358ef24045334ae..f1fd02ca7c5db2d2158fbbc70f543e1e748343ee 100644
--- a/ui/ozone/platform/dri/BUILD.gn
+++ b/ui/ozone/platform/dri/BUILD.gn
@@ -75,6 +75,8 @@ source_set("dri_common") {
"scanout_buffer.h",
]
+ defines = [ "OZONE_IMPLEMENTATION" ]
+
deps = [
"//base",
"//skia",
@@ -116,17 +118,19 @@ if (ozone_platform_dri) {
"dri_surface_unittest.cc",
"dri_window_delegate_impl_unittest.cc",
"hardware_display_controller_unittest.cc",
- "hardware_display_manager_unittest.cc",
+ "hardware_display_plane_manager_unittest.cc",
"screen_manager_unittest.cc",
"test/mock_dri_wrapper.cc",
"test/mock_dri_wrapper.h",
]
deps = [
- ":dri_common",
"//skia",
"//testing/gtest",
+ "//ui/ozone",
]
+
+ public_configs = [ ":libdrm" ]
}
}
« no previous file with comments | « no previous file | ui/ozone/platform/dri/crtc_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698