OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 ], | 63 ], |
64 }], | 64 }], |
65 ['use_glib==1', { | 65 ['use_glib==1', { |
66 'dependencies': [ | 66 'dependencies': [ |
67 '../build/linux/system.gyp:glib', | 67 '../build/linux/system.gyp:glib', |
68 ], | 68 ], |
69 'export_dependent_settings': [ | 69 'export_dependent_settings': [ |
70 '../build/linux/system.gyp:glib', | 70 '../build/linux/system.gyp:glib', |
71 ], | 71 ], |
72 }], | 72 }], |
73 ['use_x11==1', { | |
74 'dependencies': [ | |
75 '../build/linux/system.gyp:x11', | |
76 ], | |
77 'export_dependent_settings': [ | |
78 '../build/linux/system.gyp:x11', | |
79 ], | |
80 }], | |
81 ['use_aura==1 and use_x11==1', { | |
82 'dependencies': [ | |
83 '../build/linux/system.gyp:xrandr', | |
84 ], | |
85 'export_dependent_settings': [ | |
86 '../build/linux/system.gyp:xrandr', | |
87 ], | |
88 }], | |
89 ['OS == "android" and _toolset == "host"', { | 73 ['OS == "android" and _toolset == "host"', { |
90 # Always build base as a static_library for host toolset, even if | 74 # Always build base as a static_library for host toolset, even if |
91 # we're doing a component build. Specifically, we only care about the | 75 # we're doing a component build. Specifically, we only care about the |
92 # target toolset using components since that's what developers are | 76 # target toolset using components since that's what developers are |
93 # focusing on. In theory we should do this more generally for all | 77 # focusing on. In theory we should do this more generally for all |
94 # targets when building for host, but getting the gyp magic | 78 # targets when building for host, but getting the gyp magic |
95 # per-toolset for the "component" variable is hard, and we really only | 79 # per-toolset for the "component" variable is hard, and we really only |
96 # need base on host. | 80 # need base on host. |
97 'type': 'static_library', | 81 'type': 'static_library', |
98 # Base for host support is the minimum required to run the | 82 # Base for host support is the minimum required to run the |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 [ 'toolkit_uses_gtk==1', { | 699 [ 'toolkit_uses_gtk==1', { |
716 'sources': [ | 700 'sources': [ |
717 'nix/xdg_util_unittest.cc', | 701 'nix/xdg_util_unittest.cc', |
718 ], | 702 ], |
719 'dependencies': [ | 703 'dependencies': [ |
720 '../build/linux/system.gyp:gtk', | 704 '../build/linux/system.gyp:gtk', |
721 ] | 705 ] |
722 }], | 706 }], |
723 ], | 707 ], |
724 }], | 708 }], |
725 ['use_x11 == 1', { | |
726 'dependencies': [ | |
727 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
728 ], | |
729 }], | |
730 ['use_glib == 1', { | 709 ['use_glib == 1', { |
731 'dependencies': [ | 710 'dependencies': [ |
732 '../build/linux/system.gyp:glib', | 711 '../build/linux/system.gyp:glib', |
733 ], | 712 ], |
734 }, { # use_glib == 0 | 713 }, { # use_glib == 0 |
735 'sources!': [ | 714 'sources!': [ |
736 'message_loop/message_pump_glib_unittest.cc', | 715 'message_loop/message_pump_glib_unittest.cc', |
737 ] | 716 ] |
738 }], | 717 }], |
739 ['use_ozone == 1', { | 718 ['use_ozone == 1', { |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 'base_unittests.isolate', | 1442 'base_unittests.isolate', |
1464 ], | 1443 ], |
1465 'sources': [ | 1444 'sources': [ |
1466 'base_unittests.isolate', | 1445 'base_unittests.isolate', |
1467 ], | 1446 ], |
1468 }, | 1447 }, |
1469 ], | 1448 ], |
1470 }], | 1449 }], |
1471 ], | 1450 ], |
1472 } | 1451 } |
OLD | NEW |