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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 | 9 |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 415 'widget/child_window_message_processor.cc', | 415 'widget/child_window_message_processor.cc', |
| 416 'widget/child_window_message_processor.h', | 416 'widget/child_window_message_processor.h', |
| 417 'widget/aero_tooltip_manager.cc', | 417 'widget/aero_tooltip_manager.cc', |
| 418 'widget/root_view_drop_target.cc', | 418 'widget/root_view_drop_target.cc', |
| 419 'widget/widget_win.cc', | 419 'widget/widget_win.cc', |
| 420 'window/hit_test.cc', | 420 'window/hit_test.cc', |
| 421 'window/native_frame_view.cc', | 421 'window/native_frame_view.cc', |
| 422 ], | 422 ], |
| 423 }], | 423 }], |
| 424 ['touchui==1', { | 424 ['touchui==1', { |
| 425 'dependencies': [ | |
| 426 '../build/linux/system.gyp:ibus', | |
| 427 ], | |
| 428 'defines': ['TOUCH_UI=1'], | 425 'defines': ['TOUCH_UI=1'], |
| 429 'sources/': [ | 426 'sources/': [ |
| 430 ['exclude', 'focus/accelerator_handler_gtk.cc'], | 427 ['exclude', 'focus/accelerator_handler_gtk.cc'], |
| 431 ['exclude', 'controls/menu/native_menu_gtk.cc'], | 428 ['exclude', 'controls/menu/native_menu_gtk.cc'], |
| 432 ], | 429 ], |
| 433 'conditions': [ | 430 'conditions': [ |
| 434 ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"!= ""', { | 431 ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"!= ""', { |
| 435 # Exclude TouchFactory if XInput2 is not available. | 432 # Exclude TouchFactory if XInput2 is not available. |
| 436 'sources/': [ | 433 'sources/': [ |
| 437 ['exclude', 'touchui/touch_factory.cc'], | 434 ['exclude', 'touchui/touch_factory.cc'], |
| 438 ['exclude', 'touchui/touch_factory.h'], | 435 ['exclude', 'touchui/touch_factory.h'], |
| 439 ], | 436 ], |
| 440 }], | 437 }], |
| 441 # TODO(suzhe): We should not check ibus version here. Instead, we | 438 ['use_ibus==1', { |
| 442 # should use a variable to control whether or not to use ibus. | 439 'defines' : ['HAVE_IBUS=1'], |
|
Paweł Hajdan Jr.
2011/04/27 19:06:05
I think it's generally more maintainable to have '
Peng
2011/04/27 19:41:16
Done.
| |
| 443 ['"<!@(<(pkg-config) --atleast-version=1.3.99 ibus-1.0 || echo $?)"= =""', { | 440 'dependencies': [ |
| 444 'defines': ['HAVE_IBUS=1'], | 441 '../build/linux/system.gyp:ibus', |
| 442 ], | |
| 445 'sources/': [ | 443 'sources/': [ |
| 446 ['exclude', 'ime/input_method_gtk.cc'], | 444 ['exclude', 'ime/input_method_gtk.cc'], |
| 447 ['exclude', 'ime/input_method_gtk.h'], | 445 ['exclude', 'ime/input_method_gtk.h'], |
| 448 ], | 446 ], |
| 449 }, { # else: no ibus | 447 }, { # else: use_ibus != 1 |
| 450 'sources/': [ | 448 'sources/': [ |
| 451 ['exclude', 'ime/input_method_ibus.cc'], | 449 ['exclude', 'ime/input_method_ibus.cc'], |
| 452 ['exclude', 'ime/input_method_ibus.h'], | 450 ['exclude', 'ime/input_method_ibus.h'], |
| 453 ], | 451 ], |
| 454 }], | 452 }], |
| 455 ], | 453 ], |
| 456 }, { # else: touchui != 1 | 454 }, { # else: touchui != 1 |
| 457 'sources!': [ | 455 'sources!': [ |
| 458 'ime/input_method_ibus.cc', | 456 'ime/input_method_ibus.cc', |
| 459 'ime/input_method_ibus.h', | 457 'ime/input_method_ibus.h', |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 627 ], | 625 ], |
| 628 }, | 626 }, |
| 629 ], | 627 ], |
| 630 } | 628 } |
| 631 | 629 |
| 632 # Local Variables: | 630 # Local Variables: |
| 633 # tab-width:2 | 631 # tab-width:2 |
| 634 # indent-tabs-mode:nil | 632 # indent-tabs-mode:nil |
| 635 # End: | 633 # End: |
| 636 # vim: set expandtab tabstop=2 shiftwidth=2: | 634 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |