summaryrefslogtreecommitdiffstats
path: root/third_party/libexif
diff options
context:
space:
mode:
authorsbc <sbc@chromium.org>2015-06-04 18:13:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-05 01:14:15 +0000
commitdea1c634b5328b1e171ba22698fb7027f338453f (patch)
tree7125d335e25f7465d03cd7f9f1bae2320f125f16 /third_party/libexif
parentee1c33052a4798e046ed134a0ec3fe61fdbf9d41 (diff)
downloadchromium_src-dea1c634b5328b1e171ba22698fb7027f338453f.zip
chromium_src-dea1c634b5328b1e171ba22698fb7027f338453f.tar.gz
chromium_src-dea1c634b5328b1e171ba22698fb7027f338453f.tar.bz2
Fix use of 'sysroot' variable in harfbuzz.gyp
The sysroot variable is set conditionally in common.gypi but not at the nesting level required for other conditional to depend on it like the one in hardbuzz does. This means that sysroot always appeared to be empty to harfbuzz.gyp, and hence the special handling for ARM linux was required. This change moves the setting of 'sysroot' up one level of nesting and defines 'pkg-config' in common.gypi so it can be shared. This is the third attempt at a landing. First attempt was reverted: https://codereview.chromium.org/1151753002 This is a re-land of the second attempt which was reverted speculatively (wrongly as it turned out): https://codereview.chromium.org/1158283003 TBR=cpu Review URL: https://codereview.chromium.org/1146303007 Cr-Commit-Position: refs/heads/master@{#332982}
Diffstat (limited to 'third_party/libexif')
-rw-r--r--third_party/libexif/libexif.gyp11
1 files changed, 0 insertions, 11 deletions
diff --git a/third_party/libexif/libexif.gyp b/third_party/libexif/libexif.gyp
index 2d8b242..2ef3c2b 100644
--- a/third_party/libexif/libexif.gyp
+++ b/third_party/libexif/libexif.gyp
@@ -114,17 +114,6 @@
},
],
}, { # 'use_system_libexif!=0
- 'conditions': [
- ['sysroot!=""', {
- 'variables': {
- 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"',
- },
- }, {
- 'variables': {
- 'pkg-config': 'pkg-config'
- },
- }],
- ],
'targets': [
{
'target_name': 'libexif',