| Index: build/linux/system.gyp
|
| diff --git a/build/linux/system.gyp b/build/linux/system.gyp
|
| index e33f22d4ee0fb247e70b004a1c2fe3cf649e80ed..d33bdf420f351c07b70e4b7cd2e1e17e48869bab 100644
|
| --- a/build/linux/system.gyp
|
| +++ b/build/linux/system.gyp
|
| @@ -438,6 +438,31 @@
|
| },
|
| ],
|
| }],
|
| + ['use_udev==1', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'udev',
|
| + 'type': 'none',
|
| + 'conditions': [
|
| + ['_toolset=="target"', {
|
| + 'direct_dependent_settings': {
|
| + 'cflags': [
|
| + '<!@(<(pkg-config) --cflags libudev)'
|
| + ],
|
| + },
|
| + 'link_settings': {
|
| + 'ldflags': [
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)',
|
| + ],
|
| + 'libraries': [
|
| + '<!@(<(pkg-config) --libs-only-l libudev)',
|
| + ],
|
| + },
|
| + }],
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| ], # conditions
|
| 'targets': [
|
| {
|
| @@ -1032,27 +1057,5 @@
|
| }],
|
| ],
|
| },
|
| - {
|
| - 'target_name': 'udev',
|
| - 'type': 'none',
|
| - 'conditions': [
|
| - # libudev is not available on *BSD
|
| - ['_toolset=="target" and os_bsd!=1', {
|
| - 'direct_dependent_settings': {
|
| - 'cflags': [
|
| - '<!@(<(pkg-config) --cflags libudev)'
|
| - ],
|
| - },
|
| - 'link_settings': {
|
| - 'ldflags': [
|
| - '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)',
|
| - ],
|
| - 'libraries': [
|
| - '<!@(<(pkg-config) --libs-only-l libudev)',
|
| - ],
|
| - },
|
| - }],
|
| - ],
|
| - },
|
| ],
|
| }
|
|
|