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

Side by Side Diff: build/linux/system.gyp

Issue 469763002: Revert of Run pkg-config for Udev only if use_udev==1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['sysroot!=""', { 8 ['sysroot!=""', {
9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"', 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"',
10 }, { 10 }, {
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 }], 1026 }],
1027 ] 1027 ]
1028 }], 1028 }],
1029 ], 1029 ],
1030 }, 1030 },
1031 { 1031 {
1032 'target_name': 'udev', 1032 'target_name': 'udev',
1033 'type': 'none', 1033 'type': 'none',
1034 'conditions': [ 1034 'conditions': [
1035 # libudev is not available on *BSD 1035 # libudev is not available on *BSD
1036 ['_toolset=="target" and os_bsd!=1 and use_udev==1', { 1036 ['_toolset=="target" and os_bsd!=1', {
1037 'direct_dependent_settings': { 1037 'direct_dependent_settings': {
1038 'cflags': [ 1038 'cflags': [
1039 '<!@(<(pkg-config) --cflags libudev)' 1039 '<!@(<(pkg-config) --cflags libudev)'
1040 ], 1040 ],
1041 }, 1041 },
1042 'link_settings': { 1042 'link_settings': {
1043 'ldflags': [ 1043 'ldflags': [
1044 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', 1044 '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)',
1045 ], 1045 ],
1046 'libraries': [ 1046 'libraries': [
1047 '<!@(<(pkg-config) --libs-only-l libudev)', 1047 '<!@(<(pkg-config) --libs-only-l libudev)',
1048 ], 1048 ],
1049 }, 1049 },
1050 }], 1050 }],
1051 ], 1051 ],
1052 }, 1052 },
1053 ], 1053 ],
1054 } 1054 }
OLDNEW
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698