Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 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("//build/config/linux/pkg_config.gni") | |
| 6 | |
| 7 pkg_config("dri") { | |
| 8 packages = [ "dri" ] | |
| 9 dri_driver_dir = exec_script(pkg_config_script, | |
| 10 pkg_config_args + [ | |
| 11 "--dridriverdir", | |
| 12 "dri", | |
| 13 ], | |
| 14 "string") | |
| 15 defines = [ "DRI_DRIVER_DIR=\"$dri_driver_dir\"" ] | |
|
Julien Isorce Samsung
2016/10/07 15:26:37
Maybe I can also put "swrast_dri.so" in a define h
| |
| 16 } | |
| OLD | NEW |