Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/minigbm/minigbm.gyp

Issue 1341473003: Add Chrome OS's minigbm library to third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update default Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/minigbm/README.chromium ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/minigbm/minigbm.gyp
diff --git a/third_party/minigbm/minigbm.gyp b/third_party/minigbm/minigbm.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..564f0e89501fff8af46cd27e130d2e4dd44052a0
--- /dev/null
+++ b/third_party/minigbm/minigbm.gyp
@@ -0,0 +1,62 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'use_system_minigbm%': 0,
+ },
+ 'conditions': [
+ ['use_system_minigbm==0', {
+ 'targets': [
+ {
+ 'target_name': 'minigbm',
+ 'type': 'static_library',
+ 'dependencies' : [
+ '../../build/linux/system.gyp:libdrm',
+ ],
+ 'sources': [
+ 'src/cirrus.c',
+ 'src/exynos.c',
+ 'src/gbm.c',
+ 'src/gma500.c',
+ 'src/helpers.c',
+ 'src/i915.c',
+ 'src/mediatek.c',
+ 'src/rockchip.c',
+ 'src/tegra.c',
+ 'src/udl.c',
+ ],
+ 'include_dirs': [
+ 'src',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'src',
+ ],
+ },
+ },
+ ],
+ }, { # 'use_system_minigbm!=0
+ 'targets': [
+ {
+ 'target_name': 'minigbm',
+ 'type': 'none',
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags gbm)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other gbm)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l gbm)',
+ ],
+ },
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « third_party/minigbm/README.chromium ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698