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

Unified Diff: build/linux/system.gyp

Issue 427853004: Move libdrm target behind conditional (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 5 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 | « build/config/linux/BUILD.gn ('k') | ui/ozone/platform/dri/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/system.gyp
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index d81b8d4e09ef15ccb8c2e5ff1dff5d22e606d8b2..e6c5a026d7dc1be0c0c5c9b325c13a16ef864433 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -416,6 +416,24 @@
},
],
}],
+ ['ozone_platform_dri==1 or ozone_platform_gbm==1', {
+ 'targets': [
+ {
+ 'target_name': 'libdrm',
+ 'type': 'none',
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags libdrm)',
+ ],
+ },
+ 'link_settings': {
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l libdrm)',
+ ],
+ },
+ },
+ ],
+ }],
], # conditions
'targets': [
{
@@ -436,20 +454,6 @@
},
},
{
- 'target_name': 'dridrm',
- 'type': 'none',
- 'direct_dependent_settings': {
- 'cflags': [
- '<!@(<(pkg-config) --cflags libdrm)',
- ],
- },
- 'link_settings': {
- 'libraries': [
- '<!@(<(pkg-config) --libs-only-l libdrm)',
- ],
- },
- },
- {
'target_name': 'fontconfig',
'type': 'none',
'conditions': [
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | ui/ozone/platform/dri/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698