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

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: . 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
Index: build/linux/system.gyp
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index d81b8d4e09ef15ccb8c2e5ff1dff5d22e606d8b2..52398d8c223c7d72fd6a409d24c5b14bb196b0b9 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': 'dridrm',
spang 2014/07/29 21:43:03 while you're here, fix the name.
dnicoara 2014/07/29 21:50:49 Done.
+ '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': [

Powered by Google App Engine
This is Rietveld 408576698