Commit b4b97a7b authored by Sergey Volk's avatar Sergey Volk Committed by Commit Bot

Add libdrm_exynos_include_config in third_party/libdrm/BUILD.gn

We need it to be build libminigbm.so with use_exynos_backend=true

Bug: none
Change-Id: I35d9ee0971832eff51cca5fa40e386157c627a79
Reviewed-on: https://chromium-review.googlesource.com/957979Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Commit-Queue: Sergey Volk <servolk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542389}
parent d7f711f2
...@@ -33,6 +33,10 @@ if (!use_system_libdrm) { ...@@ -33,6 +33,10 @@ if (!use_system_libdrm) {
} }
} }
config("libdrm_exynos_include_config") {
include_dirs = [ "//third_party/libdrm/src/exynos" ]
}
static_library("libdrm") { static_library("libdrm") {
sources = [ sources = [
"src/xf86drm.c", "src/xf86drm.c",
......
...@@ -99,6 +99,10 @@ if (!use_system_minigbm) { ...@@ -99,6 +99,10 @@ if (!use_system_minigbm) {
] ]
public_configs = [ ":minigbm_config" ] public_configs = [ ":minigbm_config" ]
if (use_exynos_minigbm) {
configs += [ "//third_party/libdrm:libdrm_exynos_include_config" ]
}
# Clients need this to pick up the shared library correctly. # Clients need this to pick up the shared library correctly.
all_dependent_configs = all_dependent_configs =
[ "//build/config/gcc:rpath_for_built_shared_libraries" ] [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment