OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This file contains UI-related build flags (see features.gni for Chrome | 5 # This file contains UI-related build flags (see features.gni for Chrome |
6 # feature-related ones). These should theoretically be moved to the ui | 6 # feature-related ones). These should theoretically be moved to the ui |
7 # directory. | 7 # directory. |
8 # | 8 # |
9 # However, today we have many "bad" dependencies on some of these flags from, | 9 # However, today we have many "bad" dependencies on some of these flags from, |
10 # e.g. base, so they need to be global to match the GYP configuration. Also, | 10 # e.g. base, so they need to be global to match the GYP configuration. Also, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 use_default_render_theme = use_aura && !is_android | 62 use_default_render_theme = use_aura && !is_android |
63 | 63 |
64 # Indicates if the UI toolkit depends on X11. | 64 # Indicates if the UI toolkit depends on X11. |
65 use_x11 = is_linux && !use_ozone | 65 use_x11 = is_linux && !use_ozone |
66 | 66 |
67 # Turn off glib if Ozone is enabled. | 67 # Turn off glib if Ozone is enabled. |
68 if (use_ozone) { | 68 if (use_ozone) { |
69 use_glib = false | 69 use_glib = false |
70 } | 70 } |
71 | 71 |
72 # Turn off Wayland if glib is enabled. | |
73 if (use_glib) { | |
jochen (gone - plz use gerrit)
2015/12/01 13:45:22
where's the corresponding gypi change?
reveman
2015/12/01 16:53:02
Gyp build didn't force enable_wayland_server to 0
| |
74 enable_wayland_server = false | |
75 } | |
76 | |
77 if (is_linux && !use_ozone) { | 72 if (is_linux && !use_ozone) { |
78 use_cairo = true | 73 use_cairo = true |
79 use_pango = true | 74 use_pango = true |
80 } else { | 75 } else { |
81 use_cairo = false | 76 use_cairo = false |
82 use_pango = false | 77 use_pango = false |
83 } | 78 } |
84 | 79 |
85 # Whether to use atk, the Accessibility ToolKit library | 80 # Whether to use atk, the Accessibility ToolKit library |
86 use_atk = is_desktop_linux && use_x11 | 81 use_atk = is_desktop_linux && use_x11 |
87 | 82 |
88 use_clipboard_aurax11 = is_linux && use_aura && use_x11 | 83 use_clipboard_aurax11 = is_linux && use_aura && use_x11 |
89 | 84 |
90 enable_hidpi = is_mac || is_win || is_linux | 85 enable_hidpi = is_mac || is_win || is_linux |
91 | 86 |
92 enable_topchrome_md = is_chromeos || is_win || is_linux | 87 enable_topchrome_md = is_chromeos || is_win || is_linux |
OLD | NEW |