| 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 15 matching lines...) Expand all Loading... |
| 26 "src/drv.c", | 26 "src/drv.c", |
| 27 "src/evdi.c", | 27 "src/evdi.c", |
| 28 "src/exynos.c", | 28 "src/exynos.c", |
| 29 "src/gbm.c", | 29 "src/gbm.c", |
| 30 "src/gbm_helpers.c", | 30 "src/gbm_helpers.c", |
| 31 "src/gma500.c", | 31 "src/gma500.c", |
| 32 "src/helpers.c", | 32 "src/helpers.c", |
| 33 "src/i915.c", | 33 "src/i915.c", |
| 34 "src/marvell.c", | 34 "src/marvell.c", |
| 35 "src/mediatek.c", | 35 "src/mediatek.c", |
| 36 "src/nouveau.c", |
| 36 "src/rockchip.c", | 37 "src/rockchip.c", |
| 37 "src/tegra.c", | 38 "src/tegra.c", |
| 38 "src/udl.c", | 39 "src/udl.c", |
| 39 "src/vgem.c", | 40 "src/vgem.c", |
| 40 "src/virtio_gpu.c", | 41 "src/virtio_gpu.c", |
| 41 ] | 42 ] |
| 42 | 43 |
| 43 configs -= [ "//build/config/compiler:chromium_code" ] | 44 configs -= [ "//build/config/compiler:chromium_code" ] |
| 44 configs += [ "//build/config/compiler:no_chromium_code" ] | 45 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 45 | 46 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 56 | 57 |
| 57 if (use_system_minigbm) { | 58 if (use_system_minigbm) { |
| 58 pkg_config("libgbm") { | 59 pkg_config("libgbm") { |
| 59 packages = [ "gbm" ] | 60 packages = [ "gbm" ] |
| 60 } | 61 } |
| 61 | 62 |
| 62 group("minigbm") { | 63 group("minigbm") { |
| 63 public_configs = [ ":libgbm" ] | 64 public_configs = [ ":libgbm" ] |
| 64 } | 65 } |
| 65 } | 66 } |
| OLD | NEW |