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

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

Issue 2594483002: third_party: Add libdrm. (Closed)
Patch Set: Add libdrm deps to gbm_unittests. Created 4 years 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 | « third_party/minigbm/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/BUILD.gn
diff --git a/ui/ozone/platform/drm/BUILD.gn b/ui/ozone/platform/drm/BUILD.gn
index a0d97814f421420e40afb1ad3e48f8973444b890..28e335d9cc5b3e5b5c6d884257f877991c079a70 100644
--- a/ui/ozone/platform/drm/BUILD.gn
+++ b/ui/ozone/platform/drm/BUILD.gn
@@ -11,10 +11,6 @@ declare_args() {
visibility = [ "//ui/ozone/*" ]
-pkg_config("libdrm") {
- packages = [ "libdrm" ]
-}
-
config("drm_atomic") {
if (use_drm_atomic) {
defines = [ "USE_DRM_ATOMIC" ]
@@ -129,6 +125,7 @@ source_set("gbm") {
"//services/service_manager/public/cpp:sources",
"//services/ui/public/interfaces:constants",
"//skia",
+ "//third_party/libdrm",
"//third_party/minigbm",
"//ui/base",
"//ui/display",
@@ -150,8 +147,6 @@ source_set("gbm") {
"//ui/platform_window",
]
- configs += [ ":libdrm" ]
-
public_configs = [ "//third_party/khronos:khronos_headers" ]
defines = [ "OZONE_IMPLEMENTATION" ]
@@ -194,10 +189,9 @@ source_set("gbm_unittests") {
":gbm",
"//skia",
"//testing/gtest",
+ "//third_party/libdrm",
"//ui/gfx",
"//ui/ozone:platform",
"//ui/ozone/common",
]
-
- public_configs = [ ":libdrm" ]
}
« no previous file with comments | « third_party/minigbm/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698