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

Side by Side Diff: third_party/libexif/libexif.gyp

Issue 244593002: pkg-config-wrapper: use system_libdir for libpath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
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 ['OS == "linux" and chromeos==0', { 8 ['OS == "linux" and chromeos==0', {
9 'use_system_libexif%': 1, 9 'use_system_libexif%': 1,
10 }, { # OS != "linux" and chromeos==0 10 }, { # OS != "linux" and chromeos==0
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 4267, # size_t -> ExifLong truncation on amd64 95 4267, # size_t -> ExifLong truncation on amd64
96 ], 96 ],
97 }], 97 }],
98 ], 98 ],
99 }, 99 },
100 ], 100 ],
101 }, { # 'use_system_libexif!=0 101 }, { # 'use_system_libexif!=0
102 'conditions': [ 102 'conditions': [
103 ['sysroot!=""', { 103 ['sysroot!=""', {
104 'variables': { 104 'variables': {
105 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<( target_arch)"', 105 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<( target_arch)" "<(system_libdir)"',
106 }, 106 },
107 }, { 107 }, {
108 'variables': { 108 'variables': {
109 'pkg-config': 'pkg-config' 109 'pkg-config': 'pkg-config'
110 }, 110 },
111 }], 111 }],
112 ], 112 ],
113 'targets': [ 113 'targets': [
114 { 114 {
115 'target_name': 'libexif', 115 'target_name': 'libexif',
116 'type': 'none', 116 'type': 'none',
117 'direct_dependent_settings': { 117 'direct_dependent_settings': {
118 'cflags': [ 118 'cflags': [
119 '<!@(<(pkg-config) --cflags libexif)', 119 '<!@(<(pkg-config) --cflags libexif)',
120 ], 120 ],
121 'defines': [ 121 'defines': [
122 'USE_SYSTEM_LIBEXIF', 122 'USE_SYSTEM_LIBEXIF',
123 ], 123 ],
124 }, 124 },
125 } 125 }
126 ], 126 ],
127 }], 127 }],
128 ] 128 ]
129 } 129 }
OLDNEW
« build/linux/pkg-config-wrapper ('K') | « third_party/harfbuzz-ng/harfbuzz.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698