| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 | 6 |
| 7 assert(is_linux) | 7 assert(is_linux) |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # Controls whether the build should use the version of minigbm library | 10 # Controls whether the build should use the version of minigbm library |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "src/exynos.c", | 30 "src/exynos.c", |
| 31 "src/gbm.c", | 31 "src/gbm.c", |
| 32 "src/gma500.c", | 32 "src/gma500.c", |
| 33 "src/helpers.c", | 33 "src/helpers.c", |
| 34 "src/i915.c", | 34 "src/i915.c", |
| 35 "src/marvell.c", | 35 "src/marvell.c", |
| 36 "src/mediatek.c", | 36 "src/mediatek.c", |
| 37 "src/rockchip.c", | 37 "src/rockchip.c", |
| 38 "src/tegra.c", | 38 "src/tegra.c", |
| 39 "src/udl.c", | 39 "src/udl.c", |
| 40 "src/virtio_gpu.c", |
| 40 ] | 41 ] |
| 41 | 42 |
| 42 configs -= [ "//build/config/compiler:chromium_code" ] | 43 configs -= [ "//build/config/compiler:chromium_code" ] |
| 43 configs += [ | 44 configs += [ |
| 44 ":libdrm", | 45 ":libdrm", |
| 45 "//build/config/compiler:no_chromium_code", | 46 "//build/config/compiler:no_chromium_code", |
| 46 ] | 47 ] |
| 47 | 48 |
| 48 public_configs = [ ":minigbm_config" ] | 49 public_configs = [ ":minigbm_config" ] |
| 49 } | 50 } |
| 50 } | 51 } |
| 51 | 52 |
| 52 if (use_system_minigbm) { | 53 if (use_system_minigbm) { |
| 53 pkg_config("libgbm") { | 54 pkg_config("libgbm") { |
| 54 packages = [ "gbm" ] | 55 packages = [ "gbm" ] |
| 55 } | 56 } |
| 56 | 57 |
| 57 group("minigbm") { | 58 group("minigbm") { |
| 58 public_configs = [ ":libgbm" ] | 59 public_configs = [ ":libgbm" ] |
| 59 } | 60 } |
| 60 } | 61 } |
| OLD | NEW |