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