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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 # Whether we should use glib, a low level C utility library. | 47 # Whether we should use glib, a low level C utility library. |
48 use_glib = is_linux | 48 use_glib = is_linux |
49 | 49 |
50 # Indicates if material design elements in the top chrome of the browser are | 50 # Indicates if material design elements in the top chrome of the browser are |
51 # enabled. | 51 # enabled. |
52 enable_topchrome_md = is_chromeos || is_win || is_linux || is_mac | 52 enable_topchrome_md = is_chromeos || is_win || is_linux || is_mac |
53 | 53 |
54 # Indicates if Wayland display server support is enabled. | 54 # Indicates if Wayland display server support is enabled. |
55 enable_wayland_server = is_chromeos | 55 enable_wayland_server = is_chromeos |
| 56 |
| 57 # Enable experimental vulkan backend. |
| 58 enable_vulkan = false |
56 } | 59 } |
57 | 60 |
58 # Additional dependent variables ----------------------------------------------- | 61 # Additional dependent variables ----------------------------------------------- |
59 # | 62 # |
60 # These variables depend on other variables and can't be set externally. | 63 # These variables depend on other variables and can't be set externally. |
61 | 64 |
62 # Use GPU accelerated cross process image transport by default on linux builds | 65 # Use GPU accelerated cross process image transport by default on linux builds |
63 # with the Aura window manager. | 66 # with the Aura window manager. |
64 ui_compositor_image_transport = use_aura && is_linux | 67 ui_compositor_image_transport = use_aura && is_linux |
65 | 68 |
(...skipping 12 matching lines...) Expand all Loading... |
78 use_pango = true | 81 use_pango = true |
79 } else { | 82 } else { |
80 use_cairo = false | 83 use_cairo = false |
81 use_pango = false | 84 use_pango = false |
82 } | 85 } |
83 | 86 |
84 # Whether to use atk, the Accessibility ToolKit library | 87 # Whether to use atk, the Accessibility ToolKit library |
85 use_atk = is_desktop_linux && use_x11 | 88 use_atk = is_desktop_linux && use_x11 |
86 | 89 |
87 use_clipboard_aurax11 = is_linux && use_aura && use_x11 | 90 use_clipboard_aurax11 = is_linux && use_aura && use_x11 |
OLD | NEW |