libdrm.gn (478B)
1 # Copyright 2017 The Chromium Authors 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//chromium/build/config/linux/pkg_config.gni") 6 import("//chromium/build/shim_headers.gni") 7 8 pkg_config("system_libdrm") { 9 packages = [ "libdrm" ] 10 } 11 12 shim_headers("libdrm_shim") { 13 root_path = "src/include" 14 headers = [ "drm.h" ] 15 } 16 17 source_set("libdrm") { 18 deps = [ ":libdrm_shim" ] 19 public_configs = [ ":system_libdrm" ] 20 }