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': [ |