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

Unified Diff: third_party/minigbm/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/libdrm/README.chromium ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/minigbm/BUILD.gn
diff --git a/third_party/minigbm/BUILD.gn b/third_party/minigbm/BUILD.gn
index d96d51fbe80da3b81574a389afbc8c7d4cea14c3..f0eb52013b33d6d1960d6b9f23299593fbbec108 100644
--- a/third_party/minigbm/BUILD.gn
+++ b/third_party/minigbm/BUILD.gn
@@ -19,10 +19,6 @@ if (!use_system_minigbm) {
include_dirs = [ "src" ]
}
- pkg_config("libdrm") {
- packages = [ "libdrm" ]
- }
-
shared_library("minigbm") {
sources = [
"src/amdgpu.c",
@@ -45,11 +41,11 @@ if (!use_system_minigbm) {
]
configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [
- ":libdrm",
- "//build/config/compiler:no_chromium_code",
- ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ deps = [
+ "//third_party/libdrm",
+ ]
public_configs = [ ":minigbm_config" ]
# Clients need this to pick up the shared library correctly.
« no previous file with comments | « third_party/libdrm/README.chromium ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698