| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 | 9 |
| 10 'conditions': [ | |
| 11 ['os_posix == 1 and OS != "mac"', { | |
| 12 'conditions': [ | |
| 13 ['sysroot!=""', { | |
| 14 'variables': { | |
| 15 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | |
| 16 }, | |
| 17 }, { | |
| 18 'variables': { | |
| 19 'pkg-config': 'pkg-config' | |
| 20 }, | |
| 21 }],] | |
| 22 }], | |
| 23 ], | |
| 24 | |
| 25 'target_defaults': { | 10 'target_defaults': { |
| 26 'sources/': [ | 11 'sources/': [ |
| 27 ['exclude', '/(cocoa|gtk|win)/'], | 12 ['exclude', '/(cocoa|gtk|win)/'], |
| 28 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], | 13 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
| 29 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 14 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
| 30 ], | 15 ], |
| 31 'conditions': [ | 16 'conditions': [ |
| 32 ['toolkit_uses_gtk == 1', {'sources/': [ | 17 ['toolkit_uses_gtk == 1', {'sources/': [ |
| 33 ['include', '/gtk/'], | 18 ['include', '/gtk/'], |
| 34 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 19 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 'widget/native_widget_win.cc', | 412 'widget/native_widget_win.cc', |
| 428 'window/native_frame_view.cc', | 413 'window/native_frame_view.cc', |
| 429 ], | 414 ], |
| 430 }], | 415 }], |
| 431 ['touchui==1', { | 416 ['touchui==1', { |
| 432 'defines': ['TOUCH_UI=1'], | 417 'defines': ['TOUCH_UI=1'], |
| 433 'sources/': [ | 418 'sources/': [ |
| 434 ['exclude', 'focus/accelerator_handler_gtk.cc'], | 419 ['exclude', 'focus/accelerator_handler_gtk.cc'], |
| 435 ['exclude', 'controls/menu/native_menu_gtk.cc'], | 420 ['exclude', 'controls/menu/native_menu_gtk.cc'], |
| 436 ], | 421 ], |
| 437 'conditions': [ | |
| 438 ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"!=
""', { | |
| 439 # Exclude TouchFactory if XInput2 is not available. | |
| 440 'sources/': [ | |
| 441 ['exclude', 'touchui/touch_factory.cc'], | |
| 442 ['exclude', 'touchui/touch_factory.h'], | |
| 443 ], | |
| 444 }], | |
| 445 ], | |
| 446 }], | 422 }], |
| 447 ['use_ibus==1', { | 423 ['use_ibus==1', { |
| 448 'dependencies': [ | 424 'dependencies': [ |
| 449 '../build/linux/system.gyp:ibus', | 425 '../build/linux/system.gyp:ibus', |
| 450 ], | 426 ], |
| 451 }, { # else: use_ibus != 1 | 427 }, { # else: use_ibus != 1 |
| 452 'sources/': [ | 428 'sources/': [ |
| 453 ['exclude', 'ime/input_method_ibus.cc'], | 429 ['exclude', 'ime/input_method_ibus.cc'], |
| 454 ['exclude', 'ime/input_method_ibus.h'], | 430 ['exclude', 'ime/input_method_ibus.h'], |
| 455 ], | 431 ], |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 | 666 |
| 691 | 667 |
| 692 ], | 668 ], |
| 693 } | 669 } |
| 694 | 670 |
| 695 # Local Variables: | 671 # Local Variables: |
| 696 # tab-width:2 | 672 # tab-width:2 |
| 697 # indent-tabs-mode:nil | 673 # indent-tabs-mode:nil |
| 698 # End: | 674 # End: |
| 699 # vim: set expandtab tabstop=2 shiftwidth=2: | 675 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |