OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'use_system_minigbm%': 0, |
| 8 }, |
| 9 'conditions': [ |
| 10 ['use_system_minigbm==0', { |
| 11 'targets': [ |
| 12 { |
| 13 'target_name': 'minigbm', |
| 14 'type': 'static_library', |
| 15 'dependencies' : [ |
| 16 '../../build/linux/system.gyp:libdrm', |
| 17 ], |
| 18 'sources': [ |
| 19 'src/cirrus.c', |
| 20 'src/exynos.c', |
| 21 'src/gbm.c', |
| 22 'src/gma500.c', |
| 23 'src/helpers.c', |
| 24 'src/i915.c', |
| 25 'src/mediatek.c', |
| 26 'src/rockchip.c', |
| 27 'src/tegra.c', |
| 28 'src/udl.c', |
| 29 ], |
| 30 'include_dirs': [ |
| 31 'src', |
| 32 ], |
| 33 'direct_dependent_settings': { |
| 34 'include_dirs': [ |
| 35 'src', |
| 36 ], |
| 37 }, |
| 38 }, |
| 39 ], |
| 40 }, { # 'use_system_minigbm!=0 |
| 41 'targets': [ |
| 42 { |
| 43 'target_name': 'minigbm', |
| 44 'type': 'none', |
| 45 'direct_dependent_settings': { |
| 46 'cflags': [ |
| 47 '<!@(<(pkg-config) --cflags gbm)', |
| 48 ], |
| 49 }, |
| 50 'link_settings': { |
| 51 'ldflags': [ |
| 52 '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)', |
| 53 ], |
| 54 'libraries': [ |
| 55 '<!@(<(pkg-config) --libs-only-l gbm)', |
| 56 ], |
| 57 }, |
| 58 }, |
| 59 ], |
| 60 }], |
| 61 ], |
| 62 } |
OLD | NEW |