Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 }, | 258 }, |
| 259 'link_settings': { | 259 'link_settings': { |
| 260 'ldflags': [ | 260 'ldflags': [ |
| 261 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)', | 261 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)', |
| 262 ], | 262 ], |
| 263 'libraries': [ | 263 'libraries': [ |
| 264 '<!@(<(pkg-config) --libs-only-l x11)', | 264 '<!@(<(pkg-config) --libs-only-l x11)', |
| 265 ], | 265 ], |
| 266 }, | 266 }, |
| 267 }], | 267 }], |
| 268 # When XInput2 is available (i.e. inputproto version is 2.0), the | 268 ['touchui==1', { |
| 269 # pkg-config command will succeed, so the output will be empty. | |
| 270 ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"==""', { | |
| 271 'direct_dependent_settings': { | |
| 272 'defines': [ | |
| 273 'HAVE_XINPUT2', | |
|
Yusuke Sato
2011/06/06 01:08:38
http://src.chromium.org/viewvc/chrome?view=rev&rev
| |
| 274 ], | |
| 275 }, | |
| 276 'link_settings': { | 269 'link_settings': { |
| 277 'ldflags': [ | 270 'ldflags': [ |
| 278 '<!@(<(pkg-config) --libs-only-L --libs-only-other xi)', | 271 '<!@(<(pkg-config) --libs-only-L --libs-only-other xi)', |
| 279 ], | 272 ], |
| 280 'libraries': [ | 273 'libraries': [ |
| 281 '<!@(<(pkg-config) --libs-only-l xi)', | 274 '<!@(<(pkg-config) --libs-only-l xi)', |
| 282 ], | 275 ], |
| 283 } | 276 } |
| 284 }], | 277 }], |
| 285 ], | 278 ], |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 424 ], | 417 ], |
| 425 }, | 418 }, |
| 426 ], | 419 ], |
| 427 } | 420 } |
| 428 | 421 |
| 429 # Local Variables: | 422 # Local Variables: |
| 430 # tab-width:2 | 423 # tab-width:2 |
| 431 # indent-tabs-mode:nil | 424 # indent-tabs-mode:nil |
| 432 # End: | 425 # End: |
| 433 # vim: set expandtab tabstop=2 shiftwidth=2: | 426 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |