OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
8 'variables': { | 8 'variables': { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
10 }, | 10 }, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 'type': 'settings', | 247 'type': 'settings', |
248 'conditions': [ | 248 'conditions': [ |
249 ['_toolset=="target"', { | 249 ['_toolset=="target"', { |
250 'link_settings': { | 250 'link_settings': { |
251 'libraries': [ | 251 'libraries': [ |
252 '-lselinux', | 252 '-lselinux', |
253 ], | 253 ], |
254 }, | 254 }, |
255 }]] | 255 }]] |
256 }, | 256 }, |
257 { | 257 # TODO(evanm): temporarily disabled while we figure out whether to depend |
258 'target_name': 'gnome-keyring', | 258 # on gnome-keyring etc. |
259 'type': 'settings', | 259 # http://code.google.com/p/chromium/issues/detail?id=12351 |
260 'direct_dependent_settings': { | 260 # { |
261 'cflags': [ | 261 # 'target_name': 'gnome-keyring', |
262 '<!@(<(pkg-config) --cflags gnome-keyring-1)', | 262 # 'type': 'settings', |
263 ], | 263 # 'direct_dependent_settings': { |
264 'conditions': [ | 264 # 'cflags': [ |
265 ['linux_link_gnome_keyring==0', { | 265 # '<!@(<(pkg-config) --cflags gnome-keyring-1)', |
266 'defines': ['DLOPEN_GNOME_KEYRING'], | 266 # ], |
267 }], | 267 # }, |
268 ], | 268 # 'link_settings': { |
269 }, | 269 # 'ldflags': [ |
270 'conditions': [ | 270 # '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)'
, |
271 ['linux_link_gnome_keyring!=0', { | 271 # ], |
272 'link_settings': { | 272 # 'libraries': [ |
273 'ldflags': [ | 273 # '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', |
274 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1
)', | 274 # ], |
275 ], | 275 # }, |
276 'libraries': [ | 276 # }, |
277 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', | 277 { |
278 ], | 278 'target_name': 'dbus-glib', |
279 }, | 279 'type': 'settings', |
280 }, { | 280 'direct_dependent_settings': { |
281 'link_settings': { | 281 'cflags': [ |
282 'libraries': [ | 282 '<!@(<(pkg-config) --cflags dbus-glib-1)', |
283 '-ldl', | 283 ], |
284 ], | 284 }, |
285 }, | 285 'link_settings': { |
286 }], | 286 'ldflags': [ |
287 ], | 287 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', |
288 }, | 288 ], |
289 { | 289 'libraries': [ |
290 'target_name': 'dbus-glib', | 290 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', |
291 'type': 'settings', | 291 ], |
292 'direct_dependent_settings': { | 292 }, |
293 'cflags': [ | 293 }, |
294 '<!@(<(pkg-config) --cflags dbus-glib-1)', | |
295 ], | |
296 }, | |
297 'link_settings': { | |
298 'ldflags': [ | |
299 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', | |
300 ], | |
301 'libraries': [ | |
302 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', | |
303 ], | |
304 }, | |
305 }, | |
306 ], | 294 ], |
307 } | 295 } |
308 | 296 |
309 # Local Variables: | 297 # Local Variables: |
310 # tab-width:2 | 298 # tab-width:2 |
311 # indent-tabs-mode:nil | 299 # indent-tabs-mode:nil |
312 # End: | 300 # End: |
313 # vim: set expandtab tabstop=2 shiftwidth=2: | 301 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |