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': [ |
11 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 11 [ 'os_posix==1 and OS!="mac"', { |
12 'conditions': [ | 12 'conditions': [ |
13 ['sysroot!=""', { | 13 ['sysroot!=""', { |
14 'variables': { | 14 'variables': { |
15 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 15 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
16 }, | 16 }, |
17 }, { | 17 }, { |
18 'variables': { | 18 'variables': { |
19 'pkg-config': 'pkg-config' | 19 'pkg-config': 'pkg-config' |
20 }, | 20 }, |
21 }],] | 21 }],] |
22 }], | 22 }], |
23 ], | 23 ], |
24 | 24 |
25 'target_defaults': { | 25 'target_defaults': { |
26 'sources/': [ | 26 'sources/': [ |
27 ['exclude', '/(cocoa|gtk|win)/'], | 27 ['exclude', '/(cocoa|gtk|win)/'], |
28 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], | 28 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
29 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 29 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
30 ], | 30 ], |
31 'conditions': [ | 31 'conditions': [ |
32 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ | 32 ['toolkit_uses_gtk==1', {'sources/': [ |
33 ['include', '/gtk/'], | 33 ['include', '/gtk/'], |
34 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 34 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
35 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 35 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
36 ]}], | 36 ]}], |
37 ['OS=="mac"', {'sources/': [ | 37 ['OS=="mac"', {'sources/': [ |
38 ['include', '/cocoa/'], | 38 ['include', '/cocoa/'], |
39 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 39 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
40 ]}, { # else: OS != "mac" | 40 ]}, { # else: OS != "mac" |
41 'sources/': [ | 41 'sources/': [ |
42 ['exclude', '\\.mm?$'], | 42 ['exclude', '\\.mm?$'], |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 'window/window_gtk.h', | 391 'window/window_gtk.h', |
392 'window/window_shape.cc', | 392 'window/window_shape.cc', |
393 'window/window_shape.h', | 393 'window/window_shape.h', |
394 'window/window_win.cc', | 394 'window/window_win.cc', |
395 'window/window_win.h', | 395 'window/window_win.h', |
396 ], | 396 ], |
397 'include_dirs': [ | 397 'include_dirs': [ |
398 '<(DEPTH)/third_party/wtl/include', | 398 '<(DEPTH)/third_party/wtl/include', |
399 ], | 399 ], |
400 'conditions': [ | 400 'conditions': [ |
401 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 401 ['toolkit_uses_gtk==1', { |
402 'dependencies': [ | 402 'dependencies': [ |
403 '../build/linux/system.gyp:gtk', | 403 '../build/linux/system.gyp:gtk', |
404 '../build/linux/system.gyp:x11', | 404 '../build/linux/system.gyp:x11', |
405 '../build/linux/system.gyp:xext', | 405 '../build/linux/system.gyp:xext', |
406 ], | 406 ], |
407 'sources!': [ | 407 'sources!': [ |
408 'accessibility/native_view_accessibility_win.cc', | 408 'accessibility/native_view_accessibility_win.cc', |
409 'controls/scrollbar/bitmap_scroll_bar.cc', | 409 'controls/scrollbar/bitmap_scroll_bar.cc', |
410 'controls/combo_box.cc', | 410 'controls/combo_box.cc', |
411 'controls/hwnd_view.cc', | 411 'controls/hwnd_view.cc', |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 'widget/native_widget_test_utils.h', | 512 'widget/native_widget_test_utils.h', |
513 'widget/native_widget_test_utils_gtk.cc', | 513 'widget/native_widget_test_utils_gtk.cc', |
514 'widget/native_widget_test_utils_win.cc', | 514 'widget/native_widget_test_utils_win.cc', |
515 'widget/native_widget_unittest.cc', | 515 'widget/native_widget_unittest.cc', |
516 'widget/widget_win_unittest.cc', | 516 'widget/widget_win_unittest.cc', |
517 'window/window_win_unittest.cc', | 517 'window/window_win_unittest.cc', |
518 | 518 |
519 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 519 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
520 ], | 520 ], |
521 'conditions': [ | 521 'conditions': [ |
522 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 522 ['toolkit_uses_gtk==1', { |
523 'dependencies': [ | 523 'dependencies': [ |
524 '../build/linux/system.gyp:gtk', | 524 '../build/linux/system.gyp:gtk', |
525 '../chrome/chrome.gyp:packed_resources', | 525 '../chrome/chrome.gyp:packed_resources', |
526 ], | 526 ], |
527 'conditions': [ | 527 'conditions': [ |
528 ['linux_use_tcmalloc==1', { | 528 ['linux_use_tcmalloc==1', { |
529 'dependencies': [ | 529 'dependencies': [ |
530 '../base/allocator/allocator.gyp:allocator', | 530 '../base/allocator/allocator.gyp:allocator', |
531 ], | 531 ], |
532 }], | 532 }], |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 'examples/throbber_example.cc', | 600 'examples/throbber_example.cc', |
601 'examples/throbber_example.h', | 601 'examples/throbber_example.h', |
602 'examples/widget_example.cc', | 602 'examples/widget_example.cc', |
603 'examples/widget_example.h', | 603 'examples/widget_example.h', |
604 'test/test_views_delegate.cc', | 604 'test/test_views_delegate.cc', |
605 'test/test_views_delegate.h', | 605 'test/test_views_delegate.h', |
606 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 606 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
607 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | 607 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
608 ], | 608 ], |
609 'conditions': [ | 609 'conditions': [ |
610 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 610 ['toolkit_uses_gtk==1', { |
611 'dependencies': [ | 611 'dependencies': [ |
612 '../build/linux/system.gyp:gtk', | 612 '../build/linux/system.gyp:gtk', |
613 '../chrome/chrome.gyp:packed_resources', | 613 '../chrome/chrome.gyp:packed_resources', |
614 ], | 614 ], |
615 'conditions': [ | 615 'conditions': [ |
616 ['linux_use_tcmalloc==1', { | 616 ['linux_use_tcmalloc==1', { |
617 'dependencies': [ | 617 'dependencies': [ |
618 '../base/allocator/allocator.gyp:allocator', | 618 '../base/allocator/allocator.gyp:allocator', |
619 ], | 619 ], |
620 }], | 620 }], |
(...skipping 14 matching lines...) Expand all Loading... |
635 ], | 635 ], |
636 }, | 636 }, |
637 ], | 637 ], |
638 } | 638 } |
639 | 639 |
640 # Local Variables: | 640 # Local Variables: |
641 # tab-width:2 | 641 # tab-width:2 |
642 # indent-tabs-mode:nil | 642 # indent-tabs-mode:nil |
643 # End: | 643 # End: |
644 # vim: set expandtab tabstop=2 shiftwidth=2: | 644 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |