| 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.
|
|
|