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 'conditions': [ | 11 'conditions': [ |
27 ['OS=="win"', {'sources/': [ | 12 ['OS=="win"', {'sources/': [ |
28 ['include', '_(win)\\.cc$'], | 13 ['include', '_(win)\\.cc$'], |
29 ['include', '/win/'], | 14 ['include', '/win/'], |
30 ['include', '/win_[^/]*\\.cc$'], | 15 ['include', '/win_[^/]*\\.cc$'], |
31 ['exclude', 'touchui/touch_factory.cc'], | 16 ['exclude', 'touchui/touch_factory.cc'], |
32 ]}], | 17 ]}], |
33 ['touchui==0', {'sources/': [ | 18 ['touchui==0', {'sources/': [ |
34 ['exclude', 'native_menu_x.cc$'], | 19 ['exclude', 'native_menu_x.cc$'], |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 'widget/native_widget_win.cc', | 397 'widget/native_widget_win.cc', |
413 ], | 398 ], |
414 }], | 399 }], |
415 ['touchui==1', { | 400 ['touchui==1', { |
416 'defines': ['TOUCH_UI=1'], | 401 'defines': ['TOUCH_UI=1'], |
417 'sources/': [ | 402 'sources/': [ |
418 ['exclude', 'focus/accelerator_handler_gtk.cc'], | 403 ['exclude', 'focus/accelerator_handler_gtk.cc'], |
419 ['exclude', 'controls/menu/native_menu_gtk.cc'], | 404 ['exclude', 'controls/menu/native_menu_gtk.cc'], |
420 ['exclude', 'widget/tooltip_manager_gtk.cc'], | 405 ['exclude', 'widget/tooltip_manager_gtk.cc'], |
421 ], | 406 ], |
422 'conditions': [ | |
423 ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"!=
""', { | |
424 # Exclude TouchFactory if XInput2 is not available. | |
425 'sources/': [ | |
426 ['exclude', 'touchui/touch_factory.cc'], | |
427 ['exclude', 'touchui/touch_factory.h'], | |
428 ], | |
429 }], | |
430 ], | |
431 }], | 407 }], |
432 ['use_ibus==1', { | 408 ['use_ibus==1', { |
433 'dependencies': [ | 409 'dependencies': [ |
434 '../build/linux/system.gyp:ibus', | 410 '../build/linux/system.gyp:ibus', |
435 ], | 411 ], |
436 'sources/': [ | 412 'sources/': [ |
437 ['exclude', 'ime/mock_input_method.cc'], | 413 ['exclude', 'ime/mock_input_method.cc'], |
438 ['exclude', 'ime/mock_input_method.h'], | 414 ['exclude', 'ime/mock_input_method.h'], |
439 ], | 415 ], |
440 }, { # else: use_ibus != 1 | 416 }, { # else: use_ibus != 1 |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 'include_dirs': [ | 711 'include_dirs': [ |
736 '<(DEPTH)/third_party/wtl/include', | 712 '<(DEPTH)/third_party/wtl/include', |
737 ], | 713 ], |
738 }], | 714 }], |
739 ], | 715 ], |
740 }, | 716 }, |
741 | 717 |
742 | 718 |
743 ], | 719 ], |
744 } | 720 } |
OLD | NEW |